vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB5 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=262)
-   -   Sitemap not working (https://vborg.vbsupport.ru/showthread.php?t=302356)

belfast2012 09-16-2013 05:47 PM

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!

belfast2012 09-16-2013 10:53 PM

bummmp

Zachery 09-16-2013 11:09 PM

XML site maps are not a working feature in vBulletin 5 at this time. I'd suggest you vote on it in the tracker.

nchoose 11-04-2013 07:21 PM

Are they working now? with vBulletin 5.05?

Zachery 11-04-2013 09:54 PM

Nope.

Afrika 11-08-2013 11:25 PM

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';
                } 


laminedj 11-18-2013 09:37 AM

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

Afrika 11-22-2013 10:57 PM

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.....

Spangle 11-23-2013 12:17 AM

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.


All times are GMT. The time now is 03:43 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.01158 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete