vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   XML Sitemap generation not working (https://vborg.vbsupport.ru/showthread.php?t=323460)

saini1987 09-14-2016 01:26 PM

XML Sitemap generation not working
 
In the settings>> XML sitemap arear i enabled the XML sitemap functionality and tried building a sitemap manually. It says sitemap generated at url: https://www.dthforums.com/xmlsitemap.php but when you visit that url it says file not found. means the vbulletin is not creating the xml file on the server. Can someone help me in this?

Seven Skins 09-14-2016 02:17 PM

Make sure the folder has write permissions, where you are generating the sitemaps.
And make sure this file "xmlsitemap.php" is in the root of your site.

RichieBoy67 09-14-2016 04:39 PM

yep, use ftp and chmod the sitemap directory to 777 usually. Make sure you have the correct folder path as well.

saini1987 09-15-2016 12:28 AM

Quote:

Originally Posted by Seven Skins (Post 2575903)
Make sure the folder has write permissions, where you are generating the sitemaps.
And make sure this file "xmlsitemap.php" is in the root of your site.

Yes, its in the root directory of the domain and the directory has 0755 permissions. Still not working.

RichieBoy67 09-15-2016 12:30 AM

Create a new directory and chmod it to 777. Send your sitemaps there.

saini1987 09-15-2016 12:30 AM

Quote:

Originally Posted by RichieBoy67 (Post 2575907)
yep, use ftp and chmod the sitemap directory to 777 usually. Make sure you have the correct folder path as well.

Changed the directory permissions and still the problem persists, what correct folder path means here and how to check that and where?

--------------- Added [DATE]1473906778[/DATE] at [TIME]1473906778[/TIME] ---------------

Quote:

Originally Posted by RichieBoy67 (Post 2575922)
Create a new directory and chmod it to 777. Send your sitemaps there.

Ok, i will create a new directory named "sitemap" now how to use this directory for XML Sitemaps in vbulletin?

--------------- Added [DATE]1473907498[/DATE] at [TIME]1473907498[/TIME] ---------------

Ok i figured it out. Three sitemap files are generated in the sitemaps directory:

vbulletin_sitemap_forum_1.xml.gz
vbulletin_sitemap_index.xml.gz
vbulletin_sitemap_thread_0.xml.gz

Now which one to submit in the webmaster tools?

RichieBoy67 09-15-2016 12:46 AM

Ok, great..Just submit the url to the index to google webmaster tools and add it to your robots.txt and you should be set.

saini1987 09-15-2016 12:48 AM

Quote:

Originally Posted by RichieBoy67 (Post 2575926)
Ok, great..Just submit the url to the index to google webmaster tools and add it to your robots.txt and you should be set.

Hi Richie, which url to submit in webmaster tools?

is it http://www.dthforums.com/xmlsitemap.php

or the link to the three files generated in the sitemaps folder?

RichieBoy67 09-15-2016 12:51 AM

No, use the exact url of that index file.

http://yoursite.com/the directory your sitemap is in/vbulletin_sitemap_index.xml.gz

saini1987 09-15-2016 12:54 AM

ok i added the index xml file to the webmaster tools.

How to include it in robots.txt?


All times are GMT. The time now is 10:28 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01021 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete