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.

Using SEF URLs on the WHM test link

Discussion in 'General Discussion' started by zhumar, May 3, 2013.

  1. zhumar

    zhumar Registered

    Joined:
    May 3, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    I work at a web development company who sells Joomla websites to 100s of companies worldwide. Joomla allows us to enable SEF URLs by using an .htaccess. This works great on the standard domain during production. However, during development and staging, we would like to provide our clients access to the site to check it out and provide feedback without needing a hosts entry. Can we use SEF URLs when viewing the IP/~username/ URL or is it impossible to use SEF on the test link?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Typically, the custom mod_rewrite rules are not compatible with the mod_userdir (IP~user) URL. It's almost always recommended that the end-user update the hosts file on their machine to access the website URL directly.

    Thank you.
     
  3. zhumar

    zhumar Registered

    Joined:
    May 3, 2013
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    You say mod_rewrite rules don't "typically" work with mod_userdir so does that mean there is a way to do this somehow? The main reason we're trying to accomplish this is because we used to host our sites on the Rackspace cloud. On there, we would be automatically given a test URL for every site we create. This URL worked just like you were on the regular domain meaning SEF URLs worked well. We're just trying to see if we can recreate that convenience.
     
Loading...

Share This Page