Why my website is 404 not found
Author: alvin ganesya
Visited 1491,
Followers 1,
Shared 0
why after being exported to the internet my website is 404 not found.
I have turned off the anti-virus, and the firewall but still the website is displayed 404 not found.
I have already asked the domain hosting tenants, that the reason for not showing my website is there is no index.php
I am confused what to do. please help
Posted on the
Your Website ?
I think the Site is online,
Or do You have a Problem with the Browser?
https://www.rentalmobil.biz.id/
JJ.
Alvin, have you tried clearing the cache on your browser (ctrl+F5) and checking the url (address) of your website you are going to?
https://www.rentalmobil.biz.id/index.html does not exist
https://www.rentalmobil.biz.id/index.php
Does exist
So if you have a favorite with this adress: https://www.rentalmobil.biz.id/index.html
you get a 404 error.
use an .htaccess file to make users that goto https://www.rentalmobil.biz.id/index.html automaticly switch to https://www.rentalmobil.biz.id/index.php
Create an .htaccess file at the root of your website and add this line:
AddType application/x-httpd-php5 .html .htm
you can make the file by using notepad, upload it to the root with buttons on top if x5 is connected to your webserver.
More on hraccess, check internet there are many pages like this: http://www.build-your-website.co.uk/htaccess-file/
Best Regards,