Questions tagged [sitemap]
The sitemap tag has no usage guidance.
91
questions
0
votes
0
answers
14
views
sitemap.xml uploaded but if i type t.xml showing sitemap instead of 404 not found
I am having unusual issue on my website i have created sitemap.xml and uploaded to publoc_html i also have yostseo installed but i am using manual sitemap so the issue i am facing is when ever i type ...
-1
votes
1
answer
169
views
Separate Sitemaps for Each Language with Polylang and Yoast SEO
I have a WordPress website with two essential plugins, Polylang for multilingual support and Yoast SEO for sitemap generation. Currently, the sitemap can be accessed through mysite.com/sitemap_index....
0
votes
1
answer
31
views
How can I generate a page that will always contain a list all the pages (not posts)?
I want to have a list of all the articles in my WP website, so it will be updated each time a new one is added. How can I do this? And how can I include it in my home page?
0
votes
1
answer
115
views
Redirect wp-sitemap.xml not working
I'd like to redirect wp-sitemap.xml to a custom sitemap file. I'm using template_redirect but the request isn't redirected. I attempted to debug it with die() but it doesn't work either.
function ...
0
votes
0
answers
282
views
Remove a specific sitemap from Sitemap_index.xml
i have yoast plugin installed and i have my website sitemap_index.xml as following :
This XML Sitemap Index file contains 7 sitemaps.
Sitemap Last Modified
https://xxxxxx.com/post-sitemap.xml
https://...
0
votes
1
answer
81
views
How to get post ID after removing that post?
Is it possible to get WordPress post ID after removing that post? I have found out that I need that ID to remove the page from the site map, but I do not have the post ID, becuase I have deleted it. ...
0
votes
0
answers
25
views
How Create LastMod and Update Date Only on Taxonomy Category and Tags
Please help me, How to make Lastmod and Update Date on manually Sitemap on Taxonomy Category and Tags.
I made a manual Sitemap in WordPress, but I'm confused about adding a special Lastmod to the ...
0
votes
1
answer
198
views
Yoasts plugin sitemap not detecting correct category URL format
My client wants the following URL:
https://example.com/category-name
So for that, I added . in the Category base under Settings > Permalinks and now my Category URL looks like how the client wants ...
1
vote
0
answers
43
views
Add image or video tags to WP Sitemap
Is there a way to add tags to the default WP core generated sitemaps other than four default ones ('loc', 'lastmod', 'changefreq', 'priority') WP allows using the wp_sitemaps_posts_entry filter?
For ...
0
votes
0
answers
84
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 updating with new data?...
0
votes
0
answers
156
views
Hide plugins and theme from public
I like to hide all or some of my plugins and themes and CMS from public such that the users cannot detect which plugins/themes/CMS I used to build my website.
Please let me know if it is possible to ...
0
votes
1
answer
65
views
html sitemap via recursive function
I'm trying to render my page structure as an ordered list (<ol>) showing the hierarchy using nested ordered lists. So it should look something like
<ol>
<li>
About
<ol&...
0
votes
1
answer
75
views
Embed sitemap in a page
I've seen that many sites have a dedicated page for a sitemap, not just an .xml file.
For example, https://www.casinos.de/sitemap/ They're using Yoast SEO and sitemap.xml is also available, but how ...
1
vote
2
answers
333
views
How to insert a sitemap within a subsite when using Wordpress multisite
I have a multisite Wordpress site.
The structure of its URLs is currently the following:
mysite.com
mysite.com/subfolder/
Now, I know that I can put the sitemap of the first site (mysite.com) in the ...
0
votes
1
answer
212
views
Omit custom post type from wp-sitemap.xml based on meta key using wp_sitemaps_posts_query_args
I'm trying to omit specific CPTs from the WordPress generated wp-sitemap.xml based on a meta key value. I only found one post online regarding this on perishable press, however it throws up a fatal ...
2
votes
1
answer
1k
views
Add custom URLs to WordPress's XML sitemap
My WordPress site also incorporates some external non-WP content that is dynamically pulled into the page via shortcode. The content shown depends on a query string parameter. So from WP's point of ...
0
votes
1
answer
51
views
How to get the URL of a sitemap that contains a certain post?
I am searching for a way to "detect" in which sitemap a post is located in but I cannot find any solution to this problem, nor does any SEO plugin or Cache plugin provide any way or wrapper ...
1
vote
1
answer
51
views
Query categories that have a description
I want to query the categories and tags that have a description to make sure only those are listed in the sitemap. The description__like argument used by get_terms() is the closest I've gotten to it.
/...
1
vote
0
answers
953
views
sitemap contains weird links and does not contain my pages [closed]
I was about to submit my wordpress auto-generated sitemap to Google Search Console but I realized my sitemap contains weird links and it doesnt contain any of my actual pages. I checked example.com/...
0
votes
1
answer
593
views
Exclude a specific page from Wordpress sitemap. (wp-sitemap.xml)
Instead of no indexing a page I just want to exclude it from the auto created wp-sitemap.xml
(some code in the functions.php file)
I found this but it did not seem to work?
https://perishablepress.com/...
2
votes
0
answers
112
views
How do I get WordPress URL rewrites into Sitemap?
Consider the two following custom post types:
Museums
Bakeries
With one shared taxonomy:
Region
I'm using rewrite rules to improve the URL structure, so I can serve pages to visitors such as:
...
0
votes
1
answer
66
views
Google search console sitemap 404 error
I have a problem with the sitemap in Google search console.
In the index sitemap I see al posttypes with a link to the sitemap from that posttype.
https://www.example.com/wp-sitemap-posts-post-1.xml
...
0
votes
1
answer
20
views
Unlimited false pages showing in Sitemap?
I don’t know since when it started but today, I looked at it and it shows more than 90k pages are indexed on google in search console when my site has only 90 posts and some pages.
https://priceunder....
3
votes
1
answer
137
views
Add image tags to native WordPress XML Sitemaps
I would like to add image tags into my sitemap posts:
<image:image>
<image:loc>
<![CDATA[ https://example.com/image.jpg ]]>
</image:loc>
<image:caption>
<![CDATA[ ...
1
vote
1
answer
76
views
How can I include an existing custom sitemaps listing in wp-sitemap.xml?
I have several existing custom sitemap xml files, and I'd like to know which add_filter to use to add those custom sitemaps to the existing https://www.example.com/wp-sitemap.xml page.
1
vote
1
answer
47
views
Part of Menu Item Hidden on Header Menu
My business site is built on WordPress and I am using the "Shifters Lite" WP theme right now.
My issue is:
One of my primary menu item (designed as per my web-pages) is getting hidden on the Header ...
0
votes
1
answer
36
views
How to make in wordpress a gallery with 3 colums to 1 on mobile devices responsive?
After taking a lot of time researching websites I ask for help in this forum.
Im looking to have a gallery on the website like this:
decañamo.site
When the webpage is open it goes from the 3 ...
1
vote
0
answers
51
views
Custom post type + category archive page
I have default post type "post" and created custom post type "restaurants".
I have categories (not taxonomy): cat1 and cat2. I want to work with same categories on both post types and I don't want to ...
0
votes
1
answer
865
views
WordPress sitemap “Extra content at the end of the document”
I have used WordPress with the plugin to generate a sitemap on request (in my case it was "All In One SEO Pack"). In the beginning, everything worked fine, but at some moment I found that the sitemap ...
0
votes
2
answers
177
views
Sitemap not containing all pages
I have a database of all the towns / counties / postcodes in the UK - and using a plugin I am able to dynamically generate a page for each town. However, in the site map - there are only about 25 ...
-1
votes
1
answer
2k
views
How to noindex, follow a specific category wordpress?
Google appears to be ignoring my robots.txt (despite being valid)
How do I noindex, follow a specific category without plugins?
1
vote
0
answers
26
views
Wordpress Sitemap including pages that aren't there
I dont know if this is a severe cache, or a bug of sorts, I've installed multiple "seo" plugins to try and fix this, trawled the file system, cleaned the database, I don't know what is generating this ...
0
votes
3
answers
102
views
I need help locating a URL that is on my site map, but that I can't find in my Wordpress dashboard
I hired a developer to implement the LearnDash plugin on my Wordpress site. He wasn't able to finish the project and left my site with several unnecessary pages and plugins. I want to get my site back ...
0
votes
0
answers
868
views
XML sitemap in Wordpress 5 without plugin?
I use that code in few Wordpress sites version 4.x. But it does not work with Wordpress 5. When I try to paste it in the functions.php file, I can't save it. Wordpress answers me 'Something goes wrong'...
0
votes
0
answers
145
views
Using $this with an anonymous function in filters
Okay so I have a method within a class which looks like
$this->addToSitemap('page', $urls);
This is used to append extra pages to the Yoast Sitemap. Here 'page' is the type of sitemap within ...
0
votes
1
answer
631
views
Where to put robot.txt and sitemap.xml for wordpress installed in its own directory
My website is setup where wordpress is installed in it's own subdirectory, but the content is served as though it's at the domain root.
(This wordpress codex page details the configuration)
Wordpress ...
0
votes
1
answer
131
views
How to display a sitmap horizontally? [closed]
I've created a sitemap successfully using wp Realtime sitemap. I've read their instructions and made pages. but i want to show this sitemap horizontally which i attached .I created this sitemap using ...
1
vote
1
answer
2k
views
When does the Yoast SEO filter hook wpseo_sitemap_urlimages fire?
I am trying to attach a simple function to the Yoast SEO filter hook wpseo_sitemap_urlimages and get the function to run, but I cannot do so. My code is:
function tp_filter_wpseo_sitemap_urlimages($...
1
vote
0
answers
586
views
Multilingual XML sitemaps when using qTranslate-X
I am taking over a multilingual website that a previous developer left unfinished, and I found that he had used qTranslate-X as a localization plugin, in order to create handle the multilingual part ...
0
votes
0
answers
297
views
Category as Subdomain for One WP Install
Please I need help, I have a blog with already over 80k post (One WP Install). For Person reasons I want to change one of the category to a subdomain. I have searched for a plugin for that and it ...
0
votes
1
answer
69
views
Crawl Errors in Search console
not sure if I am in the correct place. I have been all over the place the past few days trying to resolve some search console errors in webmastertools
I have no technical knowledge of the back end of ...
0
votes
1
answer
16
views
changing products urls - redirects
I created my website without not knowing much about seo. I am editing my products pages with yoast, and I am changing products urls. My site is new, I have just indexed it in google search console, I ...
3
votes
2
answers
51
views
Does the 'WordPress Order' feature, within the WordPress Dashboard, have any impact on site architecture?
As you can see, within the image below, WordPress offers us to numerically arrange our Pages via a feature entitled 'Order'. I have been using this as a means to help organise my Pages, for my own ...
0
votes
1
answer
237
views
Disable parent in wp_list_pages - Wordpress
I have the following code the generates the sitemap.
wp_list_pages(
array(
'exclude' => '5',
...
0
votes
0
answers
309
views
Create html tree sitemap
i am trying create html sitemap without plugin. How can i get all parents and his childs ? I want to create something like this
Main page
Category 1
post 1 of category 1
Category 2
Other page
...
1
vote
1
answer
1k
views
Create a sitemap without a plugin - get parent pages only?
I want to create a sitemap that only includes parent pages only.
This is the code I use usually to get parent pages only:
$args = array(
'post_type' => 'page',
'post_parent' => 0,
'...
2
votes
0
answers
467
views
XML sitemap over product variations
So i have a smaller webshop, that contains a lot of products - and some of those products have variants - like blue, yellow, red and so on.
But the thing is that Yoast SEO's sitemap generator only ...
0
votes
2
answers
7k
views
Where is All in One SEO Pack sitemap.xml located?
I used the XML Sitemaps in the All in One SEO Pack plugin to generate my sitemap.
When I type in the site address/sitemap.xml (http://flysuas.ie/sitemap.xml) the sitemap appears.
I want to get rid ...
1
vote
0
answers
155
views
How to include sub directory in sitemap? [closed]
I've been using All in One SEO Pack and Polylang two plugins on my wordpress site.
But the Polylang plugin for it needs to create another language's directory, so now the sitemap feature from AIOSP ...
2
votes
0
answers
288
views
Yoast Sitemap grouping external sitemaps [closed]
I have a problem when adding external sitemaps to Yoast. I've managed to successfully add all my external products (which are hosted on a different project) using the wpseo_sitemap_index filter.
...