How do I make 404 error page to one I want? I currently use 000webhost but I'm chaging it, and it goes to "404 000webhost page could not be found" or something like that.
Also, I want this page appear when normal users tries to get to admincp by going to URL/admin.
This is how I want it to look like:
Use .htaccess file!
Example:
.htaccess
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
ErrorDocument 404 404.html
order deny,allow
make a new 404.html file!
(2012-11-12, 11:27 AM)tamnguyen949 Wrote: [ -> ]Use .htaccess file!
Example:
.htaccess
<Files ~ "^\.(htaccess|htpasswd)$">
deny from all
</Files>
ErrorDocument 404 404.html
order deny,allow
make a new 404.html file!
I've never edited htaccess. I don't know where to place that.
Put .htaccess in public_html/.htaccess
(2012-11-12, 11:48 AM)tamnguyen949 Wrote: [ -> ]Put .htaccess in public_html/.htaccess
No, I mean where do I place that code you gave me.
(2012-11-12, 11:54 AM)tamnguyen949 Wrote: [ -> ]Any line! top or bottom
It didn't work. It still goes to "http://error404.000webhost.com/?".
Clear cache and cookies! try again!
make sure .htaccess in root!