Tag Htaccess

SEO Strategy Round Up

Apr24

Markup Heirarchy – Advantages in SEO
Soh Tanaka explains how to keep your unique, content rich content at the top of your markup, and display it to your users however you want.

16 Useful .htaccess Tricks and Hacks for Web Develoeprs
SEO friendly redirects and SEO friendly URL’s aren’t the only thing .htaccess is good for!

Live Domain Drops and Daily Domain Catching
GoDrops.com has daily domain name giveaways, as well as a constantly updated dropped domain list on the right side of their site! Be sure to follow GoDrops on Twitter to keep up with thier special freebies!

That’s all for now, stay tuned for the next SEO Strategy Round Up!

Subscribe to Internet Marketing Strategy

TIP: Force "www" in URL with .htaccess

Dec5

This neat little trick will force all browsers that are trying to access your website from domain.com into a standardized gateway of www.domain.com for increased search engine consistency, as well as a consistent aesthetic appearance to regular users.

Add the following snippet of code to the .htaccess of your public html directory where you would like to use this.

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} !^([^\.]+)\.your-website\.com
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

Updated .htaccess to allow subdomains at the suggestion of Jim, The Blogaholic. If you don’t want this functionality, just remove the third line!

Voila, 301 forwarded to the same homepage every time!

(BTW, this also prevents having such a varying pagerank between domain.com and www.domain.com some of the time.)

Subscribe to Internet Marketing Strategy

Internet Marketing Strategy is powered by WordPress and FREEmium Theme.
developed by Dariusz Siedlecki and brought to you by FreebiesDock.com