Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2016, 01:26 PM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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?
Reply With Quote
  #2  
Old 09-14-2016, 02:17 PM
Seven Skins's Avatar
Seven Skins Seven Skins is offline
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 09-14-2016, 04:39 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yep, use ftp and chmod the sitemap directory to 777 usually. Make sure you have the correct folder path as well.
Reply With Quote
  #4  
Old 09-15-2016, 12:28 AM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Seven Skins View Post
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.
Reply With Quote
  #5  
Old 09-15-2016, 12:30 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Create a new directory and chmod it to 777. Send your sitemaps there.
Reply With Quote
  #6  
Old 09-15-2016, 12:30 AM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
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 View Post
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?
Reply With Quote
  #7  
Old 09-15-2016, 12:46 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 09-15-2016, 12:48 AM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
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?
Reply With Quote
  #9  
Old 09-15-2016, 12:51 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, use the exact url of that index file.

http://yoursite.com/the directory your sitemap is in/vbulletin_sitemap_index.xml.gz
Reply With Quote
  #10  
Old 09-15-2016, 12:54 AM
saini1987 saini1987 is offline
 
Join Date: Jul 2010
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

How to include it in robots.txt?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04644 seconds
  • Memory Usage 2,237KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete