Title: Permalink issue on applying filter
Last modified: September 15, 2020

---

# Permalink issue on applying filter

 *  Resolved [nakush](https://wordpress.org/support/users/nakush/)
 * (@nakush)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/permalink-issue-on-applying-filter/)
 * [https://www.falainacloud.com/dev/](https://www.falainacloud.com/dev/) — This
   is my website URL. When applying the filter on [https://www.falainacloud.com/dev/test](https://www.falainacloud.com/dev/test)
   this page it goes to [https://www.falainacloud.com/](https://www.falainacloud.com/)
   this website.
 * Kindly check or provide me solution asap.
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpermalink-issue-on-applying-filter%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jonathan de Jong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/permalink-issue-on-applying-filter/#post-13411776)
 * Hi [@nakush](https://wordpress.org/support/users/nakush/)
 * In the open source community you really can’t just expect a solution provided
   to you for everything. That’s just not how this thing works 🙂
    Keep that in 
   mind when phrasing how you want to get free help.
 * `$new_url = trailingslashit( get_post_type_archive_link( $current_post_type ));`
 * This is the code inside BTF that generates the base URL for the redirected request
   upon filtering. If you end up on .com instead of .com/dev/ then you likely have
   missed changing some value in your install. If you were to try to find the solution
   yourself and followed the trail you’d see that the `get_post_type_archive_link()`
   function uses `get_home_url()` which fetches its home url from the `home` key
   in the wp_options table like this `get_option( 'home' );`
    So you should look
   at your set values for this to make sure they are correct.
 * Best of luck with your project,
    Jonathan
 *  Thread Starter [nakush](https://wordpress.org/support/users/nakush/)
 * (@nakush)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/permalink-issue-on-applying-filter/#post-13412635)
 * ok, Thanks. Can we show the output on the same template page? If yes then how?
   I am using this shortcode ” <?php do_action(‘show_beautiful_filters’); ?> ” in
   my template.
 * And if you have any tutorial of this plugin or documentation. Please share it
   with me.
 *  Plugin Author [Jonathan de Jong](https://wordpress.org/support/users/jonathandejong/)
 * (@jonathandejong)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/permalink-issue-on-applying-filter/#post-13551645)
 * Hi [@nakush](https://wordpress.org/support/users/nakush/)
 * Not sure what you mean. The rendered results is always on the archive page because
   that’s how WordPress has to render it. BTF does not do its own filter engine 
   but uses WordPress own and places rewrite rules on it to make it pretty.
    There’s
   a bunch of topics on this already as well as info in the FAQ.
 * Right now there’s no other documentation but the readme on wordpress.org + a 
   lot of instructions and clarifications on the settings pages help section.

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

The topic ‘Permalink issue on applying filter’ is closed to new replies.

 * ![](https://ps.w.org/beautiful-taxonomy-filters/assets/icon-256x256.png?rev=1654967)
 * [Beautiful taxonomy filters](https://wordpress.org/plugins/beautiful-taxonomy-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/beautiful-taxonomy-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/beautiful-taxonomy-filters/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jonathan de Jong](https://wordpress.org/support/users/jonathandejong/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/permalink-issue-on-applying-filter/#post-13551645)
 * Status: resolved