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...

How to rewrite/redirect a folder name with .htaccess
GBot Reviewed by GBot on . How to rewrite/redirect a folder name with .htaccess 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 Rating: 5