Blog URL Structure – Multiple Taxonomies
Update any custom post types so they use ‘with_front’ => FALSE in the slug parameters and update your permalink setting to /blog/%category%/%postname%/. Create your categories with sub categories.
Update any custom post types so they use ‘with_front’ => FALSE in the slug parameters and update your permalink setting to /blog/%category%/%postname%/. Create your categories with sub categories.
Multiple permalinks for a single post from custom field
You should be able to find lots of ‘301’ htaccess rules and examples here and via searching. But the basic is to redirect an ‘old’ folder to a ‘new’ folder. The ‘new’ folder can be any site or page on a site. RewriteRule ^old/(.*)$ /new [L,R=301] That will redirect www.example.com/old (any page) to www.example.com/new . … Read more
Custom URLs between different post types, using “Pods”
How to combine nearly identical custom rewrite rules for WordPress
First, go to wherever you defined the custom post type. For instance, if I were writing a function to define a custom post type “books”, I would use register_post_type( ‘books’, $args ) where $args is an array used to configure the post type properties. By default, custom post types use the post type key as … Read more
have you tried hitting the “Save” button on your permalink settings page to refresh it and apply the new rules?
After doing some research, I have found the answer, albeit with a small limitation…. only shows the page with a trailing slash. This is perhaps technically correct url display so I’ll deal with it. I found the solution buried in this similar Question Disable WordPress URL auto complete The CORRECT solution is by David Vielhuber … Read more
How can I add_rewrite_rule for a custom post type to preserve the referral id
WordPress is adding pagination for all pages like www.example.com/page/123. How to remove that?