I needed to move a site from the sub-directory /wordpress/to the new one /blog/. No worries:

  1. Change the settings of the URL in two places in the General settings,
  2. Save,
  3. Go change the name of the directory using FTP (from wordpress to blog),
  4. Do a search and replace for /wordpress/ to /blog/.

Great, done. However, there were a handful of old posts that might have caught a bit of traffic and I wanted to set up a redirect so that /wordpress/article-about-whatever/ went to /blog/article-about-whatever/. I knew enough to know I needed to use the .htaccess file. I was hoping that the Redirection plugin could do it (and it probably could, but I couldn’t figure it out). So I came across this article (How to Move WordPress With htaccess and 301 Redirect) and I just altered the code a bit to get this:

[code]RewriteEngine On
RewriteBase /wordpress/
RewriteRule ^(.*)$ http://the-m-line.com/blog/$1 [L,R=301][/code]

However, I couldn’t figure out where to put that. Finally, I read it closely again and I needed to re-create that /wordpress/ directory and put the .htaccess file there. Aha! Now it’s working beautifully. See this post:

http://the-m-line.com/wordpress/business/is-print-dead-not-in-new-jersey/

Thanks Zaib Kaleem.