Questions tagged [sitemap]
A sitemap is an easy way for webmasters to inform search engines about pages on their sites that are available for crawling. The sitemap protocol format is defined at http://www.sitemaps.org/protocol.html
2,057
questions
0
votes
0
answers
5
views
How Can I Upload Manual Sitemaps To Wordpress Multisite Subdirectories?
I have a Wordpress Multisite and for each geo we have a subdirectory site. E.g, site.com/us site.com/uk
The issue I am facing is uploading manually created sitemaps. In case of normal WP sites, I can ...
0
votes
0
answers
18
views
error on line 3 at column 7: XML declaration allowed only at the start of the document (Sitemap) [closed]
I having an issue on sitemap of my website.
*"This page contains the following errors:
error on line 3 at column 7: XML declaration allowed only at the start of the document
Below is a rendering ...
0
votes
0
answers
29
views
Why does Google Search couldn't fetch a sitemap?
I want to give a better overview about the content of my website to Google cause I noticed that not all URL are crawled by Google automatically. For that I decided to generate a custom sitemap.
I've ...
0
votes
0
answers
13
views
Google Search Console is giving me a "syntax not understood" error in the sitemap portion of my robtot.txt file
I am trying to find a solution to the "syntax not understood" Error in google search console regarding my robot.txt file. The below sitemap is firing the error.
The current sitemap reads as ...
1
vote
1
answer
28
views
Next js Sitemap static export
I need help building a Sitemap for my NextJs project.
I build a headless cms using graphql and next, however, everything is statically generated.
I'm having a lot of issues creating a sitemap. I tried ...
1
vote
1
answer
24
views
Django Sitemap Generates https:// in loc TWICE in Development
The example.com/sitemap.xml is returning loc with double https:// making the generated sitemap to be incorrect/unacceptable.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" ...
-1
votes
0
answers
42
views
react-router how to set path sitemap.xml?
I create sitemap.xml file in public folder.
But when I enter domain.com/sitemap.xml, It's going to 404 page.
So I deleted the route path *, but the xml is not opened.
app.js code
xml path
local ...
0
votes
1
answer
31
views
Creating sitemaps in js
I want to create a sitemap in xml. Currently, in the js file, I downloaded information about the last modifications, website addresses from the api and I want to display it in the xml file.
My js file ...
0
votes
0
answers
34
views
How make a Rank Math sitemap to listing Dokan stores urls?
Is there any way to add Dokan stores urls to Rank Math sitemap? (for example make a stores-sitemap.xml included Dokan stores urls)
Thanks a lot
Regard
We can add custom urls to Rank Math sitemap by ...
0
votes
0
answers
28
views
Django sitemap category page location not working
I made sitemap to my site but i have some problems.
First problem is end of the sitemap.xml page, lots of codes in it, but how can i remove these lines.
Here is my sitemap https://www.endustri.io/...
0
votes
0
answers
25
views
Google search console not discovering urls
we have 3 eshops for different countrier which every one is on different URL and the products are automatically pairing stock and translating.
We have aroung 6000 products now and the google search ...
0
votes
1
answer
203
views
how to fix 'noindex' detected in 'X-Robots-Tag' http header error in wordpress NGINX server?
I created a sitemap using rankmath plugin when i added that sitemap url to the search console it shows couldn't fetct error then i used URL Inspection tool to check my sitemap It show url is not on ...
0
votes
0
answers
68
views
Nginx vhost sitemap.xml downloads index.php opencart
My webhost is running Nginx.
I have a website with opencart and trying to get sitemap.xml to work with url rewriting.
Somehow when i access the example.com/sitemap.xml it sends the index.php as ...
0
votes
0
answers
36
views
broken header on load sitemap.xml for google search
sitemap.xml not work in my host:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
&...
0
votes
0
answers
356
views
Is there a way to access data from a Nuxt 3 server api route inside of another server route?
I'm working on a Nuxt 3 application where I need to generate a sitemap dynamically from a CMS using the method described for Nuxt Content. I'm using the built in /server/api/ directory to get this ...
0
votes
1
answer
40
views
How to make a React web discoverable
I have a react web page which is structured very simply:
Welcome page
Search trails page:
Under the search trails page, there are many trails that can be found by filters, when clicking on one of the ...
0
votes
1
answer
37
views
How to fix Uncaught TypeError: htmlspecialchars() expects parameter 1 to be string?
I am unsure how to fix the following error in my Magento2 sitemap module: Uncaught TypeError: htmlspecialchars() expects parameter 1 to be string, null given in /var/www/html/app/code/SEO/XmlSitemap/...
1
vote
2
answers
98
views
Iterating through all sitemap XML nodes to get website URLs
If I have a sitemap xml file that contains URLs or other sitemaps, what is the best c# code to get all website URLs?
Also do I need to check file schemas for iteration?
Sitemap Like:
<sitemapindex ...
0
votes
1
answer
55
views
Page URL duplicated twice in the website sitemap
When WordPress website Home Page displays the latest posts, the Rank Math SEO Plugin Sitemap contains the Home Page URL (https://website.com/) twice. In "page_sitemap.xml" and "...
0
votes
1
answer
39
views
How to create a custom sitemap of multiple subdomains?
how can I achieve a certain well structured layout in the Google search results as presented below? I am working with multiple Wordpress instances on several sub domains (not a multisite). Google does ...
0
votes
0
answers
15
views
product tag option is no indexed but still it appears
I am facing an issue regarding the product tags. I am using the Rankmath SEO plugin where the product tags option is disable but when I enter site:sjcomputers.us google shows me other links like ...
0
votes
0
answers
28
views
Sitemap not being read correctly
I'm having a drop in performance on a website and I'm wondering if it could have something to do with the sitemap not being read correctly. On my other sites when I click on the sitemap_index.xml in ...
-1
votes
1
answer
54
views
When I parse a large XML sitemap on Beautifulsoup in Python, it only parses part of the file
I have written code that pulls out URLs of a very large sitemap xml file (10mb) using Beautiful Soup, and it works exactly how I want it, but it only seems to do a small amount of the overall file. ...
0
votes
0
answers
24
views
Index WordPress custom post types Dynamic Pages created by dynamic Routing
with custom routing my website generate pages for very country like us/cars Canada/cars Mexico/cars etc...
I created a page and Added the template to the page and whenever the page is called.The page ...
0
votes
1
answer
47
views
I am getting an error on creating dynamic sitemap.xml using laravel, what am I missing?
Hi am trying to create a dynamic sitemap.xml. I am getting this error;
Trying to get property 'slug' of non-object (View: /Users/guy/Desktop/projects/rentNew/resources/views/sitemap.blade.php)
Here is ...
0
votes
0
answers
14
views
Sitemap Read is empty
I am using XML Generator plugin for generating Sitemap for my site , But the fact is sitemap is not working well , Sitemap read is empty due to which None of my post is indexing , am attaching ssenter ...
1
vote
0
answers
100
views
cannot find module 'babel-register' while creating react-router-sitemap
I'm trying to create a sitemap.xml for my react app using npm react-router-sitemap but I keep hitting errors in trying to follow the instructions. I created a router.jsx file as instructed:
import ...
0
votes
1
answer
53
views
Symfony /sitemap.xml route inaccessible
In a symfony 5 app, i have a route @Route("/sitemap.xml", name="sitemap", defaults={"_format"="xml"})
When i try to access this route, symfony look for the ...
1
vote
1
answer
127
views
ERR_UNSUPPORTED_ESM_URL_SCHEME - next-sitemap
I'm using next-sitemap.
node version:
v14.11.0
next-sitemap.config.js
module.exports = {
siteUrl: 'https://*****.com',
generateRobotsTxt: true,
robotsTxtOptions: {
...
0
votes
1
answer
26
views
How do I bypass robots.txt AND sitemap.xml in my Varnish configuration?
Google is having a hard time rendering my robots.txt file due to Varnish. When I try to visit the robots.txt file, I get a 503 Service Unavailable page.
I have addressed bypassing my sitemap in the ...
0
votes
1
answer
146
views
Error after submitted sitemap on Google Search console status show couldn't fetch (HTTP error 403)
Consider:
I got a sitemap error on the Google Search console, while previously after submitting it was not an error of the sitemap couldn't fetch. I removed the sitemap and submitted again, but the ...
-1
votes
5
answers
92
views
How to get an specific value (with regex) of this array?
Use case :
This is a Cypress E2E test coded with JS and I'm trying to apply a regex filter to this array (more than 100 values) to be able to ignore everything before /flux/sitemaps/ and catches only ...
1
vote
0
answers
63
views
When will Sitemap be available for Spartacus storefront?
Can someone please tell me whether Sitemap is planned for 5.0? Because I can't find this information in current roadmap.
I could not find this information in current Roadmap
0
votes
1
answer
257
views
XML Sitemap not working with Google Search Console..?
I have an XML sitemap located at https://store.usbswiper.com/sitemap_index.xml, which as you can see loads just fine.
However, Google Search Console is telling me it can't fetch the sitemap.
When I ...
0
votes
1
answer
167
views
Cypress : how can I fail a test if an error occurs but only at the end of test run
UseCase :
I want to automatically test all sitemap URLs (more than 1000) of our website after each new code release to see if we broke any of them.
My problem :
Test is done with no error even when a ...
0
votes
0
answers
19
views
How i can add video, audio and image sitemap in existing wordpress sitemap
I want to use wordpress default sitemap but this is not included image , video and audio ( podcast ) sitemap ?
Can anyone tell me how i can add manually which keeps automatically update with new data
...
0
votes
0
answers
66
views
Google Search Console wrong URL with sitemaps generated with next-sitemap
I submitted my blog sitemap to Google Search Console which made with next-sitemap.
The generated sitemap is displayed as below and it looks totally fine.
I made my blog with NEXT.js and SSG, SSR ...
0
votes
0
answers
38
views
how show images from site in google search result
search result example
I made sitemap.xml for website and have question -
what to do with website, to show images in google search results?
<url>
<loc>http://example.com/sample1.html&...
0
votes
1
answer
40
views
My site is not displayed in the Google search list
I just uploaded a site with Django on pythonanywhere and it was indexed by Google and it is displayed in the English search list, but it is not displayed in the Persian search list.
This is my website ...
0
votes
0
answers
95
views
spatie/laravel-sitemap not adding image sitemap to generated sitemap laravel 8
Below my code as per documentation
use Spatie\Sitemap\Sitemap;
use Spatie\Sitemap\Tags\Url;
$sitemap = Sitemap::create()
->add(Url::create(config('app.url')))
Posts::where([...
1
vote
1
answer
63
views
How do I serve Multiple sitemap.xml in Nginx
I'm scenario I'm using Nginx/1.20.0, I have my robots.txt want to https://new-dev.example.com/sitemap/sitemap-index.xml, but it's just throwing a 404,
I tried this:
location /robots.txt {
alias /...
0
votes
0
answers
40
views
Cypress: Is it possible to complete a test after failure but as failed test
UseCase :
I want to automatically test all sitemap URLs (more than 1000) of our website after each new code release to see if the update broke any of them.
My problem :
Test fails once a URL returns ...
0
votes
1
answer
29
views
Why is my function get_absolute_url is merging my domain into my website name?
I'm using the Django sitemap framework, and I have to use the function get_absolute_url to render the site URL in the sitemap. However, I'm facing a problem because my link is becoming: exampleio.io ...
0
votes
0
answers
15
views
How can I re-build my Django Framework Sitemap?
I did my Django Sitemap, and it works in its sitemap.xml file, but I made some changes by adding more URLs to the map, even if I migrate them, my sitemap does not update. I've tried to create another ...
0
votes
0
answers
24
views
Gatsby 4 Sitemap does generate with gatsby-plungin-sitemap multi domain
I am not able to create a sitemap for my Gatsy site.
I have multi domains and work with Gatsby 2, but since I move for Gatby 4 my sitemap is like this :
<loc>https://inte.****.fr/https://inte.***...
0
votes
1
answer
31
views
Parsing news:news in urlset of a sitemap
When I try to parse sitemap data and I can get loc field.
$sitemapContent = simplexml_load_file($publisher['url']);
foreach ($sitemapContent as $sitemapItem) {
dd($sitemapItem->loc); // Ouputs ...
1
vote
0
answers
299
views
SyntaxError: Unexpected token '<' when makin a sitemap using react-router-sitemap
i followed this blog because my goal is to generate a sitemap but i get an error when i run npm run sitemap:
SyntaxError: /Users/maurijnvd/discord_bots/geld-verdienen.nl/src/router.js: Unexpected ...
0
votes
1
answer
227
views
Catch all dynamic route in Next.js results in unwanted link in sitemap using next-sitemap package
In my Next.js application I am using the catch all functionality of dynamic routing. When I use the package next-sitemap for creating a sitemap I see in the file sitemap-0.xml there is a link like:
...
1
vote
1
answer
107
views
Dynamically generate sitemap page for a React Single page application
It's unclear to me how I should go about this.
I want a page on the website to have all links in the entire website in a tree like structure.
How can I approach this problem?
0
votes
0
answers
8
views
why I cannot write sitemap in robots.txt
I have two question
1,when I write Sitemap: https://www.example.com/sitemap.xmlin the file robots.txt,the url part show red,it seems to tell me there is wrong.but my sitemap url is all right,so I do ...