Tag Archives: SEO

htaccess cheat sheet

1. Rewrite All URLs on one domain to new domain Put the following code in the .htaccess file of your old domain Options +FollowSymLinks RewriteEngine on RewriteRule (.*) http://www.newdomain.com/$1 [R=301,L] 2. Rewrite non-www urls with www Options +FollowSymLinks RewriteEngine on … Continue reading

Posted in SEO, URL Rewriting | Tagged , | Leave a comment