0
votes
0answers
24 views

Can I use pretty URLs for paramaters without query_vars?

I have a plugin that retrieves data from custom non-WordPress tables. I'd like to be able to add pretty URLs to retrieve the data, but as far as I can tell, if I use the add_rewrite_rule and ...
2
votes
1answer
55 views

custom taxonomy and custom post type url conflict

i am having one serious url issue. there is news custom post type. it's slug is news. News taxonomy slug: news_category News taxonomy url is: http://domain.com/news_category/press-release i want ...
-1
votes
1answer
14 views

Remove base from the custom post type URL [duplicate]

I wanted to add blog before the post slug in the URL. The URL for the post type page was: http://example.com/blog/post-one So basically to add blog before the posts url in Settings >> permalink ...
2
votes
2answers
240 views

Custom pages with plugin

I'm developing some plugin where I would like to enable custom pages. In my case some custom page would contain a form like contact form (not literally). When user will fill out this form and send it, ...
0
votes
0answers
32 views

Create custom 'page' with plugin

I haven't been able to find this anywhere else so I thought I'll ask here! My plugin creates a custom post type with the various front-end rewrites, and I'd like to create a page on the front-end ...
0
votes
1answer
58 views

How To Rewrite WordPress Pages URL Only?

I have my WordPress pages URL as www.example.com/WP/sample-page and I want to make it like www.example.com/WP/p/sample-page.html For this purpose I used a Plugin name "Pages with extension" and it ...
0
votes
1answer
58 views

custom url with custom post

I want to change my custom post URL. I want to remove "item" from URL. With the below code and with custom post type url plugin http://wordpress.org/plugins/custom-post-type-permalinks/ my URL is: ...
0
votes
1answer
8 views

How to remove post redirects

I recently installed a plugin called "Q and A FAQ and Knowledge Base for WordPress" Turns out it was lacking in the features I needed so I trashed every faq I had created and then deactivated the ...
1
vote
1answer
26 views

Checking that the Rewrite API is available

WordPress supports URL rewriting through the Rewrite API. It relies on underlying HTTP server mechanisms to get the job done. It is not always possible for WordPress to enforce the Rewrite rules. For ...
0
votes
1answer
77 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
129 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
50 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
270 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
59 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
230 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
33 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 ...
1
vote
1answer
671 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
191 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
1answer
41 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
2answers
79 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
389 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
1k 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
94 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
212 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
107 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
280 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
260 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
66 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
929 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
53 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
163 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
105 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
4k 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
133 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
999 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
649 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
323 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
77 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 ...
2
votes
1answer
356 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
123 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
250 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 ...