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)

0
votes
2answers
211 views

How do I make WordPress revise an .htaccess file a certain way?

I've learned just a slight bit with WordPress Rewrite API -- just enough to add another rewrite rule for a plugin. The plugin works if installed in the root, but I'm finding that if one installs ...
4
votes
1answer
215 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 ...
-1
votes
2answers
942 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 ...
0
votes
1answer
306 views

Tricky URL rewrite with custom values in url

We have custom post type as user_images and each of these post has a image attached with image name is 3 digit number followed by extension. When the url http://mysite.com/wp_username/3digitnumber ...
1
vote
0answers
66 views

Possible to get all posts with my shortcode?

So here's what I'm trying to do. I'm building a plugin for a business directory. Each business is assigned to a category. There are two views, listing and detail. To give the user as much ...
4
votes
1answer
180 views

Permalinks so that one custom post type appears to be a child of another, not working

Currently I have two post types, "products" and "products-data" they are separate post types; however, for all intents and purposes products-data is a child post of products. The relation is ...
4
votes
1answer
321 views

Display posts with author in the url with custom post types

I'm having a really difficult time with this. I have a multi-user gallery site. Each author has his own page that lists the author's posts (this is a custom post type). I have made it so that the ...
0
votes
2answers
207 views

Rewriting Image URLs from dynamic to original

Here's the deal: My plugin automatically watermarks images from the WP gallery on the fly using the GD library wherever these images appear. So, I have a physical copy (in wp-uploads) of these ...
5
votes
1answer
515 views

External/non-WP rewrite rules

I have a fairly complex wordpress with multiple sub-directories: example.com/sub1/ example.com/sub2/ I'm trying to implement some history/bookmark support, and to do that I need the URLS containing ...
1
vote
1answer
88 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
0answers
70 views

Pretty URLs and rewrite

I'm trying to get to where I can create a pretty URL for a custom post type (The end goal being to add a unique value to the query string so I can leverage page caching). So for example the original ...
0
votes
1answer
78 views

Two Rewrite Rules

I have one folder inside WordPress root folder named links and there is a file called index.php inside this folder. at somewhere else in my WordPress site I do generate links such as ...
0
votes
1answer
416 views

Custom url structure - pages under a custom post type

I'm struggling with the structure of my Wordpress site and I was hoping you might be able to give me some advice. The site is for a series of events and the structure is as follows: Gateway ...
2
votes
0answers
289 views

get_permalink returns default link

I hope you can help me. So I'm using /%postname%/ as permalink structure, and my htaccess looks like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase ...
1
vote
0answers
51 views

Customise particular RSS permalink

From my old static website, I want to preserve some URLs like the RSS Feed one. My feed URL is http://traduction.bainslesbains.com/actualite-russe.xml and I want to redirect it to the category feed ...
4
votes
1answer
523 views

Add forward slash on categories url (serve one version of a url)

How can I a add forward slash on categories URLs and serve only that version of a category (meaning URLs not ending in forward-slash will redirect to URLs ending in forward slash). I manage to remove ...
1
vote
0answers
106 views

One blog inside another

I have a question about having two blogs at the same host simultaneously. Here is my scenario: The first blog is hosted in the root directory http://mathosproject.com/, and the second is hosted in a ...
1
vote
2answers
1k views

Combine Multiple Categories Into One URL Slug

I have a Wordpress website with 20+ categories. To make it easier to navigate I want to decrease the categories, but at the same time keep the original categories. In other words I want to be able to ...
2
votes
1answer
92 views

Appending numbers to url do not break the link

I'm doing some url and meta cleanup and have found a strange problem(?) where, when adding a number to a url, the url still works. For example: The following uris both work and retrieve the same ...
0
votes
2answers
530 views

Search url wp-rewrite after redirect?

I started using this functions for my "search results"-page. #SearchRewrite add_action('generate_rewrite_rules', 'my_rewrite_rules'); function my_rewrite_rules( $wp_rewrite ) { //RewriteRule ...
2
votes
1answer
190 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'); ...
1
vote
0answers
104 views

URL Rewrite with Custom Variables

I right now have a custom post type with a url structure like: example.com/videos/taxonomyname/ I have a custom variable that I am detecting in the template file to switch layout views which works ...
1
vote
1answer
73 views

Rewrite URL for taxonomy listing

I have created several custom taxonomies and each "archive" can be viewed on the url mysite.com/taxonomy/term Is it possible to rewrite the URLs so my taxonomy archive lives under for example ...
1
vote
0answers
159 views

wordpress multisite permalink structure: mostly subdomains but not all

I've got a Wordpress multi-site install with three (related) sites, and it works great. Previously, each site had its own totally unique domain name which I was managing with the WordPress MU Domain ...
1
vote
1answer
91 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 ...
0
votes
1answer
452 views

.htaccess rewrite

I have created a custom post type called 'event' and added an event called London 2012. I want the following URL structure for a page: local.mysite.com/london-2012/speakers I have created a page ...
1
vote
1answer
2k 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 ...
0
votes
1answer
105 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
109 views

