Beat your competition!

Your business will beat your competitors with a We Seo marketing campaign.

Call now on toll free 1300 78 50 60 or fill out our consultation form.

What is a Canonical URL?

Your website can bee seen as a slightly different number of different URL's.

http://weseo.com.au
http://www.weseo.com.au


Having multiple locations of where a search engine can find your homepage, can lead to a penalty. Having a canonicalisation URL means that you have only one location where your web page is possibly found. By setting up your website properly you can redirect visitors and search engines, who view other versions of your web page. This is achieved in the .htaccess file located in your website root directory.

.htaccess example to avoid canonicalisation

< IfModule mod_rewrite.c>
RewriteEngine on


# index.php to /
RewriteCond %{THE_REQUEST} ^GET\ /.*/index\.(php|html)\ HTTP
RewriteRule (.*)index\.(php|html)$ /$1 [R=301,L]

# force www.
rewritecond %{HTTP_HOST} ^weseo.com.au/ [nc]
rewriterule ^(.*)$ http://www.weseo.com.au//$1 [r=301,nc]



You could use the above example in for your own website just changing the reference of weseo.com.au to your own website url.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
Add image
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Links to specified hosts will have a rel="nofollow" added to them.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.