The full file path, including home/myusername/public_html, appears in URL

Discussion in 'Free Hosting' started by bryan1fm, Jan 4, 2019.

  1. bryan1fm

    bryan1fm New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    It runs on Pico CMS. All of the links are generated. On visiting the site, the page source reveals all of the URLs are correct, eg:
    mydomain.x10.mx/page
    Using any of the navigation links simply reloads the homepage, but the page source reveals all of the URLs have had home/myusername/public_html added into them, eg:
    mydomain.x10.mx/home/myusername/public_html/page
    From this point, the navigation works correctly but the additional directories are still present, both in the page source and the browser address bar.
    A non-existant page redirects to the 404 page but only if the additional directories are included in the path, otherwise it redirects to the home page.
    I don't believe the CMS is at fault because I zipped the site and uploaded it to a different host, where it works without this problem.
    I tried 4 other CMSs and experienced exactly the same with 3 of them.
    I'd like a fix for this but would welcome any ideas, thank you.
     

Share This Page