Marco Angeli Posted September 27, 2018 Share Posted September 27, 2018 oh thanks adrian! 1 Link to comment Share on other sites More sharing options...
Lance O. Posted July 26, 2019 Share Posted July 26, 2019 I'm using the Markup Sitemap XML module to automatically generate a sitemap.xml file, and a custom template to add markup for images and exclude specific page templates. I discovered that when I view the sitemap.xml in Chrome, it looks as how it was intended based on my custom template. But in Safari, the custom template is ignored and the sitemap.xml file that is generated is the equivalent of not using the custom template at all. In fact, when I delete the custom template from the server, both Safari and Chrome display the same sitemap.xml content. My sitemap.xml file validates, so I'm confident that there isn't anything in my code that is causing the issue. Unfortunately, my submitted sitemap through Google Search Console is picking up the incorrect Safari version and generating errors for pages that aren't publicly viewable on the site. Here is the url to the sitemap file:https://processinteractive.com/sitemap.xml Has anyone else experienced this issue? I'm not sure if there is a fix unless it is in the module itself. Link to comment Share on other sites More sharing options...
dragan Posted July 26, 2019 Share Posted July 26, 2019 What do you mean with "custom template to add markup for images..."? The output is just XML. Why would one browser display another XML? That makes no sense. Do you mean "if logged in as superuser I see another XML as when not logged in"? Also, maybe you should have posted in the module support threads instead: https://processwire.com/talk/topic/799-module-xml-sitemap/ https://processwire.com/talk/topic/3846-how-do-i-create-a-sitemapxml/ Link to comment Share on other sites More sharing options...
teppo Posted July 26, 2019 Share Posted July 26, 2019 @Lance O., are you using Markup Sitemap XML, which is the earlier module from Pete, or Markup Sitemap, which is a newer one developed by Mike Rockett? As Dragan said above, you should always post module-specific questions to the existing support thread for that module. Let us know which module you're talking about, and I can merge this thread to the correct module-specific support thread. Thanks! Link to comment Share on other sites More sharing options...
Lance O. Posted July 26, 2019 Share Posted July 26, 2019 @gragan Ah, you are correct, the custom template for the sitemap.xml file is only displayed when I'm logged into PW. Good catch! Sitemaps can support images to help them appear in Google Image search results:https://support.google.com/webmasters/answer/178636?hl=enhttps://www.xml-sitemaps.com/images-sitemap.html Yes, maybe I should have searched for the module support thread instead of clicking on the broken link directly from the module itself:http://processwire.com/talk/index.php/topic,867.0.html Link to comment Share on other sites More sharing options...
Lance O. Posted July 26, 2019 Share Posted July 26, 2019 @teppo I was using Pete's Markup Sitemap XML, but apparently it has some bugs. I've installed Mike's Markup Sitemap module and it seems to have resolved the issues I was experiencing. I wish it had support for the image license, but otherwise feels like a nice update. Edit: Looks like it does support image license. Edit 2: But unfortunately it doesn't look like the image license is working correctly. I've reported the issue in that module's support thread: 1 Link to comment Share on other sites More sharing options...
Tiffany Posted August 19, 2019 Share Posted August 19, 2019 I tried to install the module on my localhost and it worked great! Then I transferred the website to my real domain, but the links in the sitemap still direct to my localhost. can someone please help me. Link to comment Share on other sites More sharing options...
Mike Rockett Posted August 20, 2019 Share Posted August 20, 2019 @Tiffany - I think this is a caching issue. If I recall correctly, you can go into the module config for PageRender and clear it from there. Link to comment Share on other sites More sharing options...
hdesigns Posted November 16, 2022 Share Posted November 16, 2022 Hey y'all I'm using this module on a website with a blog. The blog has an overview page with pagination (using the "Allow page numbers?" flag on the template). How can I make the XML sitemap module create entries for every numbered page on the blog overview? Thanks in advance for your help! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now