vBulletin Search Engine Optimization
This is a discussion on Problem with .htaccess file. within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; There is a problem with .htacces file (I think). http://213.92.110.165/~thecyber/forum/ The requested URL /home/thecyber/public_html/forum/ vbseo .php was not found on ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| ||||
| ||||
|
There is a problem with .htacces file (I think). http://213.92.110.165/~thecyber/forum/ The requested URL /home/thecyber/public_html/forum/vbseo.php was not found on this server. This is my .htaccess: Code: # Helicon ISAPI_Rewrite configuration file
# Version 3.0.0.25
# 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} !^213.92.110.165/~thecyber/
# RewriteRule (.*) http://213.92.110.165/~thecyber/forum/$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} !(moderazione/|moderazione/|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} !^(amministrazione|moderazione|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
Last edited by Oleg Ignatiuk; 10-29-2007 at 08:37 PM. Reason: attachment removed |
|
#2
| ||||
| ||||
|
For ISAPI Rewrite module you need to use the following rules : Code: # When hosting multiple sites on the same server, it is # recommended to limit the rewrite rules to the domain(s) # where vBSEO is installed. Enable (remove '#' at the beginning # to activate) the following rule and replace 'yourdomain.com' # with your actual installation domain name. #RewriteCond Host: (?:www\.)?yourdomain.com RewriteRule ^/forums/((urllist|sitemap).*\.(xml|txt)(\.gz)?)$ /forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] #RewriteCond Host: (?:www\.)?yourdomain.com RewriteCond URL ^/forums/(?!avatars|attachments|iconimages).* RewriteRule ^([^\?]*\.(?:gif|swf.*|jpg|png|css|xml|js|htm|txt|zip)(?:\?(.*))?)$ $1 [I,L] #RewriteCond Host: (?:www\.)?yourdomain.com RewriteCond URL ^/forums/(?!admincp/|modcp/|clientscript/|cpstyles/|images/|search\.php).* RewriteRule ^/forums/(.+?)(?:\?(.*))?$ /forums/vbseo.php?vbseourl=$1(?2&$2) [L] |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hotlink Protection Tutorial (Apache Server - .htaccess files) | NeutralizeR | Member Articles | 13 | 11-20-2008 04:53 AM |
| Making full site backups | FightRice | Member Articles | 17 | 01-05-2008 08:32 PM |
| problem with my .htaccess file? | JustinBrand | URL Rewrite Settings | 3 | 12-04-2006 08:15 AM |