Hi I have created another folder in my website for something to clone a folder I currently have but no longer want to use. I am looking to redirect anyone tryping in the directory for my old folder to my new one using a .htaccess file or any other method you may suggest.
The paths I want to re direct are as follows www.dor2dor.com/postpeople to www.dor2dor.com/leaflet-distribution-jobs
If anyone can let me know the code I need to do this it would be much appreciated.
This will redirect postpeople/something to leaflet-distribution-jobs/something
Options +FollowSymLinks RewriteEngine on RewriteRule ^postpeople(.*) /leaflet-distribution-jobs$1 [NC,R=301,L]
If you want to redirect postpeople/anything to leaflet-distribution-jobs, then
Options +FollowSymLinks RewriteEngine on RewriteRule ^postpeople(.*) /leaflet-distribution-jobs [NC,R=301,L]
Many thankas for your reply however this doesnt seem to be working. I have placed these lines of code into my current .htaccess file which is in the root of my domain and into the folder /postpeopl and neither seem to work and redirect as needed.
Am i doing something wrong?