Php page not found
Get the solution ↓↓↓Solution:
Create .htaccess file in root folder and add following code :
RewriteEngine on
ErrorDocument 404 http://siteurl.com/404.php
Create 404.php in root folder
<?php
// Add your 404 page error page content or layout
echo "This page is not found. Please enter valid URL";
?>
Let's Check its working
// considering this page is not existing you should get 404 page
Answer
Solution:
The problem was that the .htaccess file was in the root folder of the project and not the htdocs folder
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: filter_sanitize_string
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.