Just installed nextgen-gallery. Works great, but permalinks aren't.
I'll link into a gallery that has a url of:
page-206/album-0/gallery-3
This first page is ok, but then I click "2" for the second page and it doesn't work. The link is:
page-206/page-2
When it should be:
page-206/album-0/gallery-3/page-2
What can I do to fix it? Even a hack would be appreciated. Thanks!
Update: In rewrite.php it doesn't look like album is being picked up by get_query_var. If I put in an else block there to set $args ['album'] = 0 when $album is empty, it works ok.
I'm not using albums, just galleries. Maybe it's how I'm using it or a bug?
dirtnyureye
Member
Posted 3 years ago #
At first, I couldn't get to the page 2, 3, etc of the galleries in my posts. It turns out that if you look this option is checked off in
Gallery -> Options -> Activate permalinks
Then you need to go to wordpress -> Settings -> Permalinks and just hit the update button.
Then I could switch the pages of my gallery from within the post. I tried adding the else block as you suggested, but it did not solve my problem.
My Configuration:
WordPress 2.7
NextGen Gallery 1.0.2
my permalinks are activated and i've rebuilt them in wp admin....
I think my problem was my use of the album shortcode. I used album id=X install of album id=all or id=0.