unexpected problem in url rewrite

As per the answer provided in How to create custom URL routes? I have created the rewrite rule using the same function provided. add_action( 'init', 'wpse26388_rewrites_init' ); function ...
0
votes
2answers
164 views

Rewrite Custom Fields url

I use custom fields named 'url' to add another website url (like http://www.youtube.com), I want to rewrite the 'url' as http://www.mysite.com/go/123. I tried all rewrite plugins, no one could do ...
1
vote
1answer
195 views

Re-write specific custom post type category URL to go to another page

I know this general question has been asked before (like here and here), but the problem is with my limited experience, I cannot get the results I need looking at other people's code. So here's my ...
2
votes
1answer
154 views

Permalink Rewrite for Custom Taxonomy

I have added a custom taxonomy called 'Boards' with the following code function add_custom_taxonomies() { register_taxonomy('board', 'post', array( 'labels' => array( 'name' ...
1
vote
1answer
249 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
vote
1answer
161 views

How to redirect to correct pages after permalink structure change

I am changing my permalink structure from /%year%/%monthnum%/%postname%/ to /%category%/%postname%/. Is it possible to redirect old links using old permalink structure to the new link? Possibly via ...
1
vote
1answer
69 views

Can I call a custom plugin with a direct URL

Suppose I have written a hello world plugin, the main function is just print out a sting hello world. I want to print out hello world when I access the URL likes http://example.com?plugin=helloworld ...
4
votes
0answers
93 views

Restrict url to one segment, even when page or post is nested [duplicate]

I use nested/hierarchic pages purely for organizational purposes in the admin but on the main site I don't want a nested url structure. So if the page structure is /page/another-page/and-another-page, ...
0
votes
1answer
278 views

Problems with permalinks (.htaccess not working)

I would like to use permalinks but they are not working. Whenever I use permanlinks like /%postname*/ are something else that differs from the default ... I get an 404-error. Calling php_info I can ...
1
vote
1answer
147 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 ...
2
votes
2answers
3k views

How to modify URL structures in custom post types and taxonomies or terms

I am well aware that there are several posts covering the topic of customizing the permalink URL structure of custom post types, custom taxonomies, and taxonomy terms. However, none of them are real ...
1
vote
0answers
172 views

Wordpress rewrite rule not working

www.xyz.com/place?id=(variable) which I would like in the format: www.xyz.com/places/(variable) www.xyz.com/tags?id=(variable) which I would like in the format: www.xyz.com/type/(variable) ...
0
votes
1answer
108 views

Rename page URL

I have the following URL structure: http://localhost/wordpress/gallery?id=331 id specifies the id of the post. gallery is a normal page inside which I am accessing the id of the post and fetching ...
-1
votes
1answer
168 views

Creating complex URLs with Wordpress permalink structure

I'm trying to self-educate so I can have a more informed conversation for a WP site development spec I'm trying to create. Grateful for any answers to what I would like to accomplish. I want to ...
1
vote
0answers
106 views

Disable date based archives for all categories except one

I want to remove all date base archive url permalinks (url_rewrites) from my site, excluding for only 1 category. How can i do that. For example: www.example.com/category_1/2012/ -> 404 error ...
2
votes
2answers
282 views

Remove Author Slug & Replace With Username

I reviewed all related questions but none tackle this exactly so I'm posting the question in hopes the pro's know how to handle this. I would like to change the author slug to remove the term /author/ ...
0
votes
1answer
484 views

Using custom url parameters in a page

Im trying to create a custom image galleri that retrieves images from posts as can be seen here http://kurdaktuellt.se/galleri/ problem in hand is that I'm trying to make the url somewhat user ...
3
votes
1answer
208 views

rewrite get parameter with custom post type

I am trying now for a couple days to solve the following Problem: I have a custom post type called gallery. I need the URL http://example.com/gallery/FOOBAR to be parsed like ...
4
votes
1answer
544 views

Custom post types with their own permalink structure

My main posts are news items (category "news"). Therefore, I used global URI writing in the following format: /year/month/post-name I also have posts that contain photo albums (category "photo") but ...
10
votes
4answers
5k views

Remove custom post type slug from URL

Haven't found a useful answer for this. I am aware of the conflict issues and all the problems this may cause, I'm curious if it's POSSIBLE not SUGGESTED. This will require WP rewrites, I know this ...
0
votes
1answer
306 views

How to make wordpress use www.example.com/blog/wp-includes/ instead of www.example.com/wp-includes/?

I have WordPress at address http://www.example.com/blog/, now I want it to be accessible as http://www.example.com/ without moving wordpress to root directory. I have made appropriate .htaccess ...
1
vote
1answer
562 views

Disable wordpress pagination URL rewrite for specific page

I'm hoping somebody could help me out with the following issue. I have a wordpress page: http://www.howdesign.com/design-jobs and there is a list of jobs coming from behance.net via JavaScript. When ...