Title: Permalink slug
Last modified: August 21, 2016

---

# Permalink slug

 *  [jleenman](https://wordpress.org/support/users/jleenman/)
 * (@jleenman)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/permalink-slug/)
 * Hi,
 * Since applying the latest update the permalink structure was not as it should
   be:
    – It used to be example.com/page/gallery/ or example.com/album/gallery/ (
   I’m not sure which, since the page used and album title were both the same) –
   After updating it was example.com/page/nggallery/album/gallery/ I tried to fix
   it by removing the nggallery value at ‘Other options – Permalink slug’
 * This of course broke the website, there is no value in the permalink slug and
   adding a value redirects to the root of the domain while displaying an Apache
   test page.
 * I suppose this could be fixed by editing the permalink slug value in the database
   with phpMyAdmin. Does anyone know where I could find that value?
    I can’t seem
   to find it and finding the right value by trial and error is not something I’d
   like to do in a database 🙂
 * Thanks!
 * [http://wordpress.org/plugins/nextgen-gallery/](http://wordpress.org/plugins/nextgen-gallery/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [jleenman](https://wordpress.org/support/users/jleenman/)
 * (@jleenman)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/permalink-slug/#post-4470229)
 * A full uninstall and reinstall did not fix the problem :S
 * Any suggestions on how I can reset all NGGallery options?
 *  [YogieAnamCara](https://wordpress.org/support/users/yogieanamcara/)
 * (@yogieanamcara)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-slug/#post-4470410)
 * I do have exactly the same issue after deleting accidentally the nggallery permalink
   slug! All I can do is deactivating NextGEN Gallery to make my blog work for core
   services but still the images out of my nggallery are missing now! Anybody any
   hints how to fix?
 *  Thread Starter [jleenman](https://wordpress.org/support/users/jleenman/)
 * (@jleenman)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-slug/#post-4470411)
 * I had to restore a server backup and lost all changes since the last backup.
 * Haven’t found another solution, sorry =(
 *  [YogieAnamCara](https://wordpress.org/support/users/yogieanamcara/)
 * (@yogieanamcara)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-slug/#post-4470412)
 * Ok, I seem to have it fixed but actually don’t know how!
 * Due to your hint using phpMyAdmin I just went into wp_options (and wp_2_options)
   as I use a multisite environment. I searched for nggallery and found a large 
   string at the wp_options the option name where the long string is stored is called
   ngg_options.
 * Then I searched for a part of that configuration string via google (I searched
   for s:13:”usePermalinks”;) and found a few sites some showed …
 * s:13:”usePermalinks”;b:0;s:13:”permalinkSlug”;s:9:”nggallery”;s:14
 * others
 * s:13:”usePermalinks”;s:1;s:13:”permalinkSlug”;s:9:”nggallery”;s:14
 * I simply edited a value (of course I did a copy & paste for backup reasons) and
   saved the string.
 * After doing so my blog was back to live and the gallery is working again as well.
 * That issue cost me 5 hours doing backup and restores as well.
 *  [Sabke](https://wordpress.org/support/users/sabke/)
 * (@sabke)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-slug/#post-4470414)
 * Maybe i have a better solution (worked in my case)
 * BACKUP EVERYTHING!!!!!!!!!
 * I don’t know which version you run, but if you have the version 2.0.?? do a rollback
   to version 1.9.13.
    There you find under Options -> General Options “Activate
   Permalinks” and if all is well there should be already nggallery noted. If you
   want to change or leave it that way that’s your choice. Enable that option and
   save
 * Then upgrade to 2.0.40 and when you take look at Gallery -> Other Options -> 
   Miscellaneous you see nggallery again with Permalink Slug.
 * For the URL links itself, you must download the betaversion 2.0.55
    [http://www.nextgen-gallery.com/nextgen-gallery-latest-beta/](http://www.nextgen-gallery.com/nextgen-gallery-latest-beta/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Permalink slug’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [Sabke](https://wordpress.org/support/users/sabke/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/permalink-slug/#post-4470414)
 * Status: not resolved