• I am perplexed by the sitemap that my site is showing. Whether I use a plugin (Yoast, All in One SEO), or the WordPress-generated map the results are the same. Has there been an instance of a theme interfering with a sitemap?

    When I look in the wp-content/uploads folder, I see a much more comprehensive sitemap that was generated years ago. Is there a way to get that map to show, or something more comprehensive and current?

    Thanks.

    • This topic was modified 3 years, 2 months ago by Jan Dembowski.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Your robots.txt file is disallowing the index of the site – see here:
    https://pmi-global.net/robots.txt

    See here to help:
    https://www.wpbeginner.com/wp-tutorials/how-to-optimize-your-wordpress-robots-txt-for-seo/

    You need to remove this line from your file:
    Disallow: /

    Thread Starter amyleforge

    (@amyleforge)

    Oh wow, I don’t know how I missed that.

    The problem is, though, that the sitemap issue predates even having a robots.txt file on the site. The whole thing started when I registered with Google Search Console, and in the process of fighting my way through things with them I realized there wasn’t even a robots.txt file on the server. (Which surprised me a lot).

    Anyhow, I just made the robots file with the All in One SEO plugin 2 days ago. I took out the rule and saved it and the sitemap is still the same. Only one link. And it’s the same with the AIO sitemap and the WP sitemap.

    Any other ideas? Thanks for the help so far!

    Amy

    Thread Starter amyleforge

    (@amyleforge)

    So, I still don’t have a solution to this problem. Anyone have any ideas?

    Thanks.

    Amy

    You’ll need to give it time – you don’t really have any indexes:
    https://postimg.cc/gwcC8dx3

    What do you mean you weere fighting with Google?
    Did you submit your url through the console?
    (fyi this is isn’t really a WordPress issue)

    Thread Starter amyleforge

    (@amyleforge)

    I don’t know what “you don’t really have any indexes” means. There are over 150 products on the site and plenty of pages as well. I have an old sitemap with hundreds of links in it that I found in the file manager when I looked at it from the host. It doesn’t make sense that only one link shows up in the sitemap.

    I meant fighting with Google because they keep coming up with search console issues. For a while, they had a page showing from a completely different site and said it had mobile usability issues. I cannot fix a site that isn’t even mine. I have been trying to correct the errors, and working on making sure there is no malware, etc. in the files.

    I asked on this forum because I wonder if the theme makes a difference with the sitemap. Given that there are so many links on the site, why then does Google not see them? My other sites (that are not even registered with Console) have really big sitemaps. So why not this one? The biggest difference that I know of is the theme, so that’s why I asked if anyone else might know about this.

    Thanks

    Amy

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sitemap only shows one link’ is closed to new replies.