Home » Php » .htaccess – How to redirect all non-existent links to the main site PHP CMS

.htaccess – How to redirect all non-existent links to the main site PHP CMS

Posted by: admin February 25, 2020 Leave a comment

Questions:

I have website neon-mu.net and i want redirect all trash links like neon-mu.net/123 and etc to main page or 404page.php . 1 problem – i have no access to CMS-code. I have only access to all htaccess files.
ErrorDocument or any Redirect didn’t work.

How to&Answers: