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.

Linking to subfolders issues (coding help)

Discussion in 'General Discussion' started by Mimeslayer, Feb 26, 2014.

  1. Mimeslayer

    Mimeslayer Registered

    Joined:
    Feb 26, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Html works like I have the index, and the pages subfolder. I want to link from index to the about page in the pages subfolder. I'd type something like <link href="page/about.html"/> and the big button that says 'about' would direct to that page. Instead, when I load the updated webpage, I get a 404 error and it says the page doesn't exist.
    it gives me the following when I use the about link:

    The requested URL /About.html was not found on this server.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    Using the cpanel website manager, what do I need to do to get it to go to the correct folder and page, and open. Then, how would I do the reverse and have those pages link to the root folder, when ../ doesn't seem to work.
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    The error states you used a capital A in the word about. But your link seems to use a lower case a.

    Not sure if thats the issue, but take a peek and see.
     
  3. Mimeslayer

    Mimeslayer Registered

    Joined:
    Feb 26, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    I've changed that several times and no modifications to the name change the error
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    It looks like an issue with the link used in your HTML coding. Try using the full link. EX:

    Code:
    http://domain.com/path/to/file.html
    Thank you.
     
  5. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,453
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Your comment makes no sense. If neither the file nor the link to the file use About.html with that cap A, then why would the error be the same? And if the error is the same, and it clearly mentions a cap A, then there's something else going on there somewhere.

    Could it be that there's another page with the cap A still being used in the link that you have not updated yet, and you've clicked it while clicking around and generated the error?

    Just guessing of course.
     
Loading...

Share This Page