Tagged Questions
0
votes
0answers
47 views
rewrite rule, add query var, but it is not in the function.php, it is in the plugin
I tried to create a plugin so that users don't need to edit other files (like function.php, header.php).
I tried to add a rewrite rule in the plugin, all things works fine, but add query var.
My code ...
0
votes
2answers
33 views
Remove .htaccess portion upon plugin deactivation?
I have a plugin that inserts some rewrite rule in the .htaccess file. However, upon deactivating it, doesn't remove said rule. The rule is nested in # BEGIN My plugin and # END My plugin.
I want to ...
1
vote
2answers
107 views
External Rewrite Rules
I'm trying to add a rewrite rule to Wordpress. I want to rewrite: "http://www.domain.com/plm_check/var_a/var_b/var_c/" to actually use a file from ...
0
votes
1answer
57 views
Virtual Page with Registration form
Working on a plugin, which is intended to provide a registration on front-end, to let users register.
I am trying to create a Virtual page, which would display the form.
Trying to create URL like ...
1
vote
1answer
290 views
How to Rewrite Wordpress URL for a Plugin
I am trying to build a Wordpress plugin here with a custom user admin area. What I would like to do is when the user adds /edit at the end of the page, it should open a page from my plugin. So for ...
1
vote
1answer
93 views
add_rewrite_rule behaving strangely
I'm customizing another plugin by changing the rewrite rule, from:
add_rewrite_rule('^api/auth/([0-9]+)?/?','index.php?__api=1&uid=$matches[1]','top');
to:
...
1
vote
1answer
294 views
Does WP Have a Function To Generate .htaccess RewriteCond?
I know that I can edit .htaccess manually and add a RewriteCond statement inside, but I need to build a plugin that does this the proper way by using WP rewrites which then get pushed into .htaccess ...
1
vote
1answer
207 views
How To Consistently Enforce Rewrite Rule in Plugin Development
Let's say I create a customer support plugin that hijacks the /support part of the URL and redirects it to an MVC framework in my app folder of my plugin folder, like so:
RewriteRule ^support(.*)$ ...
0
votes
1answer
39 views
How to link to custom “archive like” page with custom permalink rules “dynamically”
I am working on a plugin where I am trying to create a "archive like" page with permalinks.
Here is what I have so far:
I've created a query var "experience"
I've created custom SQL selects using - ...
0
votes
1answer
387 views
HowTo to add my rewrite rules at the beginning, redirect to the right page and flush the rules on plugin activation?
Hi i am currently writing a WordPress plugin that i want to release to the public. I am having a few issues with URL rewrites however.
I have got the plugin to redirect to the plugin page ...
3
votes
3answers
441 views
Plugin to Consume a Web Service
I'm attempting to write a knowledge base plugin to consume the Salesforce API and pull in solutions in a RESTful style application path; however, some of the core plugin concepts escape me. For ...
1
vote
2answers
175 views
Help With Rewrite_Rules For a Custom Plug-In
I've been reading through this question and answer with great interest as I'm trying to achieve something very similar, but I'm failing and was wondering if someone could help me out.
I am also using ...