Traffic Tap http://www.traffictap.com Get More Targeted Customers To Your WebSite Thu, 15 Jul 2010 14:31:23 +0000 en hourly 1 http://wordpress.org/?v=3.0 test shortcode http://www.traffictap.com/webtraffic/test-shortcode/ http://www.traffictap.com/webtraffic/test-shortcode/#comments Thu, 15 Jul 2010 12:57:16 +0000 SteveOvens http://www.traffictap.com/?p=205 test shortcode is a post from: Traffic Tap

No related posts. Related posts brought to you by Yet Another Related Posts Plugin.]]>

[show-listings region="north"]

[show-listings region="south"]

test shortcode is a post from: Traffic Tap

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

]]>
http://www.traffictap.com/webtraffic/test-shortcode/feed/ 0
How to fix www non-www canonicalization with .htacess redirect http://www.traffictap.com/how-to/how-to-fix-www-non-www-canonicalization-with-htacess-redirect/ http://www.traffictap.com/how-to/how-to-fix-www-non-www-canonicalization-with-htacess-redirect/#comments Sun, 24 Jan 2010 14:00:23 +0000 SteveOvens http://www.traffictap.com/?p=142 How to fix www non-www canonicalization with .htacess redirect is a post from: Traffic Tap

No related posts. Related posts brought to you by Yet Another Related Posts Plugin.]]>

A problem I see on many web sites is that they don’t have a proper re-direct in place for the non-www version of their web site.

In other words, you can access the site as either:

http://www.thesite.com or

http://thesite.com

You might think this is no big deal, however it could be hurting your search engine ranking, as Google may be indexing your site under both variations – so I highly recommend that you check it and get it fixed ASAP.

How do you check for this issue?

Simple – type the full address of your site in the browser URL area, e.g.

http://www.yoursite.com

Then – type the address without the “www.”, e.g.

http://yoursite.com

Check the browser URL – did it stay “http://yoursite.com” (bad) or did it change to “http://www.yoursite.com” (good!)

If it changed, then you already have the redirect in place – nothing for you to worry about.

If not, then you need to fix your site to redirect from the non-www version to the www version. (You can actually redirect the other way if you prefer, however my recommendation at present is to favor www – that still seems to be what most folks expect).

My instructions here are for Apache and involve editing the .htaccess file which is typically found at the top-level directory of your web site.

The sample code snippet I use in the video is:

# Important - replace <your-domain> with your actual domain e.g. myDomain.com
# Do NOT include the "www" in your domain - the code below takes care of it

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
Options +FollowSymlinks

### Fix non-www to www (canonicalization) redirect ###
RewriteCond %{HTTP_HOST} ^<your-domain> [NC]
RewriteRule ^(.*) http://www.<your-domain>/$1 [R=301,L]
### End fix for non-www to www canonicalization redirect ###
</IfModule>

Here’s a brief video demonstrating the canonicalization issue on a sample website and showing step-by-step how you can apply the fix

How to fix www non-www canonicalization with .htacess redirect is a post from: Traffic Tap

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

]]>
http://www.traffictap.com/how-to/how-to-fix-www-non-www-canonicalization-with-htacess-redirect/feed/ 12