vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Administrative and Maintenance Tools - vBSEO Google/Yahoo Sitemap Generator (https://vborg.vbsupport.ru/showthread.php?t=144730)

Steve St.Lauren 06-28-2007 08:13 PM

My guess would be that you already had an .htaccess file for vBSEO in your forums directory and you overwrote it with the .htaccess file in the vbSEO sitemap distribution. The instructions tell you that if you already have an .htaccess file (which everyone that's already running vBSEO should) then you need to just add 3 lines to the very bottom of it. Here's the note from the installation docs:

Quote:

Note: If you already have an .htaccess file in your forum root, DO NOT upload the vBSEO Google/Yahoo Sitemap .htaccess file as it will replace the contents of this file. Instead, enter the following code in your 'forum-root/.htaccess' file at the bottom:


RewriteEngine On
RewriteRule ^((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

Ohiosweetheart 06-28-2007 08:57 PM

I know Steve, I read the instructions.

Problem is, I didn't overwrite any existing .htaccess file because I didn't have an .htaccess file in my forum root, and still don't, since I had to remove the one I uploaded from the zip here for my forum to work again.

I also don't run vBSEO on this forum. :)

Anyone have any other ideas?

iojam 06-29-2007 02:03 PM

djbaxter,

Quote:

Actually, that's no longer true if you use the new sitemaps declaration in the robots.txt file:
Mm.. what exactly is not true from what I wrote above?
You can specify sitemap in robots.txt, you can submit it to Google webmaster account (to be able to track it) or just send a ping, but sitemap still should be located in the topmost folder. That's why .htaccess entry is required in case if files are stored in a subfolder.

Steve St.Lauren,

please try to uninstall xml product file and reinstall it.

Ohiosweetheart,

please make sure that your host supports mod_rewrite and allows rewrite rules in .htaccess.

Ohiosweetheart 06-29-2007 02:27 PM

Quote:

Originally Posted by iojam (Post 1279176)
Ohiosweetheart,
please make sure that your host supports mod_rewrite and allows rewrite rules in .htaccess.

I know they allow mod_rewrite, because I have vBSEO on my other site which is on the same host, and have the instructed rewrite in that .htaccess file.

djbaxter 06-29-2007 02:39 PM

Quote:

Originally Posted by iojam (Post 1279176)
djbaxter,

djbaxter,

Quote:

Actually, that's no longer true if you use the new sitemaps declaration in the robots.txt file
Mm.. what exactly is not true from what I wrote above?
You can specify sitemap in robots.txt, you can submit it to Google webmaster account (to be able to track it) or just send a ping, but sitemap still should be located in the topmost folder. That's why .htaccess entry is required in case if files are stored in a subfolder.

^^^ THAT is what's not true. You can now locate the sitemap file wherever you wish as long as you specifiy the alternate location in the robots.txt file - the robots.txt file must reside in the root folder; the sitemap can be anywhere you like. If you do that, you don't need the mod_rewrite addition to your .htaccess file.

See http://www.sitemaps.org/protocol.php#submit_robots

Steve St.Lauren 06-29-2007 03:01 PM

Quote:

Originally Posted by iojam (Post 1279176)
djbaxter,

Steve St.Lauren,

please try to uninstall xml product file and reinstall it.

I did and got the same message. I jut removed the cron portion out of the xml file and added the cron job manually. This was on 3.6.7 btw.

LewisAinslie 06-29-2007 04:09 PM

I already have a .htaccess file. What do i do if i have one? add it to bottom?

djbaxter 06-29-2007 04:54 PM

Quote:

Originally Posted by LewisAinslie (Post 1279278)
I already have a .htaccess file. What do i do if i have one? add it to bottom?

Yes, probably. You need a slight modification if you already have a mod_rewrite instruction in there.

If you see any lines like this:

Code:

Options +FollowSymLinks
RewriteEngine On

Add the RewrteRule line AFTER that.

Code:

RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1
Make sure that ONLY the last RewiteRule statement ends with the following:

Code:

[R=301,L]
For example, a site that contains two RewriteRule statements would look something like this:

Code:

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ somesite.com
RewriteRule .* http://someothersite.com/? [R=301,L]


LewisAinslie 06-29-2007 06:05 PM

Ok thanks but it is not writing the links as SEO, i have zoints SEO installed and its working for example
but its writing to the site map as


da420 06-29-2007 07:24 PM

Turn off mod_rewrite on the Zoints modification.


All times are GMT. The time now is 08:57 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.03061 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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