vBulletin Search Engine Optimization
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 ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| 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] 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 |
|
#2
| |||
| |||
| 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? |
|
#3
| ||||
| ||||
| 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. |
|
#4
| |||
| |||
| 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]
|
|
#5
| ||||
| ||||
| Re: Problems with .htaccess
Hello, Quote:
__________________ 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. |
| Thread Tools | |
| |
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 |