[SOLVED]Canonical issues with my website

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

[SOLVED]Canonical issues with my website

Post 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.
Last edited by luminous on Sat Sep 18, 2010 4:07 pm, edited 1 time in total.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm

Re: Canonical issues with my website

Post by Nullig »

Have you set process_whole_template = false (in config.php)?

Nullig
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Canonical issues with my website

Post 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.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
luminous
Forum Members
Forum Members
Posts: 168
Joined: Fri May 14, 2010 6:49 pm

Re: Canonical issues with my website

Post 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 :)
Post Reply

Return to “CMSMS Core”