/    Sign up×
Community /Pin to ProfileBookmark

‘page not found’ customisation?

If I own the domain [url]www.mydomain.com[/url] and someone types in [url]www.mydomain.com/blah.html[/url] – if that page doesn’t exist they’ll just get an error message.

Is there anyway I can re-direct them to a main page if the page they requested doesn’t exist?

My websites are hosted by an external hosting company.

to post a comment
Full-stack Developer

2 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 23.2005 — See [URL=http://www.webdeveloper.com/forum/showpost.php?p=358738&postcount=5]thread[/URL] , it's the 404 error you are interested in.
Copy linkTweet thisAlerts:
@cusimar9authorMay 24.2005 — Thanks! For some reason the server wouldn't recognise the .htaccess file, but through my hosts's control panel I found a whole section dedicated to re-assigning these errors lol

Handy <=o)
×

Success!

Help @cusimar9 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.27,
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,
)...