vBulletin Search Engine Optimization
This is a discussion on Add www to forum url with no trailing slash within the General Discussion forums, part of the vBulletin SEO Discussion category; Good morning, I'm using the following .htaccess code to add a www to the url of my forum webpages: HTML ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Add www to forum url with no trailing slash
Good morning, I'm using the following .htaccess code to add a www to the url of my forum webpages: HTML Code: RewriteCond %{HTTP_HOST} !^www\.diabetesdaily\.com
RewriteRule (.*) http://www.diabetesdaily.com/forum/$1 [R=301,L]
http://diabetesdaily.com/forum In this case, it appends the home directory on my server to the url like this: http://www.diabetesdaily.com/forum//...lic_html/forum Any ideas on how to fix this? |
|
#2
| ||||
| ||||
|
Please try to add another rewrite condition: Code: RewriteCond %{REQUEST_URI} forum/
__________________ 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
| |||
| |||
|
Thanks! It works perfectly. For future reference, here's what my .htaccess rule looks like: HTML Code: RewriteCond %{HTTP_HOST} !^www\.diabetesdaily\.com
RewriteCond %{REQUEST_URI} forum/
RewriteRule (.*) http://www.diabetesdaily.com/forum/$1 [R=301,L]
|
|
#4
| |||
| |||
|
It helped me too thanks....
|
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vBSEO 2.0 RC7 Released | Juan Muriente | vBSEO Announcements | 17 | 09-08-2005 11:00 PM |