Not Able To Connect Other HTML Pages

epiz_30529945

I am trying to link a “Contact” page in my website with the following code:

    <div class="nav">
      <img src="images/navbaricon.jpg" height="80px" width="120px" align="left">
      <div class="container">
        <ul>
          <li><a href="index.html">Home</a></li>
          <li><a href="shop.html">Shop</a></li>
          <li><a href="about.html">About</a></li>
          <li><a href="contact.html">Contact</a></li>
        </ul>
      </div>
    </div>

All the other pages, like Shop, About, etc work, yet whenever I click on the Contact page in the navbar it takes me to the InfinityFree 404 Page.

I’m not sure why this is happening, the file clearly exists with my other html files within
htdocs > contact.html, spelling and capitalization is correct.

All my other html pages are working fine, there’s just something buggy with my contacts file, I have waited for it to update with no change.

What am I doing wrong?

Could you please share your website URL?

1 Like

Hey @KobeFF,

  1. Please fill out the template?
  2. We need more information like URL etc.
  3. A 404 error means the file doesn’t exist FYI.

@YT_Xaos @jaikrishna.t Website is https://shadysean.42web.io/

image

The page exists, it just won’t take me to https://shadysean.42web.io/contact.html

The page seems to load but it’s blank, could you check if there is content in the contact.html file?

5 Likes

Try clearing your cache, because you have everything setup correctly.

1 Like

I don’t think it’s related to cache.

2 Likes

Why not? The link is working just fine for me.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.