Results 1 to 6 of 6

Thread: SEO Disaster

  1. #1
    User
    Join Date
    06-19-09.
    Posts
    417

    Default SEO Disaster

    Contao somehow seems to be generating duplicate urls, for example:

    http://www.doublespark.co.uk/ppc

    and

    http://www.doublespark.co.uk/207

    These are both being indexed in Google, not good!

    Any ideas why the ID url is being generated and how to stop it?

  2. #2
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: SEO Disaster

    Any ideas, anyone?

  3. #3
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: SEO Disaster

    I wish I did... "/207" is not in your sitemap file, and I couldn't find it anywhere in your code.

    Could that have been a real page URL at one point (maybe a previous version or at some point when you first launched -- maybe aliases were turned off or not working properly at first)?

    What I did notice is that if you are on "/207", the "Skip Navigation" links will say "/207#something", so it looks like a real link.

    But the mystery is how/why Google would go there in the first place.
    Brian

  4. #4
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: SEO Disaster

    Hi Brian,

    Firstly, Happy Easter!!

    Thanks for taking a look.

    I think Contao is at fault somewhere, in that it is generating pages like /207

    If Contao did not generate them Google could/would not index them.

    I also do not understand why they do not 404.

    Cheers,

    Gary.

  5. #5
    Experienced user
    Join Date
    08-21-09.
    Posts
    563

    Default Re: SEO Disaster

    "207" is the page ID. It usually works in place of the alias (I went to a few of our sites and entered numbers like 11,22,etc. and they do go to the corresponding page).

    That's why I was asking about aliases. That was the only thing I could think of.

    Have you been able to find any place in the source code of your site where those URLs appear?
    Brian

  6. #6
    User
    Join Date
    06-19-09.
    Posts
    417

    Default Re: SEO Disaster

    Hi Brian,

    Nope, I can't find reference to those URLs anywhere.

    As a temporary solution I have added this to my .htaccess:

    RewriteRule ^[0-9] http://www.doublespark.co.uk [R=301,L]

    So that any number URLs get redirected to the home page, very clunky, but hopefully only temporary.

    Thanks,

    Gary.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •