• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Canonical tags hurting SEO

Scheduled Pinned Locked Moved General Discussion
53 Posts 9 Posters 2.2k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by
    #1

    I've posted about this before and I'm always told it's not a problem. If it's not a problem, why does Google and now Bing constantly send me emails like this one.

    //
    Canonical tags can be used to help de-dupe URLs for pages with the same or very similar content. Bing has detected that your site is using what appears to be the same canonical URL for a large number of pages that are not the same. This may be indicative of a problem with your HTML template, content publishing system, or site code. You should review the source of your pages and check if the URLs used inside the <link rel="canonical" href="<url>" /> are not accidentally pointing to the same location for all (or too many) pages.
    \

    //
    Not indexed as this page is an alternate version of a canonical page
    URL cannot appear on Bing
    Discovered on 21 Jun 2023
    Last crawl attempted 21 Jun 2023 at 00:43
    Crawl allowed? Yes
    Page Fetch Successful
    Indexing allowed? Yes
    Canonical URL:xxx
    This page is an alternate version of the similar page which you have specified as canonical version using a <link rel="canonical"> tag. Bing does not index the alternate version.
    \

    No matter what I do, both search engines keep complaining about this and I've no idea how to fix it. We badly need our forums to be properly indexed and we're not seeing that after using nodebb for probably over two years now.

    Any thoughts?

    1 Reply Last reply
    2
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #2

    I think there is an issue with multiple page topics and their canonical url.

    Google suggests:

    Don't use the first page of a paginated sequence as the canonical page. Instead, give each page in its own canonical URL.

    Which we don't do right now AFAIK, each page of a topic has the same canonical url which is set to the first page of the topic.

    Some related discussion here https://github.com/NodeBB/NodeBB/issues/1668

    1 Reply Last reply
    2
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by
    #3

    There are options to change the way the front page looks and I've picked one where all the new posts are shown but that still doesn't seem to help.

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #4

    Created an issue https://github.com/NodeBB/NodeBB/issues/11770.

    1 Reply Last reply
    1
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #5

    Please try with https://github.com/NodeBB/NodeBB/commit/4045681aa70653890db07fcd039fbab6dbc03af5 and let me know if it makes a difference, I fixed the issue where each different page used the same canonical url.

    1 Reply Last reply
    5
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by
    #6

    It gets very complicated when you start changing the code. I prefer to not modify the code because then I have to keep track of those changes on updates. We've spent a lot of time trying to get our members to use our forums so they would get indexed. It would be nice to take advantage of that considering how long it takes for forums to get used.

    barisB 1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    replied to NodeHam on last edited by
    #7

    @NodeHam will release it as part of 3.2.1

    phenomlabP 1 Reply Last reply
    2
  • phenomlabP Offline
    phenomlabP Offline
    phenomlab
    replied to <baris> on last edited by
    #8

    @baris @NodeHam I too have this same issue in Google and Bing search consoles, and the new code is a welcome enhancement, and a step in the right direction in getting sites indexed.

    1 Reply Last reply
    1
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by NodeHam
    #9
    This post is deleted!
    1 Reply Last reply
    0
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by NodeHam
    #10

    Thanks so much for the quick update!

    For some reason, some files / folders end up being owned by root again. I'm not sure what's causing that because I always use the nodebb user to update etc.

    Anyway, it's done now. I asked Bing to re-check one of those links and now it shows as indexed. Wonderful. However, it complains about this now.

    676f9d20-cb71-43ac-a7c0-cf202bdb4055-image.png

    I'll try Google next.

    1 Reply Last reply
    1
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by NodeHam
    #11

    This is the outcome of Bing's re-scan of the forums.

    image.png

    Many of these things are not under our control that I know of. Suggestions?

    1 Reply Last reply
    0
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by
    #12

    Am I the only one testing this quickly put out update?

    1 Reply Last reply
    0
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by
    #13

    Some of the fixes are as simple as going to settings, posts and changing the values.
    Some, not so obvious such as follow;

    Bing suggestions;

    1 Change the description in the <meta description> tag in the page source to be between 25 and 160 characters in length.

    2 Ensure that the page source does not contain large amounts of CSS or code at the top of the page. Consider moving code and styles into separate files.

    3 The pages uses a meta robots tag. Review the value of the tag to see if you are not unintentionally blocking the page from being indexed (NOINDEX).

    Bing seems to like the site better now but Google is still not loving it. I have to work on that next.

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #14

    1 Change the description in the <meta description> tag in the page source to be between 25 and 160 characters in length.

    I did this in core btw https://github.com/NodeBB/NodeBB/commit/9044e10e64fdef7f7314eb6b3b1a094a6ffe5857

    1 Reply Last reply
    0
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by
    #15

    I appreciate that but I really don't want to go down the path of changing the code. I've done that in the past with other forums software and it turns into a mess after a while.

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by baris
    #16

    @NodeHam you don't have to change it, just wait for the next release.

    1 Reply Last reply
    1
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by
    #17

    Oh, I see it now, it's an update. Nice!
    I just updated to 3.2.1 this morning but happy to do it again.

    1 Reply Last reply
    1
  • N Offline
    N Offline
    NodeHam
    wrote on last edited by
    #18

    Darn, just got an email from bing saying that same as before, complaining about canonical links.
    Does anyone care if I share any of this info or is it not useful since you're already working on something for a fix?

    barisB 1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #19

    I don't see the canonical link issue in bing for this forum.

    image.png

    Do you see it on the SEO report page?

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    replied to NodeHam on last edited by
    #20

    @NodeHam I identified another issue and fixed it in https://github.com/NodeBB/NodeBB/issues/11788, will be available in 3.2.2

    1 Reply Last reply
    1

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development