Mixed unrelated taxonomy in permalink
Mixed unrelated taxonomy in permalink
Mixed unrelated taxonomy in permalink
is project a custom post type? if so, it’s been answered here Custom Post Type URL Rewriting? but, if that is a regular post, it would be in the Settings > Permalinks to set the permalinks.
Disable shortlinks like ?p=1234 to prevent scraping
Changed URL formats to be like: /services/home-care/COUNTY/TOWN add_rewrite_rule( ‘services/([^/]*)/([^/]*)/([^/]*)/?’, ‘index.php?post_type=”ag_location”&ag_primary_inspection_cat=$matches[1]&ag_cities=$matches[3]’, ‘top’ ); add_rewrite_rule( ‘services/([^/]*)/([^/]*)/?’, ‘index.php?post_type=”ag_location”&ag_primary_inspection_cat=$matches[1]&ag_county=$matches[2]’, ‘top’ ); add_rewrite_rule( ‘services/([^/]*)/?’, ‘index.php?post_type=”ag_location”&ag_primary_inspection_cat=$matches[1]’, ‘top’ ); Based on this solution
I just tested it (briefly) on local test install and having static page at /page/ and pretty permalinks starting with /page/ doesn’t seem to cause any issues.
This doesn’t require a WordPress modification per se, but if you prefer to do it that way, here is a decent tutorial: http://shibashake.com/wordpress-theme/wordpress-page-redirect. Some people would, however, prefer to do this via the .htaccess file, here is a quick guide on how to do redirects that way: http://perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/#red1.
http://wordpress.org/extend/plugins/custom-post-permalinks/ check this plugin, I’ve used it on a couple of sites and it works great.
My plugin Custom Post Permalinks does this. http://wordpress.org/extend/plugins/custom-post-permalinks
Check the code in wp-admin/options-permalink.php lines 91 to 129 (3.0.5). Compare if you do all that.
Well, it turns out it is indeed possible : ) I eventually found most of the answer in this post: Custom post types, taxonomies, and permalinks Then I got single-paintings.php to paginate within selected taxonomy with this plugin: Ambrosite Next/Previous Post Link Plus (which looks like it could be dropped into functions.php if you wanted … Read more