samtiria / nextgen-gallery

Automatically exported from code.google.com/p/nextgen-gallery
0 stars 0 forks source link

Static Front Page: Broken pagination with activate permalinks #390

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
1. Activate permerlinks in Nextgen and update WordPress link structure.
2. Create a gallery with enough images for it to be shown over two pages
3. Add the gallery to a standard page [nggallery id=1]
4. Reading Settings > Mark the page as the Static Front page
5. Visit the homepage.

I'm using Nextgen 1.8.2 and WP 3.2.1

Basically the next gallery page link (arrow) is generating the wrong URL for 
the next page.

This should be generated...
/illustrations/gallery/page-2/

But when the same page is used as a Static Front page only this is generated...
/gallery/page-2/
... and produces a 404 when clicked.

Original issue reported on code.google.com by d...@rren.cc on 16 Jul 2011 at 12:48

GoogleCodeExporter commented 8 years ago
This also happens when using the function ngg_get_albums(). So the overall 
permalink function is not working correctly

Original comment by coenwi...@gmail.com on 2 Aug 2011 at 2:33

GoogleCodeExporter commented 8 years ago
See r975, I've set now the link like you mentioned, however it doesn't work. 
The reason is the clever canonical rewrite rules( see 
http://markjaquith.wordpress.com/2007/09/25/wordpress-23-canonical-urls/), they 
always redirect to the pure home page.

Currently I have no idea to get this running (with nice permalinks), so I keep 
this issue open until I find a solution (or someone gives me a hint)

Original comment by alex.cologne on 7 Aug 2011 at 5:29

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I have the same issue here: http://azores-trip.eu/

Original comment by p...@3xtr.net on 11 Aug 2011 at 10:49

GoogleCodeExporter commented 8 years ago
Hey guys, anybody figure this out? Would hate to have a permanent directory 
just in order for the pagination to work correctly.

Original comment by bushi...@gmail.com on 11 Oct 2011 at 4:50

GoogleCodeExporter commented 8 years ago
I'm having this problem too.
I'm surprised that it's been over a year and this still isn't fixed :(

Original comment by thisiss...@gmail.com on 20 Feb 2013 at 5:03