The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Permanent 301 redirect not working

Discussion in 'Bind / DNS / Nameserver Issues' started by Dazza30, May 4, 2015.

  1. Dazza30

    Dazza30 Registered

    Joined:
    May 4, 2015
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    cPanel Access Level:
    Root Administrator
    Hi all, I must be doing something wrong somewhere, please can you help.

    I currently have the following urls www.domain.co.uk and blog.domain.co.uk being redirected to www.domain.co.uk.

    At the moment, content urls for blog.domain.co.uk are being redirected to there new counterparts on www.domain.co.uk.

    However content urls for www.domain.co.uk are being sent to the site 404 page because the content no longer exists. What I want is all old urls like www.domain.co.uk/alcatel-ot710.html to 301 redirect to www.domain.co.uk.

    I've set this up in Cpanel, but over 1 hour after doing so the link still goes to a 404 page.
     
    #1 Dazza30, May 4, 2015
    Last edited by a moderator: May 4, 2015
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you post the contents of your .htaccess files (within public_html and the subdirectory)? Ensure you replace actual domain names with examples.

    Thank you.
     
Loading...

Share This Page