Upon my website (using Zen Cart) I am having problems with the 404 forwarding. It works so long as the wrong address is similar to this:
Will there be a way I’ll make this work to ensure if a person types in:
they are brought to:
Many thanks.
I think you could probably set way up an ErrorPage instruction that points it on the appropriate page.
Accurate me if I’m wrong, but I’m not sure you can use. htaccess to validate the existence of a URL from a query string. I’m thinking you would have to use PHP to complete that, and to indicate an error page should the requested one isn’t going to exist. You may then use. htaccess to change that specific page into a proper 404 fault page.
Good, I believe what exactly he was saying was which the software he’s applying already handles the particular wrong-querystring situation, but he also would like to handle the real 404 situation. The ErrorPage directive helps you specify an change URI for whenever 404s occur, so it should do just as well just fine.
Oh yea yeah, I misread the particular post, thinking that he were going to rewrite the WEBSITE to something friendlier, THEN validate it.
Yes, I agree having what you state, in that instance.
Yes, my current software is definitely directing properly. We have. htaccess setup for any error page. Nonetheless it only works if your URL is typed with the index. phpmain_page=blah.
How would I try that Is generally there usually a file that handles the following in PHP content material management systems I’m less than sure what I’d do pc hardware training on so any input tips on how to fix this and/or a new suggestion for what I could do a search on could be great!
Many thanks
I also believe in. htaccess, you only write:
ErrorPage 404 catalog. phpmain_page=page_not_found
Someone will correct me whenever my syntax is actually off… It might not work with OBTAIN parameters, I’m undecided. If it will not, you can most likely use mod_rewrite to manage that issue.
That syntax is suitable. It’s working effectively with that in the. htaccess file… except when someone fails to type in:
Should they only type inside it brings them to a page the host has. It simply says " Not Found".