/    Sign up×
Community /Pin to ProfileBookmark

Customized not found page

Good Morning:

I recently uploaded a customized not found page to my site and I thought it was working correctly in that it contained a link to my home page which seemed to work. I don’t recall if I actually used the link or not however last night I did by requesting a non-existent page which produced the not found page however I discovered that the link was attempting to take me to the requested page which didn’t exist as I had just made up the name.

I checked the link on the page on my computer and uploaded it again to my root directory.

I then entered a request for a non-existent page in Firefox and the new not found page appeared however the link had changed to that of my requested page.

Slightly wierd if you ask me but …………..

Any comments would be welcome.

Cheers

Jack
The Magus

to post a comment
Full-stack Developer

1 Comments(s)

Copy linkTweet thisAlerts:
@The_MagusauthorJan 27.2007 — Good afternoon:

After submitting the above post I was messing around with the .htaccess and notfound.shtml files when I decided to try adding "http://" in front of the "www.mydomain.com" to see if this would work.

I uploaded the file and am pleased to report that including the full URL appears to be necessary as the page is not loading correctly with the correct link i.e. my home page - not the page that could not be found in the first place.

I think I got the information from the following link which is correct but does not mention that the full URL is required:

http://www.thesitewizard.com/archive/custom404.shtml

Ever onward and upward,

Jack

The Magus
×

Success!

Help @The_Magus spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.28,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...