Tag Archives: SEO

mod_rewrite to move one domain to another

There may come a day when you need to move one domain’s content to another. This can easily be done with a little mod rewrite trickery in apache. Note the ^/ on the RewriteRule line, I have that because my server automatically adds the trailing slash, and if I don’t put this it will add [...]

Mod_Rewrite Canonicalization Avoids Duplicate Content

Apache’s mod_rewrite has been the bane of many. I think it is mostly the use of regular expressions that is the bane of many instead, but you get the idea. I want you to take a look at the following URLS: domain.com domain.com/ www.domain.com/ www.domain.com domain.com/index.html www.domain.com/index.html Do they all look the same to you? [...]

Avoid Duplicate Content In Staging Sites

Avoid Duplicate Content In Redesigns The big G has a strong negative stance on dupliate content.  If you keep your sites in production all on a staging site (example.com/sites/site-1) and then when the site is finished you move it to site-1.com.  The problem with this is that G can spider example.com, and find the new [...]