• Hi, i noticed yesterday that my Nextgen Gallery does affect the permalinks in mijn WordPress installation. There are two things happening. Usually, when I change the permalink of one of my blogposts, WordPress automatically redirects the old one to the new one. Since a short while this gives me a page error with Nextgen activated. When I deactivate the plug-in, the redirecting starts working again fine.

    Besides that, I post WP.me shortlinks to my Twitter account. When Nextgen is activated, they point to the non-permalink URL’s of my blogposts, like website.com/?p=15345. When I deactivate the gallery, it neatly points to the permalink URL again. So something is wrong…

    https://www.ads-software.com/plugins/nextgen-gallery/

Viewing 15 replies - 1 through 15 (of 25 total)
  • Thread Starter Ester Dammers

    (@rebelstar)

    I already found out after searching and comparing for a while, that the problem is in the module.wordpress_routing.php file, located in modules/wordpress_routing. I now have the latest version of the plug-in installed, but with the module.wordpress_routing.php file of the 2.0.66.17 version. This works fine, without any errors. But I still hope there will be a fix for this in the next version.

    Plugin Contributor photocrati

    (@photocrati)

    @estrella – Thanks for the observations and the work-around. Generally speaking the wp.me links are generated when you have Jetpack activated and the “Default” Permalinks structure you are indicating NextGEN Gallery is providing will always resolve correctly as well.

    We’ll have to look further into this issue but it may not make it into our next release so please do keep this in mind if the issue resurfaces.

    Thanks!

    – Cais.

    Thread Starter Ester Dammers

    (@rebelstar)

    Ok, I will wait!

    Same problem – I’ve found all my shortlinks stop working with Nextgen activated. I use shortlinks mainly on Twitter and press releases where a long, understandable url is not really appropriate,e.g https://twitter.com/trimdontimes
    An inconvenience rather than a disaster, but a fix would be appreciated ??

    Thanks for the tip, Estrella.
    I copied the module.wordpress_routing.php file from a site using an older version of Nextgen.

    Seems to work perfectly without causing any other problems

    Plugin Contributor photocrati

    (@photocrati)

    @trimdoner – Thanks for your observations on this issue.

    – Cais.

    Thread Starter Ester Dammers

    (@rebelstar)

    Nice to hear you could use my ‘workaround’ as well @trimdoner. Indeed it doesn’t cause any conflicts or problems, even WordPress is tricked and still sees the release as the latest.

    I’m also having this problem, but I don’t know where I can get the older workaround module.wordpress_routing.php file Estrella mentions above.

    I hope to see this fixed very soon.

    Thread Starter Ester Dammers

    (@rebelstar)

    You can use this URL to download older versions.
    https://www.ads-software.com/plugins/nextgen-gallery/download/

    I personaly used the 2.0.66.17 version, because in the 2.0.66.26 version the problem still exists.

    Thank you, Estrella! That got me working.

    For anyone else that needs to understand the steps better:

    1. Go to the page Estrella provided: https://www.ads-software.com/plugins/nextgen-gallery/download/
    2. Download the 2.0.66.17 version of the plugin
    3. Extract modules.wordpress_routing.php from nextgen-gallery.2.0.66.17.zip\nextgen-gallery\products\photocrati_nextgen\modules\wordpress_routing\
    4. On your webserver, replace it in {whatever}/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/wordpress_routing
    5. Test
    Plugin Contributor photocrati

    (@photocrati)

    @markalmighty – Thanks for the more detailed walk-through.

    – Cais.

    I am having this issue as well. I thought that it was a hosting issue and contacted them (GoDaddy) and at one point the NextGen plugin completely crashed my site while we were troubleshooting. After getting my site running, I still cannot reactive this plugin without all of my permalinks breaking. This causes my site to be stuck at the homepage. I am using the suggestion and reverting to an older version but hopefully this will be fixed soon.

    Thread Starter Ester Dammers

    (@rebelstar)

    When I rolled back to the ‘complete’ 2.0.66.17 version, the permalinks worked fine again, BUT I got a MVC template error on the gallery itself, which didn’t work. That’s why I only transferred the routing file and not the whole older version.

    I first tried to edit my ngg_options in the database to an older version of that antry and that resulted in getting stuck at the homepage. Each version seems to have a slightly different content of ngg_options (under wp_options).

    A similar problem, I don’t know if it’s the same. Now I’m using the latest version, (tried the patch with modules.wordpress_routing.php from 2.0.66.17).
    Using the default permalink structure, my URLs are like this:
    https://www.afasicitoscana.it/?page_id=374
    where I see the first page of my gallery. The links to next pages are a mix of permalink styles:

    https://www.afasicitoscana.it/index.php/nggallery/page/2?page_id=374
    https://www.afasicitoscana.it/index.php/nggallery/page/3?page_id=374

    which of course don’t work.

    After I rolled back, I got the same MVC error. I went ahead and updated back to the latest version which fixed both the MVC error and the permalink problem. It did however create a different problem where two of my galleries “single pic” links won’t work. I am still trying to figure that out but at least all my links seem to work. Just an FYI, I am using the Post Name permalink structure.

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘Nextgen Gallery breaks WordPress permalinks’ is closed to new replies.