Tagged Questions
6
votes
1answer
185 views
Using the Rewrite API to Construct a RESTful URL
I'm trying to generate rewrite rules for a RESTful API. I just want to see if there is a better way to make this work than having to write out every possible rewrite combination.
Ok so I have 4 ...
0
votes
2answers
46 views
Is Wordpress API visible from PHP file called in htaccess
I'm trying to add some rewriterules in the .htaccess file to deal with hotlinked images - specifically I want to add the URL from the post where the image appeared to the header location information ...
0
votes
1answer
90 views
How to create download links based on Custom Fields with Rewrite API
For me this is quite hard to do, but I guess that this could be easily done by an expert. :)
Let's suppose I have a post, which is a custom post type resources, with the following data:
Post Slug: ...
12
votes
7answers
7k views
How do you create a “virtual” page in WordPress
I'm trying to create a custom API endpoint in WordPress, and I need to redirect requests to a virtual page in the root of WordPress to an actual page that ships with my plug-in. So basically, all ...