Questions tagged [sitemap]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

All-In-One-SEO plugin sitemap is blank

recently I was working on a project and needed to upload the sitemap to google search console, I am using All-in-One-SEO plugin for generating sitemap and SEO of this site. However when I go to the ...
user avatar
0 votes
0 answers
9 views

Should /wp-includes/js/* folder be blocked in robots.txt file for a WordPress website?

In my WordPress website. I am disallowing /wp-includes/js/* folder in the robots file. Is that bad? I use SEMRush to audit my site and it shows an error that a resource at the above location is being ...
user avatar
0 votes
0 answers
14 views

wordpress sitemap subtypes returns 404 with correct data for pages bigger than 1

website is using default WP sitemap packages /** * Sitemaps: WP_Sitemaps class * * This is the main class integrating all other classes. * * @package WordPress * @subpackage Sitemaps * @since 5....
user avatar
0 votes
1 answer
30 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&...
user avatar
  • 191
0 votes
1 answer
25 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 ...
user avatar
  • 111
1 vote
2 answers
82 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 ...
user avatar
  • 11
0 votes
1 answer
58 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 ...
user avatar
2 votes
1 answer
193 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 ...
user avatar
  • 143
0 votes
1 answer
41 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 ...
user avatar
1 vote
1 answer
33 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. /...
user avatar
  • 11
0 votes
0 answers
12 views

How to create custom sitemap for my backlinks?

I need help about how to create a custom sitemap for my backlinks, so I can submit it to google search console for faster indexing of my backlinks. Example: Creating a sitemap that consists of my ...
user avatar
0 votes
0 answers
23 views

Sitemap Help - Remove /tag/ from URLS

I have a website that uses both categories and tags to organise posts. I have removed the /tag/ in the URL so that it reads: example.com/tag-1-details/ However in my sitemap (Yoast) it says: example....
user avatar
  • 1
1 vote
0 answers
313 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/...
user avatar
  • 13
0 votes
1 answer
50 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/...
user avatar
  • 119
2 votes
0 answers
59 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: ...
user avatar
  • 21
0 votes
1 answer
42 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 ...
user avatar
  • 17
0 votes
1 answer
16 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....
user avatar
2 votes
0 answers
48 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[ ...
user avatar
  • 139
1 vote
1 answer
41 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.
user avatar
  • 11
1 vote
1 answer
44 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 ...
user avatar
0 votes
1 answer
27 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 ...
user avatar
1 vote
0 answers
48 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 ...
user avatar
0 votes
1 answer
439 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 ...
user avatar
  • 101
0 votes
2 answers
71 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 ...
user avatar
0 votes
1 answer
993 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?
user avatar
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 ...
user avatar
0 votes
3 answers
90 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 ...
user avatar
0 votes
0 answers
796 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'...
user avatar
  • 1
0 votes
0 answers
123 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 ...
user avatar
0 votes
1 answer
483 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 ...
user avatar
0 votes
1 answer
99 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 ...
user avatar
  • 1
1 vote
1 answer
1k 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($...
user avatar
  • 1,637
1 vote
0 answers
539 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 ...
user avatar
  • 158
0 votes
0 answers
240 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 ...
user avatar
0 votes
1 answer
65 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 ...
user avatar
0 votes
1 answer
14 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 ...
user avatar
3 votes
2 answers
47 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 ...
user avatar
  • 348
0 votes
1 answer
174 views

Disable parent in wp_list_pages - Wordpress

I have the following code the generates the sitemap. wp_list_pages( array( 'exclude' => '5', ...
user avatar
  • 101
0 votes
0 answers
235 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 ...
user avatar
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, '...
user avatar
  • 324
2 votes
0 answers
382 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 ...
user avatar
  • 313
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 ...
user avatar
  • 147
1 vote
0 answers
142 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 ...
user avatar
2 votes
0 answers
275 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. ...
user avatar
  • 121
-2 votes
1 answer
2k views

how to add urls dynamically into the sitemap

I basically want to add such urls to my existing sitemap index. I'm currently using WP SEO by yoast, but I'm open to trying out alternative plugins. My urls are currently like this... e.g www.mysite....
user avatar
  • 139
2 votes
3 answers
3k views

Exclude custom post_type in sitemap generation?

I want to exclude some specific post types from generating sitemaps in yoast seo plugin. Please provide suggestions to do this. Thanks in advance.
user avatar
  • 21
0 votes
1 answer
157 views

Exclude WooCommerce terminations from YOAST

Today i have a little issue with Yoast SEO, i would love to hide some pages from Sitemap.xml generated by Yoast. The problem that when i exlude the ID in the Exlude panel in Backoffice it works ...
user avatar
0 votes
0 answers
47 views

Sitemap for hundred thousands Posts WordPress Site

I have a WordPress site with 100,000+ posts. I can create a sitemap with Yoast. but they also recommend only to add 1000 posts to sitemap because of efficiency. How to add a sitemap for my website ...
user avatar
2 votes
3 answers
7k views

"No sitemap linked in your robots.txt file"

Relatively new to anything that doesn't require common sense in WordPress. My previous site was built poorly etc, so cutting a long story short I installed a new theme and started building up pages ...
user avatar
  • 21
2 votes
1 answer
2k views

get_permalink executes link without https

Currently I am using https version of website and everything is fine, I setupped site main url for https, when viewing editor of post there is https permalink presented..everything works fine on all ...
user avatar
  • 155