vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Do you *Demand Blazing Speed* for Your *Optimized* vBulletin/vBSEO Hosting? Crawlability Inc. Files for SEO Technology Patent vBSEO Helps Forum Earn $100/day from Google AdSense
se sw

301 Redirecting Domains

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 ...

Go Back   vBulletin SEO Forums > vBulletin SEO Discussion > General Discussion

Enhancing 80 million pages.

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack (1) Thread Tools
  #1  
Old 05-17-2006, 10:01 PM
BamaStangGuy's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: Brent Wilson
Join Date: Aug 2005
Location: Huntsville, Alabama
Posts: 2,269
Send a message via AIM to BamaStangGuy Send a message via MSN to BamaStangGuy
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  1 links from elsewhere to this Post. Click to view. #2  
Old 05-17-2006, 10:06 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,081
Blog Entries: 1
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 05-17-2006, 10:08 PM
BamaStangGuy's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: Brent Wilson
Join Date: Aug 2005
Location: Huntsville, Alabama
Posts: 2,269
Send a message via AIM to BamaStangGuy Send a message via MSN to BamaStangGuy
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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 05-17-2006, 10:09 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,081
Blog Entries: 1
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 05-18-2006, 02:45 PM
BamaStangGuy's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: Brent Wilson
Join Date: Aug 2005
Location: Huntsville, Alabama
Posts: 2,269
Send a message via AIM to BamaStangGuy Send a message via MSN to BamaStangGuy
Re: 301 Redirecting Domains

ah ok
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 05-19-2006, 05:40 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 3,370
Re: 301 Redirecting Domains

!= not
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 05-19-2006, 08:17 PM
BamaStangGuy's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: Brent Wilson
Join Date: Aug 2005
Location: Huntsville, Alabama
Posts: 2,269
Send a message via AIM to BamaStangGuy Send a message via MSN to BamaStangGuy
Re: 301 Redirecting Domains

Yea I didnt catch that the first time
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-04-2006, 08:23 PM
Junior Member
 
Real Name: Larry Eitel
Join Date: Jun 2006
Posts: 21
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:
Originally Posted by Keith Cohen
.htaccess in your forum directory:
Code:
RewriteCond %{HTTP_HOST} !^www\.mustangevolution\.com
RewriteRule (.*) http://www.mustangevolution.com/forum/$1 [R=301,L]
.htaccess in your root:
Code:
RewriteCond %{HTTP_HOST} !^www\.mustangevolution\.com
RewriteRule (.*) http://www.mustangevolution.com/$1 [R=301,L]
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 07-04-2006, 09:01 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,081
Blog Entries: 1
Re: 301 Redirecting Domains

Quote:
Originally Posted by LarryEitel

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.
The code I posted (and you quoted) does exactly that.
__________________
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 07-04-2006, 09:39 PM
Junior Member
 
Real Name: Larry Eitel
Join Date: Jun 2006
Posts: 21
Re: 301 Redirecting Domains

Goes to show how much I have to learn. Seems to do the trick.

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11  
Old 07-04-2006, 09:52 PM
Keith Cohen's Avatar
vBSEO Staff
vBSEO Total Customer SupportBig Board Administrator
 
Real Name: Keith Cohen
Join Date: Jul 2005
Location: Raleigh, NC USA
Posts: 6,081
Blog Entries: 1
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12  
Old 07-05-2006, 12:07 AM
Junior Member
 
Real Name: Larry Eitel
Join Date: Jun 2006
Posts: 21
Re: 301 Redirecting Domains

Yes as a matter of fact, these are all the commands that occur before vbseo commands:
PHP Code:
RewriteEngine on
RewriteCond 
%{HTTP_HOST} !^www.noblood.org
RewriteRule 
(.*) http://www.noblood.org/$1 [R=301,L]
RewriteRule ^forum/(.*) http://www.noblood.org/$1 [L,R=301]

# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti* 
Do you see anything I could/should remove or rearrange?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13  
Old 07-30-2006, 09:10 PM
Crow's Avatar
Member
 
Real Name: Crow
Join Date: Jan 2006
Location: Michigan
Posts: 82
Blog Entries: 1
I'm dumb, Fixed it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14  
Old 07-31-2006, 01:15 AM
Loco's Avatar
Senior Member
vBSEO Pre-Release TeamBig Board Administrator
 
Real Name: Brandon Sheley
Join Date: Oct 2005
Location: Kansas
Posts: 1,787
Blog Entries: 1
Send a message via AIM to Loco Send a message via MSN to Loco Send a message via Yahoo to Loco
Quote:
Originally Posted by Crow View Post
I'm dumb, Fixed it!
I'm Brandon, nice to meet ya
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15  
Old 07-31-2006, 02:01 AM
Senior Member
 
Real Name: Lian
Join Date: Jun 2006
Location: Munich, DE
Posts: 275
Thanks for this thread, I can use the posted code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

LinkBacks (?)
LinkBack to this Thread: http://www.vbseo.com/f4/301-redirecting-domains-5061/

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


All times are GMT -4. The time now is 04:28 PM.


Powered by vBulletin Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC6 ©2008, Crawlability, Inc.