Kamlesh Gupta Posted November 21, 2018 Share Posted November 21, 2018 Currently when i enter the wrong URL for example https://www.example.com/1234 then it redirect to 302 and then redirect to 404 page. I need to directly redirect to 404 error page for SEO purpose. I have also tried with below solution in htaccess. If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 Please help me with solution. Thanks in advance. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now