php file extension in urls

When I upgraded to the latest version, I had to wipe out my options table in the database and re-create. Not sure if that is the cause or there is something different in the update.

Before this, all the image files were .php names in the urls, like http://host.com/zenphoto/gallery1/image_938.jpg.php, but now the .php extension is gone from everything so they show up like http://host.com/zenphoto/gallery1/image_938.jpg.

That's okay, for what it is, but there are a lot of links and bookmarks out there so I'm getting hundreds of 404's in the log because the old file names don't exist and it's not redirecting.

So what is the deal? Can I turn the extension back on, or is there a way to direct all requests with .php names to the urls without the extension?

thnx

Comments

  • acrylian Administrator, Developer
    It is an standard option called "modrewrite suffix" you can set on the backend.
Sign In or Register to comment.