Member
Member
Michel   2012-02-28, 20:26
#1

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=tags

The 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

Administrator
Administrator
acrylian   2012-02-28, 20:29
#2

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.

Member
Member
Michel   2012-02-28, 21:09
#3

Opened a ticket, thnx acrylian

Member
Member
Michel   2012-03-02, 22:17
#4

Hi all,

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 - …

Member
Member
sbillard   2012-03-03, 01:43
#5

Are these on the same pagination links as before? If so they are rendered correctly for me in my local testing.

Administrator
Administrator
acrylian   2012-03-03, 10:29
#6

May I ask why you use non moderewrite links at all?

Member
Member
Michel   2012-03-03, 16:59
#7

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

Administrator
Administrator
acrylian   2012-03-03, 17:22
#8

Ok, but you could remove the /page/ by changing the rewrite rules and you could of course not have an album named /gallery/ then.

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.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.