WordPress.org

Support

Support » Plugins and Hacks » [Plugin: NextGEN Gallery] changing the path “nggallery” to “gallery”

[Plugin: NextGEN Gallery] changing the path “nggallery” to “gallery”

Viewing 5 replies - 1 through 5 (of 5 total)
  • you need to change the permalink sturcture in the code : it’s all in lib/nggallery.php

    seen the file but didnt understand.:(..can u tell me where i change..plzz…

    plzz help me outt….i want to change “nggallery” to “gallery” in the url…mentioned above

    @alexrabe, I was trying to test changing the nggallery in the permalink structure in lib/nggallery.lib.php, but I couldn’t get it to work. I tried changing var $slug = "nggallery"; to var $slug = "gallery"; and I also tried updating to $this->slug = "gallery"; in the nggRewrite() function. Updating $this->slug in nggRewrite() makes the links look correct, but they lead to broken pages. Do you have to change any of the references in the RewriteRules() function, or are you supposed to be able to just change the default $slug value?

    have you updated your permalinks after this change ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: NextGEN Gallery] changing the path “nggallery” to “gallery”’ is closed to new replies.
Skip to toolbar