![]() |
|
Cruft-free URLs - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Cruft-free URLs (/thread-2523.html) |
Cruft-free URLs - macalter - 2008-03-25 http://www.debian-administration.org/articles/136 But, if I'm reading the Admin page for Gallery options, Sounds like it'll doing different from the other explanation. Maybe clarify? (I did the Google search because I didn't understand the Zenphoto explanation for this option, which I was going to try.) Cruft-free URLs - trisweb - 2008-03-25 The .php means nothing to the server, it does not tell it to parse the files as PHP or anything. The URL's zenphoto uses for images must contain the full image filename, for example "imagename.jpg", so the full URL would be something like http://www.zenphoto.org/zenphoto/demo-gallery/P4100284.jpg.php . Because of this requirement, search engines can be very confused by the URLs. They should NOT end in .jpg, or search engines (and users too) will think the URL contains image data when it is actually a web page. This means something must be added to the URL that makes sense for a web page. If, as Ryan Brill suggests, you want something else to end your URLs, you can set this suffix to something like However, as I've described, Zenphoto requires the full image filename in the URL, as that's how it locates the image. We actually did explain why we do this right in the explanation you pasted right after you said it "doesn't explain why." - Notice the explanation, "(helps search engines)." Hope that clears things up. |