WordPress Permalinks, first key to make your site SEO friendly. But wordpress by default uses the permalinks structures such as
1 | /%year%/%monthnum%/%day%/%postname%/ |
and this is not really a good idea cause it will return your topics url which will look like this below
1 | http://www.abc.com/2008/07/31/your-post-slug/ |
And say for the instance you’ve already has a handful of topics that has been posted for a while and google has indexed it. So now you want to change your WordPress Permalinks to a much more friendly url settings such as
1 | http://www.abc.com/your-post-slug/ |
Yes you can easily upgrade your structure from WordPress Admin options but all the links indexed by google wont be able to land on the proper topics.
There is a way to tell the search engines (and browsers) that the page has permenantly moved, and that the old address should be replaced by the new one . It’s called 301 Permanent Redirect which actually helps the search engines to update their index quickly as possible.
In case if you are interested I’ve got an 1 line solution for your .htaccess file. add this line on top of the WordPress specific codes in the .htaccess file. Here is the line, don’t forget to change the domain name/path.
RedirectMatch permanent ^/[0-9]{4}/[0-9]{2}/[0-9]{2}/([a-z0-9-/]+) http://www.ruhanirabin.com/$1
It must be in one line. Save you .htaccess and you are on the go. Googles old index will still be able to find your content with your new permalink structure.



Pingback: Quel est la meilleure option des permaliens dans un blogue WordPress? | Diane Bourque
Pingback: How to Change Wordpress Permalinks without affecting Google, Wordpress Permalinks Change Fix using .htaccess
Pingback: Use pretty URLs