Home » Archive

Articles tagged with: links

Code Samples, SEO, Tutorials »

[21 Aug 2008 | No Comment | 9,778 views]

Inbound Links
A .htaccess file can be an SEO’s vital friend. When visitors hit your site with either www.yourdomain.com or yourdomain.com, it splits your inbound links into two separate pages. This can have effects on your Google Page Rank. By correctly creating and implementing a .htaccess file at your server root, you can improve your website ranking.
To change the url in the browser before the page loads you can use two different methods.
Here, the url will always contain the www. before the domain name:
RewriteCond %{HTTP_HOST} .
RewriteCond %{HTTP_HOST} !^www\.derekentringer\.com [NC]
RewriteRule (.*) http://www.derekentringer.com/$1 …