vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

Problems with .htaccess

This is a discussion on Problems with .htaccess within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Hi, I have reviewed all of the topics about the location of sitemap_index.xml.gz but I can't seem to get the ...

Go Back   vBulletin SEO Forums > vBSEO Google/Yahoo Sitemap > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read
  #1  
Old 04-15-2006, 09:12 PM
Junior Member
 
Real Name: Bradley J. Ulis
Join Date: Apr 2006
Posts: 10
Problems with .htaccess

Hi,

I have reviewed all of the topics about the location of sitemap_index.xml.gz but I can't seem to get the page to load correctly.

I am not sure the problem is with the .htaccess file at all. At the moment its functioning fine with vBSEO and the rewrite rule is right with the rewrite engine line.

Here are the first 3 lines:
Code:
RewriteEngine On
RewriteBase /
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
I tried changing the rewrite rule to sitemap_index.* etc. and it does load the vbseo_getsitemap.php file. However, it keeps puking out garbled code rather than xml.

By opening the data folder and looking directly at the xml.gz file it looks fine.

What could be going wrong with this?

you may see for yourself at http://www.stockideas.net/sitemap_index.xml.gz

-Brad
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 04-15-2006, 09:21 PM
Junior Member
 
Real Name: Bradley J. Ulis
Join Date: Apr 2006
Posts: 10
Re: Problems with .htaccess

I rewrote the .htaccess file to cut out the vbseo_getsitemap file. It wasn't producing any comprehensible code.

So, to circumvent it, I wrote a rewrite rule for every file in the data directory.

sitemap_index.xml.gz -> /vbseo_sitemap/data/sitemap_index.xml.gz

sitemap_1.xml.gz -> /vbseo_sitemap/data/sitemap_1.xml.gz

and so on

is there any way to fix the problem with vbseo_getsitemap?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 04-16-2006, 07:14 AM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Re: Problems with .htaccess

Hello Bradley,

please post the final .htaccess file that worked for you.
Also, did you tried the original .htaccess without RewriteBase directive?
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 04-16-2006, 11:52 AM
Junior Member
 
Real Name: Bradley J. Ulis
Join Date: Apr 2006
Posts: 10
Re: Problems with .htaccess

Here is my .htaccess file (turns out there is nothing wrong with it at all, its the vbseo_getsitemap.php file that was giving me headaches)

Code:
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On
RewriteBase /
RewriteRule ^(sitemap_index.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/data/sitemap_index.xml.gz [L]
RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/data/$1 [L]

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums)
 
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{REQUEST_FILENAME} (admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.*)$ $1 [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_FILENAME} !chat
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1&%{QUERY_STRING} [L]

RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
As for RewriteBase, I need it or seem I get Internal Server Errors.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 04-16-2006, 12:07 PM
Oleg Ignatiuk's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Oleg Ignatiuk
Join Date: Jun 2005
Location: Belarus
Posts: 21,923
Re: Problems with .htaccess

Hello,
Quote:
turns out there is nothing wrong with it at all, its the vbseo_getsitemap.php file that was giving me headaches
PM sent
__________________
Oleg Ignatiuk / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Add "www." in .htaccess Jason|Xoxide Custom Rewrite Rules 8 03-31-2006 12:54 PM
Any Mac OS X users having problems with vBSEO? MrNase General Discussion 1 02-20-2006 01:38 PM
Old .htaccess makes Problems Pagan General Discussion 3 02-11-2006 06:39 PM
Problems with IonCube VBSEO 2.4 Lazer Troubleshooting 3 02-04-2006 12:03 PM


All times are GMT -4. The time now is 10:21 PM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.