Questions tagged [xml-sitemap]

Use it for the sitemap conforming to the sitemaps.org specification.

Filter by
Sorted by
Tagged with
0
votes
0answers
37 views

How to remove below part from top of XML?

i have created a view for XML feeds. But when I access the link for feeds it gives me below debug info at top of xml feeds: <!-- THEME DEBUG --> <!-- CALL: theme('views_view_views_rss') --&...
0
votes
1answer
33 views

How do I update the sitemap in D7?

I want to exclude some pages from the sitemap. I go to these pages/nodes, edit them, then go to the XML sitemap tab and set it to 'Exclude'. I then save and clear cache. But when I look at my ...
0
votes
0answers
127 views

Language specific sitemap

I've setup a Multilingual website in Drupal 8 using the default content translation bundle and tried to generate a XML sitemap using the Simple Sitemap module, but the default way the sitemap ...
0
votes
1answer
58 views

How to regenerate xmlsitemap to https?

I'm new to Drupal community and I wonder if there is a solution to regenerate all urls from http to https? I have already tried to just regenerate and try to update $base_url in setting, nothing ...
0
votes
1answer
241 views

Defining a sitemap variant

I'm trying to add a new sitemap variant using Simple XML Sitemap referenced here. For the most part I understand it but I'm not sure where to actually place my definition and use the simple_sitemap....
0
votes
2answers
48 views

Setting Simple Sitemap Values Programmatically not reflected in form

I'm trying to set some Simple Sitemap settings programmatically. I'm using the following to set whether or not a specific node is indexed: \Drupal::service('simple_sitemap.generator')->...
2
votes
3answers
627 views

Blank spaces opening RSS XML file - How to solve?

All of the sudden, we are experiencing problems with our RSS feed which comes with the Drupal core 7.x . It is no longer valid due to two spaces before the opening XML tag. The following error is what ...
0
votes
0answers
26 views

Primary Tabs in Google

"Primary Tabs" is coming up as one of our top pages in Google and it takes users to the log in page. I'm not sure what "Primary Tabs" means. Can someone point me in the right direction? I created a ...
-1
votes
1answer
270 views

XML Sitemap for Multi-site

I have generated a XML sitemap for multi-site using a free online tool - https://www.xml-sitemaps.com. I have downloaded XML file for each site and placed sitemap.xml at the root (\src\sitemap.xml) ...
0
votes
1answer
815 views

Is it possible to set the sitemap option programmatically using the module Simple XML Sitemap?

On my drupal instance I have enabled the module called Simple XML Sitemap. The problem now is I want to toggle the option to index certain pages programmatically. I can't find out how. Can this be ...
0
votes
1answer
327 views

How to exclude nodes with a taxonomy term from XML Sitemap?

Afaik we can exclude content type, or individual node from XML Sitemap. But, is there anyway to exclude nodes with specific taxonomy term? (for example excluding nodes with "longlivethetroll" tag) ...
0
votes
2answers
61 views

Does the sitemap.xml file does from the xmlsitemap module actually get generated?

I see that there is a 1.xml file generated in the sites/default/files/xmlsitemap folder, but I do not see a file in the Drupal root. However, when I call http://www.example.com/sitemap.xml I do get ...
0
votes
2answers
650 views

XML sitemap in Multilingual site

How to configure xml sitemap for multi language site.For translation I am using i18n module and for xml sitemap. Now there are only one link show in NL site map and 26 in default language.
0
votes
1answer
113 views

Fatal Error: Call to undefined function in a drush backup module

I am getting a weird error when attempting to use Drush. Fatal error: Call to undefined function variable_get() in /home/1000/.drush/backups/pantheon/20161102190143/modules/xmlsitemap/xmlsitemap....
2
votes
1answer
32 views

How can I access XMLSitemap links from external PHP script?

I have an external PHP script that does a lot of back end processing for a website. I need for this PHP script to query, insert, and delete various links from the XML Sitemap. I want to use ...
2
votes
1answer
2k views

How to remove a URL from my XML sitemap?

I have installed the XML sitemap module and included all my articles in the sitemap. By default, also the URL node/add/article is added, but I do not want that since anonymous users cannot visit this ...
0
votes
1answer
372 views

XML sitemap module is not updating. Why?

I have Drupal 7.x and the XML sitemap module version 7.x-2.3. I noticed that I have 900 nodes, but only 480 are indexed. I cleaned the cache, ran cron tasks, but nothing changed. The Minimum sitemap ...
0
votes
1answer
658 views

The directory public://xmlsitemap was not found or is not writable by the server

I have just installed XML Sitemap on a EC2 drupal 8 instance. I am seeing the following error message in the admin report status page: XML sitemap cache directory Not found or not writable The ...
0
votes
1answer
137 views

Change Default Value of XML sitemap enable/disable flag

Is there a way to change the default value of a node's XML sitemap enable/disable flag for the XML sitemap module? The default is disabled. I have a large old site that I want to have completely ...
0
votes
1answer
36 views

Moved one site to another site files are refering old site

I moved whole Drupal setup from ex.(1.1.1.1 to www.example.com). After the move there are some issues. Some Drupal default files are not found error.(ex. close.png ,background.png) because the images ...
0
votes
1answer
79 views

How often i should re-build and re-submit xml sitemap for news website? [closed]

I have an website that get news from RSS Feeds. I build every day 2-3k articles and now i have almost 160k links. So, how often i should re-submit the xml sitemap; (currently i do this job every hour)...
1
vote
0answers
2k views

How to add completely custom URLs to Sitemap in module XMLSitemap in Drupal 7

I have a website with which has some different URLs that are not inserted in the url_alias table not embedded into Drupal content system, but they are generated on-the-fly by custom PHP logic inside a ...
0
votes
2answers
208 views

Best settings for xml sitemap, cron time and submission time?

i have news site for about 7 months. The site get new feeds every hour but google take about 1 day to index them and only few of them. I see other sites that instantly index. "1 hours ago etc". Mine ...
1
vote
1answer
244 views

Site map module assigns random frequencies to content

I just created an XML sitemap in Drupal 7. As I click on the 'rebuilt links' button, all my content pages are assigned random frequencies and the module does not give me an option to edit content ...
0
votes
1answer
315 views

Drupal sitemap still contains urls of deleted pages

I've deleted some products from my commerce kickstart database by means of standard Drupal commerce kickstart tools. But it looks like something gone wrong. Because some deleted pages urls still ...
1
vote
2answers
566 views

In drupal website how to create multiple sitemap for each content types?

In Drupal how can I create multiple sitemaps for each content type? Suppose I have a content type basic page. I want an sitemap.xml only for this content type. Is it possible?
-1
votes
2answers
629 views

XML sitemap rebuild links on cron run

I've installed XML Sitemap. I can manually rebuild the link in /admin/config/search/xmlsitemap/rebuild. Is there any way to automatically rebuild the links (e.g. when cron runs XML sitemap would ...
0
votes
1answer
300 views

Dealing with errors 403, 404 in Google Webmaster Tools

I know it may not be strictly drupal releated question, but I'm curious what would be the best approach to solve it with Drupal. 403 errors to: taxonomy/term/%/feed I have around 900 errors with 403 ...
1
vote
0answers
58 views

After run the cron sitemap links are not work properly

After ran the cron i am not getting any error but it did not display the xmlsitemap links properly.please help me what will i do now? I checked in dblogs, there I got this error: You have an error ...
0
votes
1answer
50 views

Add sitemap.xml inside a view

I already generate my xml sitemap with drupal module "sitemap" now i wanted to show that sitemap inside a view. It is possible to do this? Thanks
0
votes
2answers
374 views

Need to add custom element in sitemap.xml file

I have installed sitmap module to create sitemap.xml file. Now I want to add some custom element like <expires>2010-10-10</expires> for some URLS.
1
vote
1answer
314 views

XML Sitemap Last Modified Date on a View

The site I am working on has a front page gallery view. Is there any way to update the last modified date of the view in the XMLSitemap file? As currently it is just empty.
1
vote
0answers
302 views

Views contextual filter pages sitemap

What's the best way to include views contextual filter pages to sitemap? I need the sitemap and all my pages submitted to Google WMT. What I have right now is a node type Book and a node type Author. ...
0
votes
1answer
395 views

Add view with contextual filter to XML sitemap

I setup a view with the following path www.example.com/profile/% (the user contextual filter i added is the username of the). These displays the profile of each user. Please is there a way to add the ...
0
votes
2answers
298 views

How to add link (via php) to xmlsitemap [duplicate]

I have a site where some pages are "virtual". The path is : internal_node/XYZ where * internal_node/% is defined in a hook_menu() * XYZ is a number my "internal_node" callback call an external ...
1
vote
2answers
358 views

Batch update XML Sitemap for content type using VBO - D7

I am trying to update a portion of my Basic Pages' XML Sitemap setting. By default my Basic Pages are Excluded in the XML Sitemap (what I want), but I want to bulk update only some of them (long story)...
-2
votes
1answer
5k views

xml sitemap module : XML declaration allowed only at the start of the document [closed]

I installed the xml sitemap module, when I go to my sitemap.xml page, it give me an error: This page contains the following errors: error on line 1 at column 6: XML declaration allowed only at ...
1
vote
3answers
672 views

How to make XML sitemap to work after transfer from localhost?

My XML sitemap module was installed and enabled long time ago when I just started to make my website on WAMP/ localhost..... Now the site is live and on real host and domain; but sitemap is still on: ...
1
vote
2answers
913 views

drupal 7 xml sitemap showing nodes that are unpublished [closed]

we have xml_sitemap 7.x-2.0-rc1 and drupal 7.23 core and it is putting unpublished nodes in the xml site map. What can we do?
0
votes
1answer
962 views

My sitemap.xml have a different domain and this is an error [closed]

I have created a site with a development domain name. Now this site is online (camperlife.it), but sitemap.xml created by XML sitemap module still contains the development domain name. I have ...
0
votes
1answer
84 views

How do I migrate this module?

I just migrate my Drupal 6 website to Drupal 7 successfully, using migrate_d2d module. Is there an easy way to migrate Drupal 6 xml sitemap to Drupal 7 too? Should I just install the XML sitemap ...
0
votes
1answer
249 views

How to tell if XML Sitemap is correct?

I have installed the XML Sitemap module, and enabled the xmlsitemap_menu sub-module. I found how to add the main menu to the sitemap (via this site - no thanks to the module's documentation). When I ...
-1
votes
1answer
795 views

Removing all “/node/$id” urls from xml sitemap plugin

In my project pages are implemented using Panels module and contain lot of nodes. I've set up xml sitemap module, generated xml, and currently i can see many "/node/$id" urls, but: That are not ...
1
vote
1answer
402 views

How can I exclude links to untranslated pages from Google search results?

I have a multilingual site (English and Japanese). Japanese is the default language. Some pages have been translated into English and some have not. I am using the XML Sitemap and i18n Modules as ...
2
votes
1answer
672 views

Drupal module to generate compressed xml sitemap

Is there any Drupal module which can generate compressed xml sitemap like sitemap.xml.gz? The problem is I have a site with a lot of pages and the generated sitemap is very big (more than 1 MB). I ...
1
vote
0answers
516 views

What's the difference between “rebuild links” and what cron does in xmlsitemap?

Kind of a newbie question about the XML Sitemap module, I suppose... I've got the module installed, and it's running, with the "XML sitemap node" module also installed and activated. It's working, ...
2
votes
1answer
641 views

How do I extend the xmlsitemap module to include the google news / images and videos formats

The xmlsitemap module covers the standard google xml site map. However, https://support.google.com/webmasters/answer/178636?hl=en is the information for the google image search and the specific markup ...
1
vote
1answer
1k views

What can cause duplicated XML sitemap links?

I have a site where I have XML Sitemap installed. I was using node-based sitemaps, and everything was working fine. I also enabled the menu sub-module, and now I see duplicate links for all of my ...
1
vote
2answers
380 views

XMLSitemap- Is it OK to add nodes both by content type and menu?

I'm making a sitemap using the XML Sitemap module. The module and its submodules allow nodes to be added to the sitemap from the content type configuration screen as well as the menu configuration ...
1
vote
2answers
162 views

XML Sitemap for Media

I'm looking for a module, that creates a special sitemap for media (using the Drupal Media 2 module).