Jump to content

How to redirect to 404 with index.php in url


Pascal_761
 Share

Recommended Posts

Hello,

The old version of the website that i'm currently working on had urls like /index.php/section/page1 and many of these url show up in google.

This urls don't exists anymore on the new version of the website, but processwire handle this urls like the homepage with a 200 result code. I assume this is because index.php is included in the url.

I need a 404 result code.

Is there a way to achieve this in processwire ?

PS : of course the old version of the website wasn't made with processwire ;)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...