Change url on open of image in gallery.
Posted: 09 Jan 2012, 17:10
Hi there, tried to search the forum but it just says try again, so...
Is it possible to configure phoca gallery to rewrite the URL when opening an image in a gallery, so that you get the image name or similar in the URL, for instance on:
https://www.phoca.cz/joomlademo/category/1-barcelona
so that the URL of the first image would be for example:
https://www.phoca.cz/joomlademo/category ... lona/1.jpg.
and when you change to image 2 the url will be rewritten to:
https://www.phoca.cz/joomlademo/category ... lona/2.jpg.
These URL also needs to be accessible directly, so when coming for example a search engine, will open the searched image in the gallery. I have not found anything in the docs and settings if this is possible, but I think it would be really good for search engines to find each image (and description) on different URLs. Also I'm not sure it one are allowed to rewrite the URLs with JS.
Hopefully what I have written is understandable
Is it possible to configure phoca gallery to rewrite the URL when opening an image in a gallery, so that you get the image name or similar in the URL, for instance on:
https://www.phoca.cz/joomlademo/category/1-barcelona
so that the URL of the first image would be for example:
https://www.phoca.cz/joomlademo/category ... lona/1.jpg.
and when you change to image 2 the url will be rewritten to:
https://www.phoca.cz/joomlademo/category ... lona/2.jpg.
These URL also needs to be accessible directly, so when coming for example a search engine, will open the searched image in the gallery. I have not found anything in the docs and settings if this is possible, but I think it would be really good for search engines to find each image (and description) on different URLs. Also I'm not sure it one are allowed to rewrite the URLs with JS.
Hopefully what I have written is understandable