![]() |
|
Pagination tags with mod_rewrite off - 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: Pagination tags with mod_rewrite off (/thread-9711.html) |
Pagination tags with mod_rewrite off - Michel - 2012-02-28 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). The url when I select a tag is: http://mywebsite.com/index.php?p=search&words=Airbus+A320&searchfields=tags The url when I want to browse to page 2 is: 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 Pagination tags with mod_rewrite off - acrylian - 2012-02-28 I have to admit I rarely test modrewrite off as nowadays any host should provide that and any user should use it. For SEO's sake for example. It looks that the page parameter got lost in the urls. So this might be a bug. Best open a ticket. Pagination tags with mod_rewrite off - Michel - 2012-02-28 Opened a ticket, thnx acrylian Pagination tags with mod_rewrite off - Michel - 2012-03-02 Hi all, The bug is removed, only another problem came in place. Line 130, Column 70: reference not terminated by REFC delimiter 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 ';' Pagination tags with mod_rewrite off - sbillard - 2012-03-03 Are these on the same pagination links as before? If so they are rendered correctly for me in my local testing. Pagination tags with mod_rewrite off - acrylian - 2012-03-03 May I ask why you use non moderewrite links at all? Pagination tags with mod_rewrite off - Michel - 2012-03-03 Hi, 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 Pagination tags with mod_rewrite off - acrylian - 2012-03-03 Ok, but you could remove the Another way to avoid the Btw, |