Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Feb 2014
    Location
    England
    Posts
    14
    Plugin Contributions
    0

    Default Re: Canonical Tags + No Index

    Quote Originally Posted by DrByte View Post
    So what exactly is the concern?
    Is that you don't like the view=column thing being added to the end? That's added by the column/grid mod you've got installed.

    Or is it that you think the manufacturers page is problematic somehow? If so, how did you come to that conclusion?
    Yeah, sorry, the view=column is an addon, but it isn't a SEO mod as such. It's the Column Layout Grid for Product Listing add on.

    I have used lat9's way of getting the no index tags into all the manufacturer pages now, but now i'm stuck with getting the section pages with view=columns /rows a no index tag.

    Also Im struggling on how to get a no index on pages that end in ?language=en also?

  2. #12
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Canonical Tags + No Index

    You don't need a noindex tag! Doing that for every possible combination will have you chasing your tail.

    The much better approach is to simply let the <link canonical> tag show the master (ie: canonical) page to be indexed.

    Edit /includes/init_includes/init_canonical.php and find this line:
    Code:
    $excludeParams[] = 'language';
    Then add this below it:
    Code:
    $excludeParams[] = 'view';
    That will tell it to exclude the view parameter, in addition to all the other ones it's already excluding, like language.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #13
    Join Date
    Feb 2014
    Location
    England
    Posts
    14
    Plugin Contributions
    0

    Default Re: Canonical Tags + No Index

    Quote Originally Posted by DrByte View Post
    You don't need a noindex tag! Doing that for every possible combination will have you chasing your tail.

    The much better approach is to simply let the <link canonical> tag show the master (ie: canonical) page to be indexed.

    Edit /includes/init_includes/init_canonical.php and find this line:
    Code:
    $excludeParams[] = 'language';
    Then add this below it:
    Code:
    $excludeParams[] = 'view';
    That will tell it to exclude the view parameter, in addition to all the other ones it's already excluding, like language.
    Tried putting this in,

    still getting the same problem, it doesn't seem to exclude the view bit out of the url

    Code:
    <link rel="canonical" href="http://www.s e xdollsuk.co.uk/realistic-######-dolls-c-7_1.html?view=columns" />

  4. #14
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Canonical Tags + No Index

    Could be your SEO-URL-Rewriter then.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #15
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: Canonical Tags + No Index

    Quote Originally Posted by Dan1234
    Tried putting this in, still getting the same problem...
    Is the file "/includes/init_includes/overrides/init_canonical.php" present?
    If so make sure the changes are also applied to "/includes/init_includes/overrides/init_canonical.php".
    Last edited by lhungil; 23 Apr 2014 at 07:08 PM. Reason: Fixed quote & formatting
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  6. #16
    Join Date
    Feb 2014
    Location
    England
    Posts
    14
    Plugin Contributions
    0

    Default Re: Canonical Tags + No Index

    Quote Originally Posted by DrByte View Post
    Could be your SEO-URL-Rewriter then.
    Ok mate fair enough,

    I have took the site offline and submitted a request to google to de-index the full website, I'm going to remove the column/grid add on so that it doesn't create extra pages.

    Is there any way of stopping the language?en type pages being generated at all? ( I know the canonical tag works for these but I would rather them just not be there)

    And also the Alpha sort, how could I stop those being generated, with my website being so small, I really don't think it's needed.

    Much appreciated if you can help
    Last edited by Dan1234; 24 Apr 2014 at 09:50 AM.

  7. #17
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Canonical Tags + No Index

    Quote Originally Posted by Dan1234 View Post
    Is there any way of stopping the language?en type pages being generated at all? ( I know the canonical tag works for these but I would rather them just not be there)
    If your site has only english, then turn off the language-selector sidebox; that way no language will ever be selected.
    But really, Zen Cart normally doesn't add language=en to every page. Instead, it accepts it once and then redraws the page without it after remembering the selection. So again I blame your plugins for the abnormal behaviour.
    Quote Originally Posted by Dan1234 View Post
    And also the Alpha sort, how could I stop those being generated, with my website being so small, I really don't think it's needed.
    You could turn off the alpha-sort feature altogether in your admin settings, and then wouldn't have to deal with its parameters hitting your URLs.

    Remember, if humans aren't using those features, then it's bots that are using them and creating those undesired links in your Google Webmaster Tools (or at least, I assume it's Webmaster Tools that are making you pursue all of this stuff that humans aren't using on your site).
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Index page meta tags problems
    By Loveme in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 30 Jan 2011, 02:55 AM
  2. Index filters & meta tags
    By flashy275 in forum General Questions
    Replies: 0
    Last Post: 5 Jan 2011, 01:14 AM
  3. meta tags index page
    By zackf in forum General Questions
    Replies: 1
    Last Post: 11 Jul 2007, 09:36 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR