Mobile app version of vmapp.org
Login or Join
Radia820

: Does a plain vanilla site benefit from a "canonical" directive? So I thought I knew what "canonical" was for. As I understood it (and to be fair, most of the examples on the web) it avoids

@Radia820

Posted in: #CanonicalUrl #Seo

So I thought I knew what "canonical" was for.

As I understood it (and to be fair, most of the examples on the web) it avoids search engines seeing foo.htm and foo.htm?parameter=1 as duplicate content, by specifying that only one of them is the canonical version.

Therefore it seemed to me to be an issue exclusive to more complex sites (sites with server side processing).

But take a "vanilla" brochure site of say just five pages (Home, AboutUs, ContactUs, OurProducts, Testimonials). That's just five htm files, no server side processing, nothing at all that's going to risk looking like duplicate content.

But a colleague has said we need a rel='canonical' on at least the home page to avoid
www.example.com http://example.com www.example.com/home.htm

looking like duplicate content.

Is he right?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Radia820

2 Comments

Sorted by latest first Latest Oldest Best

 

@Turnbaugh106

The fact you only have 5 pages which are static shouldn't really need canonical links used on the pages as w3d has said is correct you can prevent duplicate pages by using 301's. While this is true it doesn't ensure 100% that no duplicates will end up in the search engines but with this said its EXTREMELY! unlikely to happen.

Basically if you have say a page /foo.html and you start gaining lots of backlinks to /foo.html?parameter=21 unless you setup a rewrite conditional to remove ?blahblah from the urls and then that could work too - then these unwanted pages could end up in the index... Highly unlikely mind... Sadly Google is dumb at times and pages that don't even exist can end up in the index from peoples activities off the page.

Personally either method is valid. The fact your not using a CMS which tends to be more prone to making duplicates I'd go with whatever one you feel is better and suited to you.

But with that said for small sites I just use 301's like w3d has mentioned but if your that concerned you could use both 301's to enforce users to the right pages and then canonical just in case, also since you only have 5 pages this would be extremely easy to setup.

10% popularity Vote Up Vote Down


 

@Ogunnowo487

Yes and No. The rel="canonical" will avoid the duplicate content issue. However, this particular situation is best resolved with a 301 redirect.



foo.htm and foo.htm?parameter=1 are both legitimate URLs that are used on the site, but foo.htm is probably the preferred (canonical) URL.

Whereas only 1 of example.com and example.com should be accessible - so redirect from one to the other

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme