# 404 on some htm pages but not all

**URL:** <https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716>\
**Category:** Hosting Support\
**Created:** [September 10, 2024, 9:52pm UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716 "2024-09-10T21:52:44Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![roxics](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/roxics/32/50372_2.png) [@roxics](https://forum.infinityfree.com/u/roxics)\
**Post date:** [September 10, 2024, 9:52pm UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/1 "2024-09-10T21:52:44Z")

</div>

So this is very strange. My site is HTML. I’m using .htm pages. Everything works locally. All links go the the rights places. But some of my pages show up as 404s after uploading to the server, and others don’t.

After playing around a bit, I noticed that using the www. in front of the url makes the pages show up and not 404. But all of my links are relative in my code, so none of my links have a url in them, and again some are working right and some 404. I’ve never encountered this before.

Is there a way, somewhere in my control panel, to get my website to use the www. instead of just the domain name without it?

---

<div class="post-metadata">

**Author:** ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)\
**Post date:** [September 10, 2024, 10:35pm UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/2 "2024-09-10T22:35:35Z")

</div>

you need to post some details like links to your website and which pages are having issues

without this information we cannot investigate

---

<div class="post-metadata">

**Author:** ![roxics](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/roxics/32/50372_2.png) [@roxics](https://forum.infinityfree.com/u/roxics)\
**Post date:** [September 10, 2024, 11:01pm UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/3 "2024-09-10T23:01:20Z")

</div>

[Scapefilms.com/about.htm](http://Scapefilms.com/about.htm) is one example

---

<div class="post-metadata">

**Author:** ![roxics](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/roxics/32/50372_2.png) [@roxics](https://forum.infinityfree.com/u/roxics)\
**Post date:** [September 10, 2024, 11:04pm UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/4 "2024-09-10T23:04:13Z")

</div>

[Scapefilms.com/films.htm](http://Scapefilms.com/films.htm) is another.  
I’ve already cleared my cache and even trip loaded the pages. Again they work with the www. So I’m asking if there is a way to include that. In the control panel.

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [September 10, 2024, 11:06pm UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/5 "2024-09-10T23:06:23Z")

</div>

1. Make sure your document root is correct

2. Share a screenshot of the file manager / FTP where you have the files.

---

<div class="post-metadata">

**Author:** ![Greenreader9](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/greenreader9/32/22847_2.png) [@Greenreader9](https://forum.infinityfree.com/u/Greenreader9)\
**Post date:** [September 11, 2024, 1:41am UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/6 "2024-09-11T01:41:58Z")

</div>

Split this topic on September 11, 2024, 1:41am UTC

A post was split to a new topic: [I Hijacked someone else’s post :: Need help with 404 error](https://forum.infinityfree.com/t/i-hijacked-someone-elses-post-need-help-with-404-error/98722)

---

<div class="post-metadata">

**Author:** ![roxics](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/roxics/32/50372_2.png) [@roxics](https://forum.infinityfree.com/u/roxics)\
**Post date:** [September 11, 2024, 1:27am UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/7 "2024-09-11T01:27:56Z")

</div>

The document root is the htdocs folder. It’s in the same directory as the other pages.

---

<div class="post-metadata">

**Author:** ![lovebug](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/lovebug/32/57624_2.png) [@lovebug](https://forum.infinityfree.com/u/lovebug)\
**Post date:** [September 11, 2024, 2:36am UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/8 "2024-09-11T02:36:19Z")

</div>

they both work for me without the www

 ![image](https://forum-cdn.infinityfree.net/original/3X/6/9/69edab088b190b097deee5bc4650607289126910.jpeg)  
 ![image](https://forum-cdn.infinityfree.net/original/3X/0/6/06e08da4de2dd9257647a741bad0bb1b6988d08f.png)

---

<div class="post-metadata">

**Author:** ![roxics](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/roxics/32/50372_2.png) [@roxics](https://forum.infinityfree.com/u/roxics)\
**Post date:** [September 11, 2024, 3:46am UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/9 "2024-09-11T03:46:01Z")

</div>

Thank you. It must be Chrome for me. Even though I’ve cleared my cache. I should have checked in another browser. Where it is working for me as well.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [September 18, 2024, 3:46am UTC](https://forum.infinityfree.com/t/404-on-some-htm-pages-but-not-all/98716/10 "2024-09-18T03:46:02Z")

</div>

Closed on September 18, 2024, 3:46am UTC

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