WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: NextGEN Gallery] changing the path "nggallery" to "gallery" (6 posts)

  1. doregama
    Member
    Posted 6 years ago #

    hello....

    this is the url

    http://www.doregama.org/nggallery/post/shreya-saran-pics/page/1/

    want to change "nggallery" to "gallery" in the url...

    can u tell me how.....reply....

  2. Alex Rabe
    Member
    Posted 6 years ago #

    you need to change the permalink sturcture in the code : it's all in lib/nggallery.php

  3. doregama
    Member
    Posted 6 years ago #

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

  4. doregama
    Member
    Posted 6 years ago #

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

  5. designsimply
    Member
    Posted 6 years ago #

    @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?

  6. Alex Rabe
    Member
    Posted 6 years ago #

    have you updated your permalinks after this change ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.