kala-tamin Changing Permalinks


Changing Permalinks



I want to change my permalinks from /%year%/%monthnum%/%day%/%postname%/ to /%postname%/

but when I added the following to the .htaccess file, posts didn't redirect the way I thought they would:

RedirectMatch 301 /dddd/dd/dd/(.*) /$1

What do I need to put into my .htaccess file to make it work?

My site is http://SweatingTheBigStuff.com


WordPress Custom Post Types - Pretty Permalinks

1:

I want to learn wordpress from scratch. How can I learn? [closed]
I think everyone is missing the point here - I think @Daniel has changed his permalinks, and now wants to redirect old permalinks.. How do I stop Wordpress from writing single quotes in the HEAD tag? The problem is your RedirectMatch regex is only matching a literal 'd', not digits.. how to use plus sign instead dashes in wordpress Personally I would use this instead;. Wordpress loop show limit posts
RedirectMatch 301 ^/[0-9]{4}/[0-9]{2}/[0-9]{2}/(.+)$ /$1 
However, @markratledge is right in saying this there are issues with using just the postname.. Twenty Ten, dropdown menu appearing with fade effect
Word press geo location posts?how to search in wordpress from the database mysql

2:

You don't go into any code to change permalinks; that's changing WP core files, you'll break things and you'll loose your changes on an upgrade. It's enough easier than that: go to Wordpress/Dashboard/Setings/Permalinks. If your .htaccess isn't writable, you'll receive a warning.. And, using only the postname in permalinks is not recommended for performance reasons: Using only Postname in Permalinks « WordPress Codex.

3:

A relevant answer to TheDeadMedic,. You could use a plugin called Redirection to redirected your old permalinks to new permalinks.. But if you need to change your permalinks from the old version to a new version, then follow markratledge's advice.


71 out of 100 based on 81 user ratings 431 reviews