I’m trying to add the new rewrite rules using the rewrite API: add_rewrite_rule('product/([A-Z0-9]{10})', 'index.php/product/?asin=$1', 'bottom'); add_rewrite_rule('product/(([A-Za-z0-9_])*)', 'index.php/product/?product=$1', 'bottom'); add_rewrite_rule('compare/((([A-Z0-9]{10}),?)*)', 'index.php/compare/?asin=$1', 'bottom'); add_rewrite_rule('categories/((...
I’m developing a Custom Post Type plugin, which works fine in dev. Now that I’ve moved it to production, I’m getting a 404 ...
-
April 21, 2022
- 0 Comments
Using WP3.1 I Have a custom page with a WP_Query and the query gets dynamic variables from the url. And i want safe ...
-
April 20, 2022
- 0 Comments
I have a custom post type called “destinations” and I have set the EP mask for the post type to default EP_PERMALINK. I ...
-
April 20, 2022
- 0 Comments
The Setup I have 2 taxonomies and 1 post type: Post Type: products Hierarchical Taxonomy: product_cat Nonhierarchical Taxonomy: product_type The product-category has a ...
-
April 19, 2022
- 0 Comments
I have found this place to be a good source of information in the past through a lot of Googling for the problems ...
-
April 19, 2022
- 0 Comments
I’m building a WordPress site with several custom post types. Every post type is a different magazine. I have also a custom meta ...
-
April 19, 2022
- 0 Comments
Every example I find of adding rewrtie rules looks like function addsomerule() { add_rewrite_rule(some regex,some parse result); } add_action('init','addsomerule'); This doesn’t compute for ...
-
April 18, 2022
- 0 Comments
I am writing a plugin that instantiates a custom post type (among other things). It is a multisite plugin and lives in the ...
-
April 16, 2022
- 0 Comments
Hitting a brick wall with the following: I have: 1 custom post type called cpt_community 1 custom taxonomy called tax_community If I set ...
-
April 16, 2022
- 0 Comments