vBulletin Search Engine Optimization
|
This is a discussion on htaccess rewrite thoughts within the General Discussion forums, part of the vBulletin SEO Discussion category; If I want to redirect every instance of and all files/folders http://mydomain.com to http://www.mydomain.com Would I do this like this? ...
| |||||||
|
#1
| |||
| |||
| htaccess rewrite thoughts
If I want to redirect every instance of and all files/folders http://mydomain.com to http://www.mydomain.com Would I do this like this? RewriteEngine On RewriteCond %{HTTP_HOST} ^mydomain.com [NC] RewriteRule ^(.*)$ http://www.mydomain.com/$1 [L,R=301] Is this a good idea from an SEO perspective? |
|
#2
| ||||
| ||||
|
Hello, yes, the code is correct and this is recommended from SEO point of view.
__________________ Oleg Ignatiuk / Crawlability Inc. vBSEO Styles: Version 1.0 PRO For Everyone Version 2.0 For vBSEO Customers vBSEO 3.3.0 Gold Released with New "Virtual HTML Display" Feature Available for Download Now 6X Traffic - $1400 in One Day with vBSEO! Max Out Your SEO |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Syntax for Custom Rewrite Rules | Joe Ward | Custom Rewrite Rules | 10 | 04-15-2009 09:45 AM |
| Manual Rewrite in Htaccess file | sfnet | General Discussion | 2 | 09-23-2007 05:50 AM |
| Full vBulletin Rewrite System | Snake | Custom Rewrite Rules | 13 | 06-05-2007 10:42 PM |
| htaccess rewrite rule for non vbseo page | Pat | Custom Rewrite Rules | 10 | 09-19-2006 02:05 PM |