Hello, everyone!
I have the problem with custom 404 page. I spent much time and felt crazy with it.
Normally, when we search non-exist links and it has shown by default as "Page not found" phrase in the white page.
I'd like to create more beautiful error page than that.
I started to follow the couch doc by creating 404.php in root folder, then uncomment #ErrorDocument 404 /404.php in .htaccess file generated from gen_htaccess. Anyway, it has not fully worked. When I started to browse the non-exist link, e.g http://www.example.com/non, the error page has shown only the page without loading the style (html without css). I have no idea with that.
Second, if I browse the non-exist link with any word after .php/, e.g. http://www.example.com/contact.php/something, the page was shown the original html contents of contact.php without loading css style.
I do not want those.
What I want is,
http://www.example.com/non
http://www.example.com/contact.php/something
showing the 404 error page, when I browse those links.
Another question with SEO url links,
I do not want this URL http://www.example.com/about.php, but http://www.example.com/about
How can I create SEO link like that?
I am going crazy with those. please kindly help as soon as possible.
Thank you in advance.
I have the problem with custom 404 page. I spent much time and felt crazy with it.
Normally, when we search non-exist links and it has shown by default as "Page not found" phrase in the white page.
I'd like to create more beautiful error page than that.
I started to follow the couch doc by creating 404.php in root folder, then uncomment #ErrorDocument 404 /404.php in .htaccess file generated from gen_htaccess. Anyway, it has not fully worked. When I started to browse the non-exist link, e.g http://www.example.com/non, the error page has shown only the page without loading the style (html without css). I have no idea with that.
Second, if I browse the non-exist link with any word after .php/, e.g. http://www.example.com/contact.php/something, the page was shown the original html contents of contact.php without loading css style.
I do not want those.
What I want is,
http://www.example.com/non
http://www.example.com/contact.php/something
showing the 404 error page, when I browse those links.
Another question with SEO url links,
I do not want this URL http://www.example.com/about.php, but http://www.example.com/about
How can I create SEO link like that?
I am going crazy with those. please kindly help as soon as possible.
Thank you in advance.




