Tag for

Code Redirects

Published under Uncategorized on

HTML Single File Redirect
Redirect 301 /olddirectory/oldfile.html http://yoursite.com/newdirectory/newfile.html

Directory Redirect in Apache
RewriteEngine On
RewriteRule ^olddir/(.*)$ http://domain.com/newdir/$1 [R=301,L]
OR
Redirect 301 /olddirectory http://yoursite.com/newdirectory/
Continue Reading »

One response so far