0
votes
0answers
46 views

Learning rewrite rules and custom permalinks. Paging not working

I am just starting to learn rewrite rules and custom wordpress permalinks. I have made a custom endpoint called autor with the following code: function my_query_vars($vars) { $vars[] = "autor"; ...
2
votes
1answer
88 views

Regex in add_rewrite_tag not accepting OR operators?

I am trying to add a custom field to the post permalinks by using a combo of add_rewrite_tag and applying a post_link filter. What I am aiming for is something like this: ...
1
vote
0answers
53 views

404 error using Meta for Permalink rewrite

I'm trying to rewrite my permalinks using meta data from my post. The permalink rewrite works fine but I'm getting the 404 error when I try to view the post. Could someone offer a clue as to why this ...
2
votes
1answer
452 views

custom permalink/shortlink with base62 encoded post ID

I want my post-links to look like /%post_id62%_%postname%/ where %post_id62% is the post ID in base62 encoding (e.g. http://example.com/y9Rlf_test/) and my shortlinks to consist of /%post_id62% only ...
0
votes
1answer
696 views

How to test custom rewrite rules /permalinks?

After much research, I think I can wrap my brain around WP's rewrite system. I would like to know, though, how to properly test rewrite rules to see if the right rule/tags is being used and the right ...
1
vote
1answer
604 views

404 Issue w/ Custom Post Type - using Meta for Permalink rewrite

I'm trying to rewrite my permalinks using meta data from my post. The permalink rewrite works- but I'm getting the 404 issue when I try to view the post. I've flushed by visiting the permalink ...