Title: Permalink for Custom Posts
Last modified: August 31, 2016

---

# Permalink for Custom Posts

 *  [tebrown](https://wordpress.org/support/users/tebrown/)
 * (@tebrown)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/permalink-for-custom-posts/)
 * Hi David,
 * I’m running two themes which act for two different locations (London, Paris).
 * London is the primary theme.
 * I have a custom post type (portfolio) that holds a number of posts. If I navigate
   to the Paris location (Paris theme) and view the portfolio posts, click any one
   of these post, it navigates back to the primary theme (London).
 * The page structure is as follows:
 * **London** – [http://www.website.com](http://www.website.com)
    Portfolio – [http://www.website.com/portfolio](http://www.website.com/portfolio)
 * **Paris** – [http://www.website.com/paris](http://www.website.com/paris)
    Portfolio–
   [http://www.website.com/paris/portfolio](http://www.website.com/paris/portfolio)
 * How can I hold the paris name in the url instead of it navigating back to the
   primary theme?
 * Cheers
 * tebrown
 * [https://wordpress.org/plugins/jonradio-multiple-themes/](https://wordpress.org/plugins/jonradio-multiple-themes/)

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

 *  Plugin Contributor [David Gewirtz](https://wordpress.org/support/users/dgewirtz/)
 * (@dgewirtz)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/permalink-for-custom-posts/#post-7257426)
 * Take a look at some of the tutorial instructions. Basically, you’re looking to
   get the paris set to match and need to make sure you don’t leave an unknown opening
   for the main url.
 * –David
 *  Thread Starter [tebrown](https://wordpress.org/support/users/tebrown/)
 * (@tebrown)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/permalink-for-custom-posts/#post-7257438)
 * Hi David,
 * I have had no luck unfortunately.
 * When I click into a custom post it will always redirect me back to the main theme.
 * I’m thinking I might need to add a rewrite rule to add ‘paris’ in front of portfolio
   for when the paris theme is active?!
 * Cheers
 * Tim

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

The topic ‘Permalink for Custom Posts’ is closed to new replies.

 * ![](https://ps.w.org/jonradio-multiple-themes/assets/icon-256x256.png?rev=1134086)
 * [Multiple Themes](https://wordpress.org/plugins/jonradio-multiple-themes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jonradio-multiple-themes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jonradio-multiple-themes/)
 * [Active Topics](https://wordpress.org/support/plugin/jonradio-multiple-themes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jonradio-multiple-themes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jonradio-multiple-themes/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [tebrown](https://wordpress.org/support/users/tebrown/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/permalink-for-custom-posts/#post-7257438)
 * Status: not resolved