vBulletin Search Engine Optimization
This is a discussion on Help with .htaccess within the General Discussion forums, part of the vBulletin SEO Discussion category; I put this in my .htaccess to help rewrite urls like look like this (it's logicians webtemplates hack) # Comment ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Help with .htaccess
I put this in my .htaccess to help rewrite urls like look like this (it's logicians webtemplates hack) # 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 vBulletin folder (i.e. RewriteBase /forums) #RewriteBase / RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] 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] RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^view_(.*).htm$ view.php?pg=$1 but it doesn't work. Check: Cruise Line Fans CruiseCams I tried this http://www.cruiselinefans.com/view_cruisecams.html and this http://www.cruiselinefans.com/view_cruisecams.htm no worky |
|
#2
| ||||
| ||||
|
Hello Rex, yuo should put this above vBSEO rewrite rules (right after "RewriteEngine on" line).
__________________ Oleg Ignatiuk / Crawlability Inc. vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#3
| |||
| |||
|
#4
| ||||
| ||||
|
Great!
__________________ Oleg Ignatiuk / Crawlability Inc. vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations vBSEO Google Sitemap Generator - Version 2.2 Released Mandatory Upgrade for vBSEO 3.2.0 GOLD 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 |
| Hotlink Protection Tutorial (Apache Server - .htaccess files) | NeutralizeR | Member Articles | 13 | Today 04:53 AM |
| .htaccess problem right off | eJM | Custom Rewrite Rules | 10 | 08-01-2006 11:27 PM |
| Which .htaccess line is which? | eJM | General Discussion | 5 | 07-04-2006 07:55 AM |
| Add "www." in .htaccess | Jason|Xoxide | Custom Rewrite Rules | 8 | 03-31-2006 12:54 PM |