vBulletin Search Engine Optimization
This is a discussion on getting whitepages after upgrading to vbseo 3.20 gold within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I think there is an issue with the .htaccess. First noticed it when I did the upgrade and hit Save ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| getting whitepages after upgrading to vbseo 3.20 gold I think there is an issue with the .htaccess. First noticed it when I did the upgrade and hit Save in the vbseo cp. My browser wants to download the vbseo.php page as a file. Then when i went to the main forum page the page was completely blank and white or tries to download the php page as a file again. Pretty sure it's a problem with the .htaccess file but not sure what. I'm guessing something in the htaccess is causing apache to not recognize php pages as it should? |
|
#2
| |||
| |||
| Just noticed that if I go to Code: http://www.ernieball.com/forums If I go to Code: http://www.ernieball.com/forums/index.php Last edited by Chewie; 07-11-2008 at 01:33 PM. |
|
#3
| ||||
| ||||
| yeah, sounds like you have some mime type issues. did you have some htaccess before to say direct .php to the php5 compiler? do other php scripts work? (to test, make a simply php_info() script |
|
#4
| |||
| |||
| I don't know what can be wrong. Everything worked fine with non-Gold versions. Been using vbseo for years now. Wasn't till I upgraded to this latest version and replaced the .htaccess with the version in the gold version that this started happening. So, yes other php scripts work and no, there is nothing in the .htaccess to direct .php to the php5 compiler, not unless that's what the .htaccess vbsee 3.20 gold does 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
# 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/)
#RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
RewriteRule (.*) http://www.ernieball.com/forums/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]
Code: #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.ernieball.com/forums/$1 [L,R=301]
Here's my old .htaccess 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
# 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)
#RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.ernieball\.com
RewriteRule (.*) http://www.ernieball.com/forums/$1 [L,R=301]
RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
RewriteRule ^(sitemap.*\.(xml\.gz|txt))$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
|
|
#5
| |||
| |||
| Just went through my error logs. Maybe I found the problem? [Mon Jul 14 07:26:29 2008] [alert] [client 74.6.22.120] /home/ernieball.com/forums/.htaccess: RewriteRule: bad argument line '^((urllist|sitemap_).*\\.(xml|txt)(\\.gz)?)$' Not sure what that means though or if it's really an error or just a warning |
|
#6
| |||
| |||
| And I think I fixed it. I think you guys may have written the htaccess.txt file included with vbseo 3.20 gold on a windows system? I think there are character encoding issues. From the error in my logs I thought maybe I'll replace the pipe ( | ) from the line showing up in the error log. To be thorough though, I replaced all the non-alphanumeric characters in the included htaccess.txt and voila it worked again. |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| After Upgrading to vBSEO RC7 | UnderEstimated | Troubleshooting | 9 | 06-02-2008 02:22 AM |
| Upgrading VB and VBSEO | ctfortner | General Discussion | 0 | 05-19-2008 09:27 AM |
| Upgrading from vBSEO 3.0 RC6.0 to RC8.0 | Chris Powell | Troubleshooting | 28 | 02-12-2007 05:51 AM |