vBulletin Search Engine Optimization
This is a discussion on redirect non-www to www within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, I want to put a code that redirects non-www to www. Is that bad and is it bad for ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| redirect non-www to www Hi, I want to put a code that redirects non-www to www. Is that bad and is it bad for vbseo? |
|
#2
| ||||
| ||||
| Re: redurect non-www to www It's good.
__________________ Keith Cohen / 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. My Personal Sites: My Blog | GPS Discussion Forum |
|
#4
| ||||
| ||||
| Re: redurect non-www to www In your root .htaccess, and in your forums .htaccess: Code: RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
__________________ Keith Cohen / 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. My Personal Sites: My Blog | GPS Discussion Forum |
|
#6
| ||||
| ||||
| Re: redirect non-www to www (See edit above.)
__________________ Keith Cohen / 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. My Personal Sites: My Blog | GPS Discussion Forum |
|
#7
| |||
| |||
| Re: redirect non-www to www Code:
Code:
|
|
#8
| ||||
| ||||
| Re: redirect non-www to www Correct. I forgot to differentiate.
__________________ Keith Cohen / 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. My Personal Sites: My Blog | GPS Discussion Forum |
|
#9
| |||
| |||
| Re: redirect non-www to www Code: #root .htaccesss Code: #forum .htaccesss Last edited by Ashley; 12-28-2005 at 08:38 PM. |
|
#11
| ||||
| ||||
| Re: redirect non-www to www Worked for me when I went to http://sportsoutlaw.com
__________________ Keith Cohen / 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. My Personal Sites: My Blog | GPS Discussion Forum |
|
#12
| |||
| |||
| Re: redirect non-www to www show us whats in your root .htaccess |
|
#13
| |||
| |||
| Re: redirect non-www to www Quote:
|
|
#14
| |||
| |||
| Re: redirect non-www to www Code: # -FrontPage-AddType application/x-httpd-php .php .htm .htmlIndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*order deny,allowdeny from allallow from allorder deny,allowdeny from allAuthName www.sportsoutlaw.comAuthUserFile /home/sportsou/public_html/_vti_pvt/service.pwdAuthGroupFile /home/sportsou/public_html/_vti_pvt/service.grpRewriteEngine onRewriteCond %{HTTP_HOST} !^www\.sportsoutlaw\.com RewriteRule (.*) http://www.sportsoutlaw.com/$1 [R=301,L]RewriteCond %{HTTP_REFERER} !^$RewriteCond %{HTTP_REFERER} !^http://sportsoutlaw.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://sportsoutlaw.com$ [NC]RewriteCond %{HTTP_REFERER} !^http://thesportstavern.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://thesportstavern.com$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.sportsoutlaw.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.sportsoutlaw.com$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.thesportstavern.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.thesportstavern.com$ [NC]RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
|
|
#15
| |||
| |||
| Re: redirect non-www to www # -FrontPage-AddType application/x-httpd-php .php .htm .htmlIndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*order deny,allowdeny from allallow from allorder deny,allowdeny from allAuthName www.sportsoutlaw.comAuthUserFile /home/sportsou/public_html/_vti_pvt/service.pwdAuthGroupFile /home/sportsou/public_html/_vti_pvt/service.grpRewriteEngine onRewriteCond %{HTTP_HOST} !^www\.sportsoutlaw\.com RewriteRule (.*) http://www.sportsoutlaw.com/$1 [R=301,L]RewriteCond %{HTTP_REFERER} !^$RewriteCond %{HTTP_REFERER} !^http://sportsoutlaw.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://sportsoutlaw.com$ [NC]RewriteCond %{HTTP_REFERER} !^http://thesportstavern.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://thesportstavern.com$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.sportsoutlaw.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.sportsoutlaw.com$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.thesportstavern.com/.*$ [NC]RewriteCond %{HTTP_REFERER} !^http://www.thesportstavern.com$ [NC]RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]RewriteRule ^(sitemap.*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] |
| Thread Tools | |
|
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redirecting non-www to www version | DN lodge | General Discussion | 2 | 03-16-2008 11:47 AM |
| Redirect index.php?blablablabla | googledave | Custom Rewrite Rules | 9 | 02-06-2006 08:45 PM |
| Best way to redirect my old forum to vb using 301 | Bellinis | General Discussion | 11 | 10-29-2005 09:03 PM |