Page 1 of 1

[SOLVED]Canonical issues with my website

Posted: Sat Sep 18, 2010 3:43 pm
by luminous
I am new to web development, and learning on the go.

I'm trying to sort out my canonical links so that my site is really seen as "http:/www.abytecomputers.co.uk"

I have added code into my templates to achieve this:
{*canonical stuff*}
{if isset($canonical)}{elseif isset($content_obj)}GetURL()}" />{/if}
Only the code does not appear to be working.  Would someone mind just looking at my site to see if the code is actually doing what it is meant to be?  Is it meant to actually redirect you from http://abytecomputers.co.uk to http://www.abytecomputers.co.uk, or is the code that I am using just information to search engines so that they do not mistakenly crawl both address thinking that they are different?

Sorry, if this seems basic, but we were all new at one point.  Getting my head around web development is one thing, applying it to a CMS arena sometimes makes me scratch my head a little at the moment.

Re: Canonical issues with my website

Posted: Sat Sep 18, 2010 3:54 pm
by Nullig
Have you set process_whole_template = false (in config.php)?

Nullig

Re: Canonical issues with my website

Posted: Sat Sep 18, 2010 4:00 pm
by calguy1000
You are correct, the canonical stuff is for the search engines to eliminate or reduce duplicated content problems.  It has nothing to do with redirection. For the redirection stuff you will have to modify your .htaccess file.

Please keep in mind when posting here that CMSMS is not designed for beginners.  CMSMS is a package made by professionals for professionals.  Though we do not explicitly block noobs from using the package, we require that when they post they post well researched well explained questions.  We will not tutor you in how to create your website, so please do your research first and ensure that the issue you are having is SPECIFICALLY related to CMSMS before posting.

Thank you.

Re: Canonical issues with my website

Posted: Sat Sep 18, 2010 4:05 pm
by luminous
Thanks both...

..I do try, its not that often that I am taking up people's time now.  Don't worry, I will give back as much as I have taken in time.  I'm nothing if a little persistent :)