Tagged Questions
0
votes
0answers
10 views
Affiliate linking id to payment page
I'm sorry if this has been repeated but I haven't found anything exactly to what I need. I have a website for a client that will be sending links to affiliates. The affiliates will link to our ...
0
votes
0answers
27 views
How Wordpress Rewrite Rule Work
This is my rewrite rule under function.php file
include('add_rewrite_rules.php');
$options = array(
'query_vars' => array('state', 'state_destination','state_name'),
'rules' =>
...
0
votes
2answers
50 views
How to embed a new string in url?
I am creating a custom tours and travel theme in which I have created custom post type Cities, Locations, Destinations and i am using custom permalink structure. /%category%/%postname%/
So now I want ...
0
votes
1answer
85 views
How to customize a title by passing query string?
I have a profile page, it is a template. Every time when I click one of a doctor, the profile page will show the specific doctor info by passing a query string. Something like
profile?doctorName=abc.
...
-1
votes
2answers
337 views
How to improve WordPress security by hiding non public facing files?
e.g.
curl -I http://ma.tt/blog/wp-config.php
200 OK
The wp-config.php is not public facing file, since it currently just return blank page, so why not return 404 instead. (so will not be cached by ...
1
vote
1answer
72 views
How to Create a Custom Slug for Tags and Categories with a prefix or suffix?
I wanted to rename the slug to use a custom rewrite with a prefix or suffix that I choose. For example, if the tag name is "product" I want to use a rewrite with a slug that says ...
1
vote
1answer
93 views
Custom rewrite rule is not picked by Wordpress
I am trying to create a custom Rewrite URL something like
function add_my_rule() {
global $wp;
$wp->add_query_var('state');
$wp->add_query_var('state_destination');
...
0
votes
1answer
71 views
Wordpress plugin url for form submit
I am creating a custom plugin that has dynamic forms and I wanted to ask on how I can create a dynamic form action url.
Example is Contact Form 7, how did cf7 create the form action url without ...
1
vote
1answer
139 views
How does WP handle multiple matching rewrite rules?
Here is my url to a custom type :
http://host/movie/my-slug
When I go to this link, I'm redirected to
http://host/movie/my-slug/?post_type=movie
which results in a 404 error.
I use Rewrite ...
-1
votes
2answers
105 views
Please Check this '.htaccess' File
I just found my '.htaccess' file has the same lines of code repeated twice as below, maybe some plugins changed it, is it incorrect? Should I remove the repeated one? Thanks!!
<IfModule ...
1
vote
0answers
44 views
URL rewrite of independent plugin?
I'm currently developing a more complex plugin for WP which can't be hooked up to the WP-API itself (Custom Post Types doesn't fit my requirements). Of course I use the API alot, because the data is ...
0
votes
1answer
622 views
i want to rewrite my custom plugin url
I am Working on wordpress plugin. and i have a form like this
$action_url = WP_PLUGIN_URL .'/demo-url-rewrite/include/test.php';
<form action="<?php echo $action_url; ?>" ...
0
votes
1answer
49 views
rewrite file to wordpress
I have in my plugin dir a endpoint.php and need to rewrite like this:
http://domain.com/API/endpoint.php
This is the code I've used:
add_rewrite_rule( 'API/endpoint.php', ...
0
votes
1answer
121 views
Wordpress add_rewrite_rules for custom URLs ending in .html
It's pretty common to see Wordpress running on pretty permalinks in the style of:
/blog/2012/04/my-post/
However I'm trying to customize a fresh Wordpress install with a different set of URLs. I ...
0
votes
1answer
64 views
Plugin generated taxonomies' permalinks with custom placeholders
I have a problem with permalinks for custom taxonomies generated with Types http://wordpress.org/extend/plugins/types/, a plugin for creating taxonomies, custom posts and custom fields.
The problem ...
0
votes
0answers
243 views
Wordpress Plugin function callback by URL [duplicate]
Possible Duplicate:
How to Rewrite Wordpress URL for a Plugin
I'm creating a plugin for Wordpress.
Is there any way or API to make plugin receive a path or URL so that it can trigger or ...
3
votes
1answer
1k views
Add Rewrite Rule for custom page
Was trying to create author specific page with author specific URL and it was working fine,but when i created this URL did not taken in to account following 2 factors
Author Name Conflict (similar ...
0
votes
1answer
106 views
Creating author Specific page URL
My Question is almost similar to author-specific-urls-in-wordpress and mapping-multiple-urls-to-same-page-in-wordpress. And i have followed the following steps
Created a custom page (writer.php)
...
1
vote
2answers
597 views
How to Create a Custom Plugin Permalink
I wrote a simple plugin that will redirect the users to a page on a certain date. (in this case it's for the Blackout against SOPA here in the US)
Right now I'm using the line ...
1
vote
3answers
380 views
flush_rewrite_rules not working on plugin deactivation, invalid URLs not showing 404
i'm just about to release a community plug-in and have a few last anoying issues.
First, whenever i visit a page that would not be valid for the plugin, www.mydomain.com/forms/tester it will take me ...
1
vote
1answer
255 views
Author Specific URL's in WordPress
In continuation of this thread
Mapping multiple URLs to same page in WordPress
is there any other way except redirect similar pattern URLs to same page.
Our goal is to provide our guest and other ...
0
votes
1answer
74 views
Plugin with custom domain
OK I will try to explane my problem better.
What I need to do is to create a kind o service for my WordPress.
From some external web sites I like to send some data to my main WordPress web site ...
1
vote
1answer
291 views
WordPress custom URL Rewrites redirecting not masking
I have the following code that exists in a plugin that is meant to take a request to the url /stores/directory/foorbar/ and pass foobar as a GET variable:
function pcrr_rewrite_rules($a) {
$k = ...
1
vote
1answer
110 views
Plugin Appends ugly url string to index
A custom background plugin has started to cause certain browsers (FF, IE8,9, Safari) to reveal an appended url string when viewing the index page: http://dearearth.net - this mostly shows when not ...
3
votes
2answers
153 views
What is the best way to output plugin result in certain url
Knowing that wordpress doesn't follow MVC pattern.
What is the best way in worpress to output plugin's result in a certain url.
lets say I would like to show "hello world" in main area under ...
