Title: Control dictionary location
Last modified: June 20, 2018

---

# Control dictionary location

 *  Resolved [axwellion](https://wordpress.org/support/users/axwellion/)
 * (@axwellion)
 * [8 years ago](https://wordpress.org/support/topic/control-dictionary-location/)
 * Is there a way to control the location of the dictionary? Right now it seems 
   to default to use the permalink of Posts. My post permalink is “news” and so 
   my dictionary is located here: [https://essentialguidetocryptocurrency.com/news/dictionary](https://essentialguidetocryptocurrency.com/news/dictionary).
   Can this folder location be changed without changing the permalink for posts?
   
   Thank you Matt
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontrol-dictionary-location%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jamel.Z](https://wordpress.org/support/users/lebleut/)
 * (@lebleut)
 * [8 years ago](https://wordpress.org/support/topic/control-dictionary-location/#post-10417069)
 * Hey [@axwellion](https://wordpress.org/support/users/axwellion/),
 * Do you mean ‘Glossary’ when you say ‘Dictionary’ ?
 * If so, the glossary could be placed anywhere you want since you can insert it’s
   short-code ‘`[tooltipy_glossary]`‘ in the page or post of your choice.
 * Does this look helpful ?
 * Thanks
    -  This reply was modified 8 years ago by [Jamel.Z](https://wordpress.org/support/users/lebleut/).
 *  Thread Starter [axwellion](https://wordpress.org/support/users/axwellion/)
 * (@axwellion)
 * [8 years ago](https://wordpress.org/support/topic/control-dictionary-location/#post-10419801)
 * Hi Jamel. I am sorry my question was not clear enough. No, I was not referring
   to the glossary location. I did create a glossary in a page with a controlled
   folder location. It is located here: [https://essentialguidetocryptocurrency.com/getting-started/glossary/](https://essentialguidetocryptocurrency.com/getting-started/glossary/).
   So that is good. But it is the location of the dictionary keywords themselves
   that I can’t seem to control. Each keyword appears to be created as a “post” 
   and so each defined keyword definition is located in the post permalink path.
 * For example, my post permalink structure is that all posts are under “/news” 
   on my website. And that means that all keyword definitions are also located in
   this permalink path. For example, the keyword “receive address” definition is
   located here: [https://essentialguidetocryptocurrency.com/news/dictionary/receive-address/](https://essentialguidetocryptocurrency.com/news/dictionary/receive-address/)
 * It is not a big deal but, if easily possible, then I would like to put the keyword
   definitions under a different path then the path to all other posts. I would 
   like to put all keywords under the glossary location like this: [https://essentialguidetocryptocurrency.com/getting-started/glossary/distionary](https://essentialguidetocryptocurrency.com/getting-started/glossary/distionary).
 * Thanks
    Matt
 *  Plugin Author [Jamel.Z](https://wordpress.org/support/users/lebleut/)
 * (@lebleut)
 * [8 years ago](https://wordpress.org/support/topic/control-dictionary-location/#post-10419987)
 * Hey Matt [@axwellion](https://wordpress.org/support/users/axwellion/),
 * If I exactly get what you wanted to do with your keyword permalinks, I guess 
   these steps should probably help (the 3rd step is very important) :
    1. Please update your Tooltipy version to the one on this commit on GitHub :
        [https://github.com/lebleut/tooltipy/commit/9ba3ff03825b773e7558cf0bfb00f9ad14c0c8e6](https://github.com/lebleut/tooltipy/commit/9ba3ff03825b773e7558cf0bfb00f9ad14c0c8e6)
       _It will be on this repository ASAP by the way_
    2. Then edit your theme’s `functions.php` file and add these lines :
    3.     ```
           add_filter('tltpy_post_type_args', function($args){
              $new_rewrite_slug = 'getting-started/glossary/dictionary';
              $args['rewrite'] = array('slug' => $new_rewrite_slug);
       
              return $args;
           });
           ```
       
    4. Flush your permalinks (To let your site be aware of the new rewrite rule for
       your tooltips)
 * It worked perfectly for me 🙂
 * Ah! how to flush permalinks ?
    1. In the main menu find “Settings > Permalinks”.
    2. Scroll down if needed and click “Save Changes”.
 * Regards,
    Jamel 😉
    -  This reply was modified 8 years ago by [Jamel.Z](https://wordpress.org/support/users/lebleut/).
    -  This reply was modified 8 years ago by [Jamel.Z](https://wordpress.org/support/users/lebleut/).
 *  Thread Starter [axwellion](https://wordpress.org/support/users/axwellion/)
 * (@axwellion)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/control-dictionary-location/#post-10444777)
 * I am sorry I didn’t see your response until now Jamel. Thank you. I will try 
   this. Is this version in github divergent from your main published version?
    
   Matt
 *  Plugin Author [Jamel.Z](https://wordpress.org/support/users/lebleut/)
 * (@lebleut)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/control-dictionary-location/#post-10445347)
 * Yes [@axwellion](https://wordpress.org/support/users/axwellion/)

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

The topic ‘Control dictionary location’ is closed to new replies.

 * ![](https://ps.w.org/bluet-keywords-tooltip-generator/assets/icon-256x256.jpg?
   rev=1277221)
 * [Tooltipy (tooltips for WP)](https://wordpress.org/plugins/bluet-keywords-tooltip-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bluet-keywords-tooltip-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bluet-keywords-tooltip-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/bluet-keywords-tooltip-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bluet-keywords-tooltip-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bluet-keywords-tooltip-generator/reviews/)

## Tags

 * [filter](https://wordpress.org/support/topic-tag/filter/)
 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jamel.Z](https://wordpress.org/support/users/lebleut/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/control-dictionary-location/#post-10445347)
 * Status: resolved