WordPress.org

Forums

Q and A FAQ and Knowledge Base for WordPress
[Plugin: Q and A - FAQ Plugin] Permalinks query (3 posts)

  1. billabong1985
    Member
    Posted 4 years ago #

    I have a query about the plugin's permalinks. I am trying using it to organise product reviews on my site and was wondering if it is possible to change the default permalink used for each faq page, for example instead of having domain/faq/title to domain/reviews/title

    Regards

  2. Dalton Rooney
    Member
    Plugin Author

    Posted 4 years ago #

    Yes, you will need to edit the plugin code to do this, but it's quite easy. In q-and-a.php, take a look for line 55

    'rewrite' => array( 'slug' => 'faq', 'with_front' => false ),

    You can change that slug to whatever you want. For example, on mine it's

    'rewrite' => array( 'slug' => 'support/faq', 'with_front' => false ),

    And here's where my answers show up:
    http://madebyraygun.com/support/faq/installing-and-updating-the-plugin/

    Cheers,
    Dalton

  3. billabong1985
    Member
    Posted 4 years ago #

    Ah cool, did have a quick look at the code before as I've editted themes and plugins before, but I only have a relatively basic understanding of php so couldn't decide which line was specifying the permalinks, thanks for letting me know

    Awesome plugin BTW, does precisely what I needed and much more neatly and easy to manage than I had anticipated :-)

    Cheers

    James

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Q and A FAQ and Knowledge Base for WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags