vBulletin Search Engine Optimization
This is a discussion on / errors, but /forum-name/ etc. doesn't within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I'm on shared hosting (yes, bad, I know), and they allow custom compiled php.cgi, which I intend to use and ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| / errors, but /forum-name/ etc. doesn't
I'm on shared hosting (yes, bad, I know), and they allow custom compiled php.cgi, which I intend to use and slap APC on. Based on information provided, in order to tell their apache installation to use the custom compiled php, I'd need to add these lines to .htaccess: Code: Options +ExecCGI AddHandler php-cgi .php Action php-cgi /cgi-bin/php.cgi Edit: similar issue (same host) as this one here: can not use vbseo after using custom php.ini in dreamhost Last edited by Alfarin; 05-04-2008 at 02:26 AM. |
|
#2
| ||||
| ||||
|
Hello, what is your full .htaccess file contents? Please try to change this line in .htaccess: Code: RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA] Code: RewriteRule ^(cgi-bin/php.cgi/)?(.*\.php)$ vbseo.php?vbseourl=$2 [L,QSA]
__________________ 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. |
|
#3
| |||
| |||
|
Here's the .htaccess contents (if I uncomment the first 4 lines it won't work): Code: #Options +ExecCGI
#Options +FollowSymLinks
#AddHandler php-cgi .php
#Action php-cgi /cgi-bin/php.cgi
<FilesMatch "^php5?\.(ini|cgi)$">
Order Deny,Allow
Deny from All
Allow from env=REDIRECT_STATUS
</FilesMatch>
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
# 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.yourdomain.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]
Code: RewriteRule ^(.*\.php(/.*)?)$ vbseo.php?vbseourl=$1 [L,QSA] Commented out the above line, added the recommended line, it seems to be working now. Checking other things to see if there is any side effect, thanks! Edit2: Just posting back, everything seems to be working great! Thanks!!! Last edited by Alfarin; 05-04-2008 at 05:29 PM. |
|
#4
| ||||
| ||||
| 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 |
| errors forum down | xboxlive42626 | Bug Reporting | 4 | 05-03-2006 09:09 AM |
| db errors: mark forum read | danrak | Troubleshooting | 2 | 11-26-2005 09:07 AM |