Can I change my urls?

Discussion in 'HTML & Website Design' started by flypark, Dec 4, 2009.

  1. #1
    I have many external links pointing to my inner pages but I need to change the urls is there a way I can do this without losing the links I have pointing to these pages. Or do I have to start from scratch
     
    flypark, Dec 4, 2009 IP
  2. Sweely

    Sweely Well-Known Member

    Messages:
    1,467
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    165
    #2
    301 Redirects is the way to go. Always works like a charm. Google it, it's not hard at all... and it's definitely worth it!
     
    Sweely, Dec 6, 2009 IP
  3. Diputs

    Diputs Greenhorn

    Messages:
    55
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    google "htaccess 301"

    and click on the 3rd link (the site is webweaver.nu)

    He gives you a few ways to go about doing different redirects using the htaccess file.
     
    Diputs, Dec 6, 2009 IP
  4. Traffic-Bug

    Traffic-Bug Active Member

    Messages:
    1,866
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    80
    #4
    You can use 301 redirects in your .htaccess file to safely redirect internal pages. It goes like this:
    RewriteEngine On
    RewriteRule my-old-page.html my-new-page.html

    The browser requesting the old page will be transferred to the new page and the rankings indexing etc will be preserved by the robots.
     
    Traffic-Bug, Dec 6, 2009 IP
  5. anllyy

    anllyy Peon

    Messages:
    211
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Right. 301 redirects will keep the everything. :)
     
    anllyy, Dec 7, 2009 IP
  6. flypark

    flypark Peon

    Messages:
    166
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks guys, I didnt think I was the only person who has had to change their urls before

    Thanks for the info
     
    flypark, Dec 7, 2009 IP
  7. rarnet

    rarnet Active Member

    Messages:
    99
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #7
    separate 301 redirect is there for apachi tom cat , linux and windows hosting, based on that u have to populate the code in htaccess or in index page
     
    rarnet, Dec 7, 2009 IP
  8. flypark

    flypark Peon

    Messages:
    166
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I have spoke to my web guy about the 301 and he has told me 301 is not available on a windows server and that I need to change to a unix server. I have only just moved server and it was a right pain in the a*** Is there anything else I can use without moving servers?
     
    flypark, Dec 8, 2009 IP
  9. Typo Tat

    Typo Tat Peon

    Messages:
    115
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Do you have access to any server side scripting? PHP or ASP? If so, look up 301 redirects for that language. If you can't use server side scripting, look up "client side 301".
     
    Typo Tat, Dec 8, 2009 IP