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!

.htaccess question

Discussion in 'General Discussion' started by pixelpadre, Jan 31, 2014.

  1. pixelpadre

    pixelpadre Member

    Aug 24, 2011
    Likes Received:
    Trophy Points:
    Here is a dilemma that has not been solved to my knowledge.

    Problem occurs with shared hosting when numerous domains exist and you add some code in htaccess of the root directory to forward all mobile users to a mobile site.... Once that htaccess has the code then all of the remaining domains will redirect to the one mobile webiste I found that I could defeat this by putting the same htaccess code into the root of each domain and edit the code to redirect to itself. But that doesnt sound like the best alternative.

    Any ideas?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    What specific rewrite rules are you using in the .htaccess file? It seems like a case where using an alternate rewrite rule might work.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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