• Hello! Slight issue here…

    Not sure why, but all the blog “posts” index fine, but the main blog showing all of the posts (https://hartfordrents.com/blog/) doesn’t show in the xml sitemap.

    Is there a setting somewhere that I need to adjust that I am overlooking?

    Any help/guidance would be greatly appreciated!

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter mredzovic

    (@mredzovic)

    I’d also like to add that there is another issue I am having with this XML sitemap generator.

    I have pages that I have added custom canonical links to.
    The generator does not use these links in the sitemap.
    Is there a way to force it to use the custom canonical link rather than the default one?

    Thanks in advance!

    Plugin Author xmlsitemapgenerator

    (@xmlsitemapgenerator)

    Not sure why, but all the blog “posts” index fine, but the main blog showing all of the posts (https://hartfordrents.com/blog/) doesn’t show in the xml sitemap.

    This could be a bug, if so we will address it in the next major release.

    I have pages that I have added custom canonical links to.
    The generator does not use these links in the sitemap.
    Is there a way to force it to use the custom canonical link rather than the default one?

    Please could you clarify how you are creating the links so I can look in to this for you?? We tap in to the standard wordpress links/ urls so if you have made modifications outside of this it may not work.

    Thread Starter mredzovic

    (@mredzovic)

    Thank you for the reply!!

    For the Canonical links, here is an example:
    This page:
    https://hartfordrents.com/rent/pc-laptop-rental/
    …has a canonical link reflecting the same link as pasted above. (Press Ctrl+U in Chrome and search/find “canonical”. You will see it matches.

    Now if you look at the xml site map here:
    https://hartfordrents.com/sitemap.xml
    search/find “pc-laptop-rental” and it will show up with “/rent-computing-gear/laptop-rental/” in the link.

    That link in the sitemap is the original/default link.
    The way I was able to get the canonical link to be shorter and match the actual slug/url is by editing the page, scrolling down to the Yoast SEO section, clicking advanced, and manually adding a canonical URL.

    Hope this helps and very much looking forward to the fixes/patches!

    Plugin Author xmlsitemapgenerator

    (@xmlsitemapgenerator)

    Thanks. I don’t know how yoast works in this case, but I imagine the problem is that yoast is injecting HTML into the page and WordPress isn’t aware of this so we cannot pick it up. It might be possible to intercept it elsewhere, but it will need some investigation to work out what is going on and if it is possible.

    I have a new release so the blog fix should go in to that shortly.

    Plugin Author xmlsitemapgenerator

    (@xmlsitemapgenerator)

    Follow up question ….

    Is your blog set to use static pages for the homepage and blog page and are these set?
    this seems to work.

    is your /blog url a page?

    Thread Starter mredzovic

    (@mredzovic)

    Where would I go to find out if the blog is set to use static pages for the homepage/blog page?

    Plugin Author xmlsitemapgenerator

    (@xmlsitemapgenerator)

    Sorry, I should have said …. under settings > reading

    I’ve looked in to the canonical support. this might be something we can support in the future, but it would require quite a lot of work to implement because as far as I can tell it sits outside the core wordpress hooks.

    Thread Starter mredzovic

    (@mredzovic)

    It would be fantastic to have the plugin pull in the canonical links! ??

    As for the Settings > Reading… this is what I see:
    “Your homepage displays: A static page (select below)”
    “Home page: Home”
    “Posts page: -Select-”
    “Blog pages show at most: 10 posts”
    “Syndication feeds show the most recent: 10 items”
    “For each post in a feed, include: Full test”

    Thread Starter mredzovic

    (@mredzovic)

    Question:
    An SEO team that I’m working with wants to know if there is a time-frame of when you think that the XML sitemap generator would have the ability to pull in those canonical links? They want to figure out if they should start producing a manual XML sitemap for the site.

    LMK! Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Blog not being indexed’ is closed to new replies.