There seems to minor be a problem when clicking on a product image with prettyphoto opening method.
Once the photo is closed pressing the back button in browser is not working or rather it puts and extra URL parameter in address bar: mysite/product/prettyPhoto[pc_gal1]/0/
So the result is that one has to press the back button 3 times to go back one page. What I am saying it that prettyphoto is making an unneccessary artifact in URL once its closed.
prettyPhoto and browser back button
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: prettyPhoto and browser back button
Hi, this is a specific feature by prettyPhoto:
mysite/product/prettyPhoto[pc_gal1]/0/
It handles the popup as specific page which can be e.g. indexed by search engines. The problem with popup windows is that they cannot be indexed in search engines like Google. When they are the link mostly goes to blank page with image because the robot cannot run such photo in popup and it even does not have any information on which site the popup should be run. To add to each photo unique URl is great solution how to index the link in search engine and always get the right display. If user will click on such link, the base page is loaded including the popup with right image inside.
Jan
mysite/product/prettyPhoto[pc_gal1]/0/
It handles the popup as specific page which can be e.g. indexed by search engines. The problem with popup windows is that they cannot be indexed in search engines like Google. When they are the link mostly goes to blank page with image because the robot cannot run such photo in popup and it even does not have any information on which site the popup should be run. To add to each photo unique URl is great solution how to index the link in search engine and always get the right display. If user will click on such link, the base page is loaded including the popup with right image inside.
Jan
If you find Phoca extensions useful, please support the project