The add-rewrite-rule tag has no wiki summary.
0
votes
1answer
36 views
Custom Rewrite Problem
I'm creating some custom rewrites using the code below. Everything works fine, as far as urls such as this:
example.com/reviews/showname
Tells my theme to use the special archive page and passes ...
0
votes
0answers
32 views
Complex regex to add_rewrite_rule
I'm making a plugin and I need to get the URL stay that way:
/user/user-name/musics/music-category-slug/page/1
Real example:
/user/mike-yoles/musics/rock/page/1
.
user/ => post_type ( I ...
0
votes
1answer
54 views
Canonicalization + Custom Post Types not working as expected
I have an issue with Canonicalization where on Custom Post Types say for example:
/custom-post-type/{post_id}/fake-post-name/
is loading up but not redirecting to :
...
0
votes
0answers
84 views
add_rewrite_rule custom permalink structure
I'm trying to create a new rewrite rule inside functions.php through I can rewrite URL for specific post
ie: let's imagine there's a category which name is xyz.
This is my code:
function ...
0
votes
2answers
49 views
Redirect taxonomy to custom template to list terms in taxonomy
I'm trying to adapt some code on calling a custom template via rewrite rule.
I have a custom taxonomy called "state". I want to create an archive for the taxonomy, that lists all the terms in that ...
0
votes
2answers
60 views
URL rewrite breaking pagination
I have been reading around and cannot seem to figure this out.
Everything is working fine except that pagination seems to not work, I am adding a second rewrite rule, shouldn't this fix that?
I can ...
0
votes
1answer
34 views
Rewrite rule help for gallery plugin
I am writing a basic gallery plugin for WordPress. In the plugin users can mark images as favorites and there is a page where users can see their favorites.
I want to setup some rewrite rules for the ...
0
votes
1answer
69 views
Append custom parameter to taxonomy/term URI
I have a Custom Post Type named "Cars" and 2 Custom Taxonomies "Ferrari" and "Lamborghini". Each taxonomy has 2 Terms: "New" and "Used".
These URIs work as expected:
http://myhost/ferrari/new
...
0
votes
1answer
205 views
How to redirect image attachment to its original post
I'm making a slider that is getting images from attachments in the post. I am trying to rewrite the url for the post so that if someone pastes the direct url to the attachment, it'll go the post ...
0
votes
2answers
95 views
404 Error On Custom Taxonomy Pages 2, 3, etc
I've been reading a bunch of posts about this with no luck so far. I can't seem to figure out what is the problem.
I have the following:
Custom Post Type: Sermons
Custom Taxonomy: Series
My urls ...
0
votes
1answer
84 views
Rewrite rule to redirect to a particular filename.php
I'm using the Monkeyman Rewrite Analyzer plugin (http://wordpress.org/extend/plugins/monkeyman-rewrite-analyzer/) I want to write a rule that will be take a URL (that is specified in the user's accnt ...
0
votes
1answer
54 views
Wordpress post-type create url rewriting
i create a new post-type in wordpress.
The new post-type is called work.
I want to customize the link when the user click "details button".
The link is work/post_id/postname
I have a trouble to ...
0
votes
0answers
41 views
rewrite rule with a slug and id [duplicate]
Possible Duplicate:
How to create custom post type subpage with sub-posts on it?
Okay, this is related to another post I made, but much more focussed.
I have two custom field types, ...