how to display a message on deleted url links to go back to the homepage

Discussion in 'Site & Server Administration' started by Devaguptam, May 25, 2012.

  1. #1
    Hi All,



    I have planned to change the CSS (content management system) for my website. SO all old links will be replacced with new CSS links.

    So i want to display a message on incoming old url links to go to my website home page.

    How can i do that.


    ****** Also let me know if i enable a URL forwading for a domain lets say xyz.info to xyz.com will all the url's related on xyz.info like xyz.in/myfirstpost be redirected to xyz.com********
     
    Devaguptam, May 25, 2012 IP
  2. BMR777

    BMR777 Well-Known Member

    Messages:
    145
    Likes Received:
    8
    Best Answers:
    1
    Trophy Points:
    140
    #2
    You could create a custom 404 page, which would contain your message and link back to your homepage.
     
    BMR777, May 25, 2012 IP
  3. suave

    suave Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    you could also just do a simple redirect ^^
     
    suave, May 26, 2012 IP
  4. linux7802

    linux7802 Active Member

    Messages:
    110
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    Try to set the "301 Redirect" it tells visitors that the requested page has been moved permanently at a new specified location....
     
    linux7802, Jun 1, 2012 IP