Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-16-2013, 05:47 PM
belfast2012 belfast2012 is offline
 
Join Date: Oct 2012
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Sitemap not working

Hello,

Under AdminCP -> XML Sitemap -> XML Sitemap settings I get an error as follows:

Error: You did not enter a valid value for this setting.

Which I believe is for Sitemap File Path (./store_sitemap)

Does this mean I can't write to the directory or something?

Thanks for any help!
Reply With Quote
  #2  
Old 09-16-2013, 10:53 PM
belfast2012 belfast2012 is offline
 
Join Date: Oct 2012
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bummmp
Reply With Quote
  #3  
Old 09-16-2013, 11:09 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

XML site maps are not a working feature in vBulletin 5 at this time. I'd suggest you vote on it in the tracker.
Reply With Quote
  #4  
Old 11-04-2013, 07:21 PM
nchoose nchoose is offline
 
Join Date: Jan 2005
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are they working now? with vBulletin 5.05?
Reply With Quote
  #5  
Old 11-04-2013, 09:54 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nope.
Reply With Quote
  #6  
Old 11-08-2013, 11:25 PM
Afrika Afrika is offline
 
Join Date: Aug 2004
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have to insert the complete /www/html/forum/core/store_sitemap
Than the sitemap will be created, but google and the other xml reader cannot read them.
you have to edit the class_sitemap.php in the core/includes to change the file xmlsitemap.php to /store_sitemap/

PHP Code:
foreach ($this->sitemap_index AS $sitemap)
                {
                        
$content .= "\n" '<sitemap>';
                        
$content .= "\n\t" '<loc>' htmlspecialchars($this->registry->options['bburl'] . '/store_sitemap/' urlencode($sitemap['loc'])) . '</loc>';
                        
$content .= "\n\t" '<lastmod>' gmdate(DATE_W3C$sitemap['lastmod']) . '</lastmod>';
                        
$content .= "\n" '</sitemap>';
                }

                
$content .= "\n" '</sitemapindex>';

                
// Compress and add extension
                
if (function_exists('gzencode'))
                {
                        
$content $content;
                        
$output_filename $this->sitemap_index_filename '.xml';
                }
                else
                {
                        
$output_filename $this->sitemap_index_filename '.xml';
                } 
and:
PHP Code:
// Compress and add extension
                
if (function_exists('gzencode'))
                {
                        
$content $this->content;
                        
$new_file .= '.xml';
                }
                else
                {
                        
$content $this->content;
                        
$new_file .= '.xml';
                } 
Reply With Quote
  #7  
Old 11-18-2013, 09:37 AM
laminedj laminedj is offline
 
Join Date: Oct 2013
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Afrika,

If I get it well, you find a way to write the sitemap in vbulletin folder BUT Google can't read.

Why Google can't read it if the sitemap is well created and you give to google boot the right path ?

Regards

lamien
Reply With Quote
  #8  
Old 11-22-2013, 10:57 PM
Afrika Afrika is offline
 
Join Date: Aug 2004
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First the .gz doesn't work fine. I do it without compression than it works, BUT
the Sitemap is not correctly there are problems with the urls insite.
Im sad that the best forumsoftware ever is now.....
Reply With Quote
  #9  
Old 11-23-2013, 12:17 AM
Spangle Spangle is offline
 
Join Date: Jun 2011
Posts: 520
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this :

https://www.snapsitemap.com/?campaig...FVMPtAodHxwAKQ

or this :

http://www.xml-sitemaps.com/

Google is your friend, there are quite a few sites that will generate a sitemap and submit it to Google for you.
Reply With Quote
Reply


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 12:38 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.07777 seconds
  • Memory Usage 2,250KB
  • Queries Executed 13 (?)
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
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete