Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"

learn more… | top users | synonyms (1)

4
votes
1answer
174 views

Enforcing canonical URLs with multiple custom post types

I'm working on a project with several custom post types, where one of the post types is naturally (but not actually in the WordPress sense) the 'parent' of the others. For example, say I have a ...
3
votes
1answer
529 views

Creating custom permalink structure for languages

I've written a simple multi-language system, whereby clicking on a flag icon sets a one year cookie containing a two letter language code (e.g. nl, de, etc). I hook into the wp action to read the ...
2
votes
1answer
92 views

Pagination problem

I have two custom rewrite rules: add_rewrite_rule('foo/bar/?', 'index.php?post_type=foo', 'top'); add_rewrite_rule('foo/bar/([a-z]+)/?', 'index.php?post_type=foo&bar=$matches[1]', 'top'); Which ...
2
votes
1answer
32 views

Is it possible to generate an alternate structure for multi-tag urls?

I know that one can query multiple tags with the + syntax, as in www.example.com?tag=?test+test2+test3 I'm looking for a solution where the URL would be in this format instead: ...
2
votes
1answer
1k views

Passing parameters to a custom page template using clean urls

I am now passing parameters to a custom template in the following format www.example.com/?pageid=12&rid=24&title=this-is-the-title I have created two tables . So I need to fetch data and ...
2
votes
1answer
201 views

Custom taxonomy on permalink

I have a long time problem and look forward for your help. I have a custom taxonomy of "city" (it is no hierarchical like tags). I just would like my URLs to look like this: ...
2
votes
1answer
190 views

How to change ?lang=cn into /cn/

I'm trying to add languages to my wordpress driven website and i installed xili-languages plugin. Unfortunately it uses lang param to differentiate between languages and i rather have seen something ...
2
votes
1answer
156 views

Rewriting URLs in Wordpress

I am trying to solve a rewrite problem but don't fully understand how to read the below code. I believe the event/industry/(.+)/?$' is stating the format I want in my new url after rewritten, which ...
2
votes
1answer
73 views

Is it possible to rewrite URLs in this situation?

I am using a fantastic plugin called Query Multiple Taxonomies which provides a widget to "drill down" by category / tag and other custom taxonomies you may have. The site is livetonom.com. The ...
2
votes
1answer
611 views

add_query_vars and add_rewrite_rules

I am looking for some clarity on what add_rewrite_rules does. If I type in, or submit variables from a form, is it supposed to change the query variables to the pretty url? Currently when I type in ...
1
vote
1answer
22 views

Why did installing wordpress in url root jack up underlying WP sites?

I have a server (w2008 with iis7.5) and domain with a lot of different WP installs. All of the following represent WP installations. x.com/stuff x.com/programs/recent ...
1
vote
1answer
10 views

IIS 7 Rewrite with parent categories

I have seen quite a few questions on here asking around the same thing but either have been unanswered or slightly different! I have tested the following on a linux machine and all works fine, when I ...
1
vote
1answer
72 views

Custom query_vars and parse_request on wp-admin

I've read this post http://wordpress.org/support/topic/query-vars-in-admin and although it's quite an old question, it suits me perfectly. I'm trying to accomplish what I already posted here: ...
1
vote
1answer
24 views

Rewrite Rules returning wrong data

I have a custom post type called product. It is categorized with the two taxonomies product_category (which is superior) and product_group. I want the permalinks for single products to appear like: ...
1
vote
1answer
43 views

Is a permastruct possible on pages?

Since a couple of weeks I'm trying to create my own rewritings on pages. I read a lot about rewriting with posts and custom post-types. BUT: I have pages that I call with variables. How is it ...
1
vote
1answer
111 views

Using plus (+) sign insread of space (-) in WordPress URL

How to change space (-) sign to plus (+) sign in clean URL WordPress? Like: http://www.whitelotuscorporation.co.in/anax_wp/about-us/ to: http://www.whitelotuscorporation.co.in/anax_wp/about+us/ ...
1
vote
1answer
98 views

Random Alphanumeric Key URLs

I need random (and unique) alphanumeric permalinks. I've looked at several plugins but they all seem to do some form of redirection to a longer URL. That's not what I want, I want the permalink to be ...
1
vote
1answer
334 views

WP Login forms action URLs displayed as pretty URLs in browser (ex with Restore Password)

I would like to use the WP native login/register/restore password/.. functionality, but display pretty URLs instead of wp-login.php I've been looking at the core code and noticed that most login ...
1
vote
1answer
41 views

Multiple URLS per post non-ascii

I am looking for some best practice / practical advise on a particular URL use case. I am finding myself using a lot of non-ASCII characters in my URLs. This doesn't really make it easy for users of ...
1
vote
1answer
124 views

Custom Rewrite Rules

I am developing a plugin, the goal of which is to allow for a bookmark-able, pretty permalink search engine on a single page. To do so, I am using WP's rewrite rules to allow for the ...
1
vote
1answer
56 views

Organizing Your Pages

I'm having problems creating sub pages. So far I've followed the proper directions: Go to a new page, click the "Page Parent" drop-down menu. Select the appropriate parent Page from the drop-down ...
1
vote
1answer
87 views

Taxonomy in URL

I have a huge problem: I want to have nice URL's on my Homepage. I got a custom post type and taxonomies. Now I want to have a URL like that: www. mydomain ...
1
vote
1answer
141 views

Get Taxonomy Term Title by it's URL

I have a URL - http://localhost/products/product-name/ and I want to use this URL to retrieve the title Product Name This is out of loop, so the URL provided is all I have to work from. Product Name ...
1
vote
1answer
218 views

Need to add rewrite rule that adds in additional information about the post to url

A have a post type for venues which have the attributes title, state, and suburb. Currently using the default WordPress permalinks I get the following format: mysite.com/venue/{title} However, I ...
1
vote
1answer
432 views

Custom Post Types, URL rewrite on multiple CPTs

Re: Custom post types, taxonomies, and permalinks by @TheDeadMechanic The solution above works perfectly, and rewrite is great, but can you advise on how to rewrite for more than one custom post type ...
0
votes
1answer
46 views

Getting add_rewrite_rule and add_rewrite_tag to work

I am new to using add_rewrite_rule and add_rewrite_tag. I am trying to get a very basic example to work, but nothing I do seems to make it work. I want to access this URL (this works when entering ...
0
votes
1answer
38 views

Taxonomy rewrite pagination 404

I have rewritten my taxonomy url to the name of my posts type 'filter'. Because I have done this, my pagination does not work anymore on the url: http://www.website.com/filter/term-name/ So if I ...
0
votes
0answers
43 views

Custom Rewrite for Profiles

I'm currently trying to modify my rewrites to allow for an additional URL segment e.g. http://example.com/vendors/username/ by default WP allows for additional numeric segments but everything else ...
0
votes
0answers
100 views

Stop wordpress to redirecting home page if no page found

I don't want to redirect to home page when there is no page or wrong url. I have following in httaccess file # BEGIN WordPress RewriteRule ^sitemap.xml sitemap-%{SERVER_NAME}.xml [L] RewriteRule ...
0
votes
0answers
433 views

How to rewrite AJAX call URL to admin-ajax.php to match REST style URLs

Let's say I have an AJAX callback setup using admin-ajax.php that fetches WordPress posts when query parameters are passed in the URL. A typical URL for an AJAX call using the GET method would look ...
0
votes
0answers
99 views

Ignoring slug capitalization on rewrite rule for custom post type archive page

I'm declaring a custom post type 'games' with a rewrite rule: 'rewrite' => array('slug' => 'Games','with_front' => false), So the resulting url for the games archive is ...
0
votes
0answers
66 views

Permalinks with Virtual Pages

I am attempting to make a custom login page template (page-login.php) that will be loaded whenever the user navigates to any of the following URLs: www.url.com/login ...
0
votes
0answers
33 views

Custom URL writing with two taxonomies

I have two custom taxonomies: Brand and State If I'm viewing the "Browse States" page, I'm wanting to use wp_list_categories() to list all the states (I can do this). The urls for each State being ...
0
votes
0answers
22 views

Make only one CPT available by slug

I did a lot of research until I figured out how to remove the slug from a custom post type. I used the method described in this post here. So I have RewriteRule ^bereiche/(.+)$ /$1 [R=301] in my ...
0
votes
0answers
91 views

Multiple Taxonomy in URL/Query - No Custom Post Type

I have Volume and Issue as separate Taxonomies and all Posts have a Volume and Issue assigned. These posts are of post_type=post, not a custom post type. I linked to and queried for the Volume ...
0
votes
0answers
72 views

Add parameter to URL

I have in my functions.php this function: // rewrite the url function my_rewrites_init(){ add_rewrite_rule( 'demo/([0-9]+)/?$', 'index.php?pagename=demo&p_id=$matches[1]', ...
0
votes
0answers
123 views

Multiple taxonomy (category) filters

I would like to add advanced filtration to my wp website. E.g.: - you can filter cars by "fuel type", "purpose", "color", "brand/make"... - I would like to get intersection of results in one page. ...
0
votes
0answers
81 views

Pass form field values as part of URL

I'm trying to integrate my contact form (contact form 7) with a payment gateway. How do I pass the value in my input field after the user hit submit button? For example, if the amount is "12.99" ...
0
votes
0answers
135 views

uploading Attachments with permalinks based on parent file structure

We are rebuilding a public-interest site centered on civil rights research & document archives. The links in years of published info posts must be preserved in WordPress, and future uploaded ...
0
votes
0answers
95 views

Custom Post Type and Rewrite Slug Not working for Archive page

I'm hoping someone can help me out. I asked this on Wordpress.org but figured no harm in asking here too. I read an article about using a custom plugin to create custom post types. So I did. ...
0
votes
0answers
59 views

Custom permalinks structure and custom post types

For all posts, regardless of of the post type I want the URL to be, /read/%post_id%/%postname% and have the custom post types be archives so you can go to /%post_type% and /%post_type%/%category%. ...
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
0answers
30 views

Rewrite Admin URLs

I am creating settings pages for my plugin. Is there some method of making it so that my admin pages have nicer permalinks? (perhaps using wp_rewrite?). For instance, the url for my settings page ...
0
votes
0answers
611 views

Pretty URLs for lost password functionality

I have WP installed in sub-directory and I'd like to have pretty URLs for the lost password functionality. So, something like this, from WP native -> pretty URL: Initial and any errors lost password ...
0
votes
0answers
115 views

Change URL of static page set as homepage

I've been on this one for a while and just cant seem to find the proper way of doing it.... I have a static page called 'digital' set as my homepage. I just want the home url to display: ...
0
votes
0answers
56 views

Wordpress adding in site URL to header links

A little information: I am developing a one page theme that uses posts as sections on the main page. I have created code that allows users to add a menu item in the post page from a meta box when they ...
0
votes
0answers
80 views

Adding in Custom Directory/Path in URL Without Effecting Permalinks

After several tries of piecing together different forms of add_rewrite_rule() and .htaccess edits, I have not been able to find a solution that works. I want to add in a custom directory to a ...
0
votes
0answers
182 views

how to set up permalinks to contain special characters

I have been trying for months to make a one page WordPress site. This site has need for a special character set in the navigation in order to work. Each page is set up in an unordered list based on ...
0
votes
0answers
236 views

Use $_GET with permalinks on page

I'm currently trying to use a $_GET to populate a MySQL query with in a URL on another page within a Wordpress site. URL sample: <a href="http://site.com/file.php?alabama">Alabama</a> ...
-1
votes
0answers
25 views

Creating a second custom public author page

I'm sorry if this question have already been asked, but I couldn't solve my problem after reading similar issues. I have my author page (www.mysite.com/authorname) that works well and takes the ...