Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Redirection ---When and WHY ?

Discussion in 'General Discussion' started by furquan, Aug 11, 2012.

  1. furquan

    furquan Well-Known Member

    Joined:
    Jul 27, 2002
    Messages:
    461
    Likes Received:
    3
    Trophy Points:
    168
    Hello all,

    I have a small doubt and I need some one to clarify this.

    a ) When should we use .htaccess for redirection ?

    OR

    b) When should Apache be used for redirection ?

    In what conditions should one of the above be used ?

    Thank you all for your understanding and clarifying my doubts :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,261
    Likes Received:
    390
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    I think the easiest answer might be, I used to have a popular page on my account located here:
    mydomain.com/windows98.html
    That page is now outdated and should be taken down. But I don't want users visiting it to find a 404 instead (page not found) so I might create an htaccess redirect to:
    mydomain.com/windows7.html

    Now my visitors are greeted with a new page instead of no page.

    I'm not exactly sure what you're looking for here though.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice