Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Author « Topic »  

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 02/18/2021 :  02:36:58  
Hello
I have created a 404.html file
also a .htaccess file with the code ErrorDocument 404 404.html

In localhost
If I change a url to a non existant url
the non existant page shows
the incorrect url with 404.html wriitten on that page.

The prepared 404.html does not show.
Thanks for any help

John

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 02/18/2021 :  03:09:29  
I tried
ErrorDocument 404 404.html showed 404.html

ErrorDocument 404 /404.html showed
Not Found
The requested URL /fb-design-responsive/index23.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/5.6.32 Server at localhost Port 80

ErrorDocument 404 ../404.html showed ../404.html
John

Vince
Administrator

42466 Posts

Posted - 02/18/2021 :  10:58:43  
Hi John
Could you try asking your host for help with this as there are lots of differences between different hosting setups.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

JH10
Advanced Member

United Kingdom
304 Posts

Pre-sales questions only
(More Details...)

Posted - 02/18/2021 :  12:31:12  
Hi Vince,
I was trying to do this on localhost so I uploaded those files to the server and it works correctly.

I have had this trouble before.

Many thanks for your help.

John
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000