Jump to:

22977 Posts in 11737 Topics by 2826 members

General Questions

SilverStripe Forums » General Questions » Duplicate page content flaw in SS3

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 440 Views
  • lozhowlett
    Avatar
    Community Member
    140 Posts

    Duplicate page content flaw in SS3 Link to this post

    Hi everyone

    I dont know why silverstripe is doign this

    http://www.safari.co.uk/kenya/ - Works, perfect

    http://www.safari.co.uk/kenya/index.html - Works, not so perfect! As this page doesnt exist and should be coming up with a 404 really instead of the kenya page? This is allowing google to see the page a duplicate content.

    I presume this will be a huge SEO flaw in SS3!

    Cheers

  • lozhowlett
    Avatar
    Community Member
    140 Posts

    Re: Duplicate page content flaw in SS3 Link to this post

    bump... as this think this is critical for all SS sites!

  • feejin
    Avatar
    Community Member
    22 Posts

    Re: Duplicate page content flaw in SS3 Link to this post

    It's not SilverStripes fault, it assumes index.html is an action of /kenya so has no reason to do anything about it.

    Unless you're linking to index.html, Google should never even bother to look for it so it wouldn't be a problem.

    There are a few options if you want to get rid of it. You could get block *.html in robots.txt, use a rewrite in .htaccess to redirect any instances of *.html, add custom code to the controller to return a 404 if the last URL segment contains .html or use the canonical meta tag to avoid any duplicate content issues.

    440 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.