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!

all subdomains/Subfolders are getting redirected

Discussion in 'General Discussion' started by Jade-Prince, Nov 7, 2018.

Tags:
  1. Jade-Prince

    Jade-Prince Registered

    Joined:
    Nov 7, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Website Owner
    Hi,

    I have a website on cPanel platform.
    For festive days I redirect my main domain (www.example.com) to festive folders (www.example.com/festives).
    Now I also have a WordPress blog on my domain (www.example.com/blog).
    The problem is this blog is also getting redirected to festive page, which I don't want to. so any help ?

    Thanks & Regards.
     
    #1 Jade-Prince, Nov 7, 2018
    Last edited by a moderator: Nov 7, 2018
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello @Jade-Prince,

    Can you confirm if you are using any custom rewrite rules in the .htaccess file within the document root of your website (e.g. /home/$username/public_html/.htaccess)? If so, please post the rules here in CODE tags so we can take a look.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Jade-Prince

    Jade-Prince Registered

    Joined:
    Nov 7, 2018
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    cPanel Access Level:
    Website Owner
    No,I don't think I am using any custom rewrite rules.
    Only thing written in .htaccess file is "RewriteOptions inherit"

    This is how I redirect

    - Removed -
     
    #3 Jade-Prince, Nov 9, 2018
    Last edited by a moderator: Nov 9, 2018
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    47,009
    Likes Received:
    2,123
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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