Y T Nuke  
Results 1 to 4 of 4
Hi, I need some help redirecting a site. What I found is that I had ...
  1. #1
    ActionTaker's Avatar
    ActionTaker is offline Regular Member
    Join Date
    Jun 2011
    Posts
    481
    Reputation
    83
    Thanks
    113
    Thanked 127 Times in 89 Posts

    Default Redirect question

    Hi,

    I need some help redirecting a site.

    What I found is that I had to add

    Code:
    Redirect 301 / http://newdomain.com/
    To the htaccess file, which I did. It now redirects to the new domain but if I go to olddomain.com/1 and access it now it redirects to newdomain.com/1 and not simply newdomain.com. How can I change it so it redirects everything to the root domain and how can I do it so I redirect specific pages to specific pages? Say I wanted olddomain.com to redirect to newdomain.com/2 and everything else to the root, how is that done.

    I'm not a programmor so I feel a bit lost. Thanks for the help :-)
    You can always repay me by hitting "Add Reputation" under my post.

  2. #2
    davids355's Avatar
    davids355 is offline Jr. VIP
    Join Date
    Apr 2011
    Location
    Uk
    Age
    29
    Posts
    2,146
    Reputation
    939
    Thanks
    443
    Thanked 881 Times in 579 Posts

    Default

    This will direct everything to new domain root.

    Options +FollowSymLinks
    RewriteEngine on
    RewriteRule (.*)$ http://newdomain.com [R=301,L]

    If you want to redirect few specific pages just do a static redirect above this code, like redirect 301 test2.HTML http://newsite.com/test2new.HTML

    Or whatever. If you want to map all pages to new pages with a match pattern it's a bit more complicated...
    Elite SEO - Guaranteed results at an affordable price - check out the reviews - Order now!

  3. The Following User Says Thank You to davids355 For This Useful Post:

    ActionTaker (12-27-2011)

  4. #3
    davids355's Avatar
    davids355 is offline Jr. VIP
    Join Date
    Apr 2011
    Location
    Uk
    Age
    29
    Posts
    2,146
    Reputation
    939
    Thanks
    443
    Thanked 881 Times in 579 Posts

    Default

    Quote Originally Posted by ActionTaker View Post
    Thanks, rep added. I'll try it out later
    No problem, just post back/pm me if you still have trouble
    Elite SEO - Guaranteed results at an affordable price - check out the reviews - Order now!

  5. The Following User Says Thank You to davids355 For This Useful Post:

    ActionTaker (12-27-2011)

  6. #4
    ActionTaker's Avatar
    ActionTaker is offline Regular Member
    Join Date
    Jun 2011
    Posts
    481
    Reputation
    83
    Thanks
    113
    Thanked 127 Times in 89 Posts

    Default Re: Redirect question

    Thanks, rep added. I'll try it out later
    You can always repay me by hitting "Add Reputation" under my post.

  7. The Following User Says Thank You to ActionTaker For This Useful Post:

    davids355 (12-29-2011)

Natural Slow Link Building


SEO Blasts - High quality link building service

Similar Threads

  1. 301 Redirect Question
    By Catt Mutts in forum White Hat SEO
    Replies: 8
    Last Post: 12-03-2011, 01:09 PM
  2. how does a redirect work? (cpa offer question)
    By lostkitten in forum Black Hat SEO
    Replies: 0
    Last Post: 07-02-2011, 08:19 AM
  3. Complex 301 Redirect & SEO Question...
    By agag2 in forum Black Hat SEO
    Replies: 7
    Last Post: 11-16-2010, 05:26 AM
  4. 301 redirect question
    By JinxY in forum White Hat SEO
    Replies: 3
    Last Post: 06-15-2008, 08:01 AM
  5. Redirect Question
    By vivianrollins in forum Cloaking and Content Generators
    Replies: 18
    Last Post: 06-12-2008, 10:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
  SEnukeX SEO Software
Proudly Powered by Hostwinds.com Web Hosting Click Here For Exclusive BHW Discounts!

Cheap Web Hosting


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76