Redirect 301 without mod rewrite [ Redirect 301 / / ]

Discussion in 'Apache' started by chevchelios, Jun 23, 2010.

  1. #1
    Hi. I've done a 301 redirect from my old site to my new site using this:
    Redirect 301 / http://www.new.net/

    I used this because i don't have mod rewrite on on my server. I tried and didn't worked.
    Now, the problem is that i have to 301 redirect the other pages. I can do it manually because there are few. I tried like this:

    Redirect 301 / http://www.new.net/
    Redirect 301 /about.html http://www.new.net/about.php
    Redirect 301 /contact.html http://www.new.net/contact.php
    Redirect 301 /first-page.html http://www.new.net/page-one.php
    .. and didn't worked. Only the homepage worked.


    As you see, the new pages are .php and have different urls from the old, but they are serving the same thing. So, anyone have o solution to my problem ?
     
    chevchelios, Jun 23, 2010 IP
  2. chevchelios

    chevchelios Active Member

    Messages:
    116
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    Never mind, i figured it out. Thanks again, oh, you magnificently DP.
     
    chevchelios, Jun 24, 2010 IP