0
votes
1answer
35 views

Apache rewrite rules and wordpress problem

I tried to fix my problem by using wordpress rewrite rules but sadly it took me so long I tried this approach. I got it working for one of my simpler problems but now I can't get it to work for my two ...
0
votes
1answer
48 views

how to change the verification url of pie register plugin of wordpress?

how can I change the verification url of pie register plugin? when any user registers it send a verifiaction url like this " ...
-1
votes
1answer
30 views

How can I output completely custom content with plugin while still having header, footer, sidebar etc [closed]

What I want to do is make some url rewrites that will be handled by classes in my plugin. When one of these urls is matched I want to hit an external api and then put out custom html with the content ...
0
votes
1answer
87 views

URL Rewriting from a Plugin based on custom values

I am developing a plugin where Admin can integrate the plugin to a page where newly added products will be shown.. So, let's say user add the plugin to a page named my-page. So, the main content of ...
0
votes
0answers
49 views

Use of unicode postname when using custom generate_rewrite_rules

I have a custom rewrite rules like.. add_action('generate_rewrite_rules', function ($wp_rewrite) { $wp_rewrite->rules = array('products/(.+?)$' => ...
2
votes
2answers
140 views

flush_rewrite_rules() not working on plugin activation

I am experimenting with creating a simple plugin to create a custom post type named project but am having some trouble with the rewrite rules not been flushed on activation. I have the main plugin ...
0
votes
0answers
32 views

How can I process all requests for a given directory in a URL with my plugin?

I'd like to pass all requests for a given directory using a plugin or template file. For instance, all of the following requests would be sent to the plugin: mysite.com/directory/blah ...
0
votes
0answers
128 views

Error filtering attributes in woocommerce

I have two custom attributes in woocommerce, Brand and Colour If I access the url for a custom attribute like for example: www.myshop.com/branad/nike and then try to apply a layered navigation ...
0
votes
0answers
24 views

Is this website made using WordPress? [duplicate]

I have this web site URL: http://www.erusma.org that is a multilanguage website, infact opening this URL I obtain the following address: http://www.erusma.org/en/default.html Looking at the source ...
1
vote
1answer
402 views

Add .html extension to custom post type taxonomies

I want to have the .html extension in the custom post type taxonomy urls. My custom post type taxonomy it is called "product_cat". I will need something like: ...
-1
votes
2answers
168 views

Custom url rewriting

I am struggling to create custom rewrite rules for wordpress. This is my url structure http://domain/cityprofile/?city=Sydney where city profile is a page template. Now i want to make this url ...
0
votes
0answers
114 views

Problem with my add_rewrite_rule

I have a rewrite rule that needs to allow me to add 1-3 variables to the end of a page, the variables are then accessed by a plugin using a shortcode. This is the base page: ...
0
votes
1answer
38 views

How to force load a page in plugin?

I have a plugin which do very simple task... if ( $_SERVER["REQUEST_URI"] === '/foo' ) { // How to display the content of page of ID = 3, without using wp_redirect() } So the url is staying at ...
0
votes
0answers
17 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
2answers
75 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
251 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
753 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
84 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 ...
2
votes
1answer
167 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
97 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
227 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
201 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
58 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
828 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
50 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
151 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
90 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
3k 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
122 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
876 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
555 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 ...
0
votes
1answer
308 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
76 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
333 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
122 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
212 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 ...