What are best practices for changing the directory of a Wordpress blog?
November 29, 2008 1:06 PM
Subscribe
I want to move my Wordpress blog from a subdirectory on my domain to the root directory -- i.e., I want the URL of my posts to be changed from http://www.domain.com/blog/post-permalink to http://www.domain.com/permalink . What's the best way to ensure that external links don't die? Is there a way to make sure that individual posts will retain their Google PageRank?
I know that some variation on a RewriteRule in the site's .htaccess file is what I'm looking for, but I'm unclear on the specifics. What are best practices for this sort of transition?
posted by tweebiscuit to computers & internet (9 comments total)
2 users marked this as a favorite
redirect permanent /blog /
...but I haven't tested this. Try it out.
posted by sonic meat machine at 1:11 PM on November 29, 2008