Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast
Results 31 to 45 of 62

301 Redirecting Domains

This is a discussion on 301 Redirecting Domains within the General Discussion forums, part of the vBulletin SEO Discussion category; Originally Posted by Oleg Ignatiuk Update - rewrite rules for ISAPI_Rewrite (IIS): Code: RewriteCond Host: yourdomain.com RewriteRule ^(.*)$ http://www.yourdomain.com$1 [L,R=301] ...

  1. #31
    Senior Member
    Real Name
    Ged
    Join Date
    Dec 2006
    Location
    UK
    Posts
    438
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Update - rewrite rules for ISAPI_Rewrite (IIS):
    Code:
    RewriteCond Host: yourdomain.com
    RewriteRule ^(.*)$ http://www.yourdomain.com$1 [L,R=301]
    Hi Oleg

    Only me again

    When I add this to the httpd.ini I lose my images?

    I added it to the one in the helicon folder only.

    Ged

  2. #32
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello Ged,

    what is an example of image URL that is not loaded after that?
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  3. #33
    Junior Member
    Real Name
    Matt OReilly
    Join Date
    Nov 2006
    Posts
    13
    Liked
    0 times
    Quote Originally Posted by Keith Cohen View Post
    .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]
    I have 3 other domains I would like to point to my fourms, will this rewrite help,hurt or do nothing as far as google pagerank is concerned?

  4. #34
    Member
    Real Name
    Steven
    Join Date
    Dec 2006
    Posts
    38
    Liked
    0 times
    There's one small problem that i'm facing right now. I have my forum on my root (http:www.vbseo.com/index.php not http:www.vbseo.com/forums/index.php)

    and i change the ".htaccess" from
    Code:
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    to


    Code:
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/$1 [L,R=301]
    However when i typed in "vbseo.com" into my browser... it stay the same "vbseo.com" What do i need to do so when i type in "vbseo.com" it become www.vbseo.com?

    Thanks

  5. #35
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    You rewrite rules are commented out, you should remove leading "#" characters in both lines.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  6. #36
    Junior Member
    Real Name
    Stephen
    Join Date
    Apr 2006
    Posts
    1
    Liked
    0 times
    Applying it the the forums htaccess I get directed to this

    http://www.domain.com/forums//home/domain/public_html/cheats

    when I try going to domain.com/forums

    Any ideas?

  7. #37
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  8. #38
    Member
    Real Name
    JamieLee2k
    Join Date
    Nov 2006
    Location
    Nuneaton
    Posts
    44
    Liked
    0 times
    So let me get this correct, if I want to redirect everyone from the old URL to the new URL then I use this:

    Code:
    RewriteCond %{HTTP_HOST} !^www.xleagues.net/forum/
    RewriteRule (.*) http://forum.xleagues.net/$1 [R=301,L]
    and I put this in my forums .htaccess ?

  9. #39
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    It should be:
    Code:
    RewriteCond %{HTTP_HOST} !^forum\.xleagues\.net
    RewriteRule (.*) http://forum.xleagues.net/$1 [R=301,L]
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  10. #40
    Member
    Real Name
    JamieLee2k
    Join Date
    Nov 2006
    Location
    Nuneaton
    Posts
    44
    Liked
    0 times
    Thank you it's worked a treat

  11. #41
    Senior Member
    Real Name
    Ged
    Join Date
    Dec 2006
    Location
    UK
    Posts
    438
    Liked
    0 times
    Quote Originally Posted by gedsta View Post
    Hi Oleg

    Only me again

    When I add this to the httpd.ini I lose my images?

    I added it to the one in the helicon folder only.

    Ged
    It works if I do this Oleg

    RewriteCond Host: mydomain\.co.uk
    RewriteRule (.*) http\://www.domain.co.uk$1 [I,RP]

    how would I add the 301 part or do I need to?

  12. #42
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    No changes are required - [RP] means "Redirect Permanently", which corresponds to 301-redirect code.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  13. #43
    Senior Member
    Real Name
    Ged
    Join Date
    Dec 2006
    Location
    UK
    Posts
    438
    Liked
    0 times
    Thanks Oleg

  14. #44
    Senior Member
    Real Name
    serphog
    Join Date
    Oct 2005
    Posts
    166
    Liked
    0 times
    Blog Entries
    1
    I'm having login issues that I believe are related to vBSEO. I've made the following changes to my .htaccess and I'm getting an error, "The page isn't redirecting properly. Firefox has detected that the server is redirecting the request for this address in a way that will never complete. This problem can sometimes be caused by disabling or refusing to accept cookies."
    Code:
    RewriteCond %{HTTP_HOST} !^www\.mysite\.com/forum
    RewriteRule (.*) http://www.mysite.com/forum/$1 [L,R=301]
    BTW, I recently switched servers and that's when the login issue occured. Been dealing with this issue for 5 days, so any help is greatly appreciated.

    TIA.

  15. #45
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    It should be:
    Code:
    RewriteCond %{HTTP_HOST} !^www\.mysite\.com
    RewriteRule (.*) http://www.mysite.com/forum/$1 [L,R=301]
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Page 3 of 5 FirstFirst 1 2 3 4 5 LastLast

Similar Threads

  1. Redirecting Custom Rewrites outside forum folder
    By vissa in forum Bug Reporting
    Replies: 7
    Last Post: 03-10-2006, 06:55 PM
  2. 301 homepage
    By Ashley in forum General Discussion
    Replies: 2
    Last Post: 02-15-2006, 06:34 AM
  3. 301 Redirects .. built in?
    By Ace Shattock in forum General Discussion
    Replies: 1
    Last Post: 09-30-2005, 12:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •