Quantcast
Channel: Zenphoto forum
Viewing all articles
Browse latest Browse all 2917

Squ1rr3l on "php file extension in urls"

$
0
0

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


Viewing all articles
Browse latest Browse all 2917

Trending Articles