vBulletin Search Engine Optimization
This is a discussion on 301 Redirecting Domains within the General Discussion forums, part of the vBulletin SEO Discussion category; I have a ton of domains I want to go through and 301 redirect to make sure none of the ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| ||||
| ||||
| 301 Redirecting Domains I have a ton of domains I want to go through and 301 redirect to make sure none of the current redirects I am using on those are causing my Google problems. For example: I own v6mustangs.com and want to 301 redirect to mustangevolution.com what do I need to add to .htaccess? |
| | ||||
| ||||
| Re: 301 Redirecting Domains .htaccess in your forum directory: Code: RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.mustangevolution\.com
RewriteRule (.*) http://www.mustangevolution.com/forum/$1 [R=301,L] .htaccess in your root: Code: RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.mustangevolution\.com
RewriteRule (.*) http://www.mustangevolution.com/$1 [R=301,L]
__________________ Keith Cohen / Crawlability Inc. vBulletin SEO 3.1.0 - Unencrypted, with vBulletin Blogs Compatibility Update to 3.1.0 GOLD vBSEO Google/Yahoo Sitemap Generator v.2.1 Update to 2.1 if you have upgraded to vBSEO 3.0 or 3.1.0 6X Traffic - $1400 in One Day with vBSEO! My Personal Sites: My Blog | GPS Discussion Forum Last edited by Keith Cohen; 11-13-2006 at 04:05 PM. |
|
#3
| ||||
| ||||
| Re: 301 Redirecting Domains I mean I want to redirect v6mustangs.com to Mustangevolution.com... unless I am missing something... just replace v6mustangs.com in the first line? |
|
#4
| ||||
| ||||
| Re: 301 Redirecting Domains No, that will redirect anything NOT mustangevolution.com.
__________________ Keith Cohen / Crawlability Inc. vBulletin SEO 3.1.0 - Unencrypted, with vBulletin Blogs Compatibility Update to 3.1.0 GOLD vBSEO Google/Yahoo Sitemap Generator v.2.1 Update to 2.1 if you have upgraded to vBSEO 3.0 or 3.1.0 6X Traffic - $1400 in One Day with vBSEO! My Personal Sites: My Blog | GPS Discussion Forum |
|
#5
| ||||
| ||||
| Re: 301 Redirecting Domains ah ok |
|
#6
| ||||
| ||||
| Re: 301 Redirecting Domains != not |
|
#7
| ||||
| ||||
| Re: 301 Redirecting Domains Yea I didnt catch that the first time |
|
#8
| |||
| |||
| Re: 301 Redirecting Domains I have figured out how to redirect requests for pages that WERE residing in a directory called forum. They now properly go to www.domain.com/..... The part i have NOT figured out is the syntax to insure that any pages that come in WITHOUT the www. ie, domain.com/..... will have the WWW. prepended to the URL. I'm almost there.... Quote:
|
|
#9
| ||||
| ||||
| Re: 301 Redirecting Domains Quote:
__________________ Keith Cohen / Crawlability Inc. vBulletin SEO 3.1.0 - Unencrypted, with vBulletin Blogs Compatibility Update to 3.1.0 GOLD vBSEO Google/Yahoo Sitemap Generator v.2.1 Update to 2.1 if you have upgraded to vBSEO 3.0 or 3.1.0 6X Traffic - $1400 in One Day with vBSEO! My Personal Sites: My Blog | GPS Discussion Forum Last edited by Keith Cohen; 07-04-2006 at 09:13 PM. |
|
#10
| |||
| |||
| Re: 301 Redirecting Domains By the way, can you tell me why the page loads and then reloads again. Is it reloading as it encounters different rules? Or does the page load AFTER it evaluates any/all the rules and conditions in the .htaccess. Please appreciate that one of the reasons I purchased vbseo was the education I would receive on SEO. Thank you for the excellent support and service. I just got things going last night and even on a fairly 'hacked' vb 3.6 beta, vbseo runs with out a hiccup. |
|
#11
| ||||
| ||||
| Re: 301 Redirecting Domains Not sure about the loading/reloading. Did you put the commands above the vBSEO commands?
__________________ Keith Cohen / Crawlability Inc. vBulletin SEO 3.1.0 - Unencrypted, with vBulletin Blogs Compatibility Update to 3.1.0 GOLD vBSEO Google/Yahoo Sitemap Generator v.2.1 Update to 2.1 if you have upgraded to vBSEO 3.0 or 3.1.0 6X Traffic - $1400 in One Day with vBSEO! My Personal Sites: My Blog | GPS Discussion Forum Last edited by Keith Cohen; 07-04-2006 at 10:34 PM. |
|
#12
| |||
| |||
| Re: 301 Redirecting Domains Yes as a matter of fact, these are all the commands that occur before vbseo commands: PHP Code: |
|
#15
| |||
| |||
| Thanks for this thread, I can use the posted code |
| Thread Tools | |
| |
LinkBacks (?)
| ||||
| Posted By | For | Type | Date | |
| Logout Sorunu - Bütün üyeler tekrar login olmak zorunda - Webmaster Forum & Webmaster Okulu | Post #2 | Pingback | 04-09-2008 05:00 PM | |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redirecting Custom Rewrites outside forum folder | vissa | Bug Reporting | 7 | 03-10-2006 05:55 PM |
| 301 homepage | Ashley | General Discussion | 2 | 02-15-2006 05:34 AM |
| 301 Redirects .. built in? | Ace Shattock | General Discussion | 1 | 09-30-2005 11:18 AM |