Seo Forum

Search Engines => Google Search Optimization => Topic started by: jpf566 on 12-13-2013, 12:37:34

Title: How to rewrite/redirect a folder name with .htaccess
Post by: jpf566 on 12-13-2013, 12:37:34
I have a folder in my site that I want to rename. I don’t want to just rewrite the URL and keep my old folder name, I want to change the folder name and then do whatever is necessary with .hataccess to not lose search engine rankings. The folder name I want to change has a space in it and also is misspelled (whoops x2)

Example.

Mysite.com/old foldr/page.html

Mysite.com/newfolder/page.html

How would I go about doing this with .htaccess?  Do I just switch the folder name on my server and then set up a redirect, or do I do a rewrite?  Sorry now familiar with the terms or .htacces.

Thanks all