Hi all,
When I select a tag on the archivepage with mod_rewrite OFF I get a page with the selected tags, say 32 pic divided in 2 pages (16 pics per page).
When I want to browse to page 2 the pagination is not working.
The url when I select a tag is:
http://mywebsite.com/index.php?p=search&words=Airbus+A320&searchfields=tagsThe url when I want to browse to page 2 is:
http://mywebsite.com/index.php?p=search&words=Airbus+A320&searchfields=tags&
On the above examples the tag is Airbus A320.
The pagination is not working and stays on page 1, with mod_rewrite ON this works fine.
The theme I use is a custom theme, so I selected the provided by Zenphoto themes and still not working.
I installed a fresh installation of Zenphoto 1.4.2.1 with the provided themes and the tag pagination with mod_rewrite OFF is still not working. With mod_rewrite On it is working fine.
Can somebody reproduce this, or tell me what is wrong with the pagination on tags with mod_rewrite OFF?
TIA
Comments
It looks that the page parameter got lost in the urls. So this might be a bug. Best open a ticket.
The bug is removed, only another problem came in place.
Album.php is not W3C anymore because of the following:
Line 130, Column 70: reference not terminated by REFC delimiter
…"/index.php?album=2011/Amsterdam&image=IMG_3686.jpg" title="Korean Air - HL776…
If you meant to include an entity that starts with "&", then you should terminate it with ";". Another reason for this error message is that you inadvertently created an entity by failing to escape an "&" character just before this text.
and
Line 130, Column 69: EntityRef: expecting ';'
…="/index.php?album=2011/Amsterdam&image=IMG_3720.jpg" title="China Airlines - …
Thnx for checking sbillard, it was a typo in my custom theme.
For acrylian, I dont like the url build up from zenphoto. For example: I have a website with a static index,so for my pictures I browse to gallery.php.
My gallery is on the url www.mywebsite.com/page/gallery (I dont like the /page/ either). My pictures are divided in years (2008-2009-2010 etc),so for 2008 the url looks like www.mywebsite.com/2008 instead of www.mywebsite.com/page/gallery/2008.(its just personal taste).
I know about the SEO thing, and maybe it is easy to adjust with .htacces but I dont understand the .htacces thing
Another way to avoid the `/page/gallery` is to use one top level album named `/gallery/` as the gallery base. No one visitor will care that it is not the "real gallery index".
Btw, `www.mywebsite.com/page/gallery/2008.`will never happen if you have a toplevel album named "2008". The url would be `www.mywebsite.com/2008/` as you wish actually.