Results 1 to 2 of 2
Sep 6, 2010, 06:13 #1
How To 301 Redirect Wordpress Posts To New Link Structure Using .htaccess?
I have a wordpress blog setup the following way using permalinks feature:
and I've now decided to add the following structure:
So how do I 301 redirect all the old links to new structure using htaccess?
I've tried many methods while doing a research on Google but still haven't found the solution. So anyone here to help me with the problem?
Sep 11, 2010, 13:34 #2
YouŽll need to write a separate line for every page you want to redicrect using the following:Code:
redirect 301 /blog-post.html http://www.mydomain.com/read/blog-post.html redirect 301 /blog-post-2.html http://www.mydomain.com/read/blog-post-2.htmll