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)

2
votes
2answers
3k views

How do I rewrite a url to use %taxonomy% instead of %category% when multiple taxonomies are present?

I would like to have the option to use taxonomy in the url instead of only having category like "uncategorized." Note that I have multiple taxonomies (countries, states etc), some of which have ...
2
votes
6answers
4k views

Wordpress CMS - hide content from public while in editing stages

I'm setting up a simple web site for a member of my family, using wordpress as a CMS. I've already registered a domain name and I'm about to set up wordpress. I want them to be able to edit the site ...
1
vote
1answer
709 views

Pros and cons of using [taxonomy name] in place of [category name]?

We are currently in development on a new site. Categories (& tags) are pretty much meaningless for us because we've implemented custom posts & taxonomies. By default, because I have enabled ...
0
votes
1answer
2k views

Regex problem in an add_rewrite_rule

I'm working on a category page for a custom post type called articles in WP 3.1, and I'm having some trouble with extracting the page number. The url: /articles/category/background/ Currently, what ...
0
votes
1answer
2k views

Help with Wordpress custom url rewriting?

I have 3 problems. First,I would like something like this to do : www.example.com/myblog => myblog.example.com myblog is template page. and then when open one post from that page(post are custom ...
0
votes
2answers
990 views

Own code on index.php wordpress theme file, help with the rewrite rules

Hey there, I am sooo frustrated, asked and asked and can't seem to get an answer. Pleaseeeee help, I'll be very very clean whith my problem. I'll give hundreds of bears to the one who can help:) I ...
-2
votes
1answer
222 views

Please give me the rewrite rules for my ugly urls

In functions.php I am adding a rewrite rule for this url: http://www.myblog.com/?currentpage=1 http://www.myblog.com/?currentpage=2 And so on... This is the code I use, can u please give me the ...
3
votes
3answers
4k views

Need help with rewrite_rules_array

I have a page that I access at /category/tasks and the file is located at wp-content/themes/my-theme/tasks.php. I would like to make it so I can add a flag after tasks and pick up the query strong in ...
0
votes
2answers
2k views

How to? Redirect /category/sci-fi/ to /category/scifi/?

I changed the wordpress category slug from "sci-fi" to "scifi" a few months back by accident. How can I redirect /category/sci-fi/ to /category/scifi/ so that /category/sci-fi/page/2/, ...
0
votes
1answer
1k views

Getting Post ID from slug during init

I am trying to add a url rewrite rule that finds any posts that are connected to the current post (using Posts 2 Posts by scribu). It's tied into the WP Query object, so all I have to do is pass ...
0
votes
2answers
382 views

Wordpress 3.0 Multisite - Child sites and backends appearing blank

I've just installed wordpress on our Rackspace server - I've set wordpress up for Multisite as I have done many times before. The main wordpress site at the root functions fine - however when I add a ...
9
votes
1answer
14k views

Passing and retrieving query vars in wordpress

I have two authors pages, one displays about 5 posts. Then I'm trying to setup another page that will be all of their posts. I have created a template called moreauthorposts.php and I'm trying to ...
0
votes
1answer
583 views

Custom Path for a Plugin

i developed a plugin (the backend at least) and now i want to add a frontpage to my blog. the url should look something like this http://www.mywordpressblogalsoroot.com/mypluginname/param1/param2 ...
1
vote
1answer
2k views

WPML - how to get the permalinks to display also the default language

Currently WPML adds /fr/ to permalinks to identify a url as French. The default language of the site is English, however WPML does not add /en/ by default for the default lannguage (English) ...
5
votes
1answer
4k views

How can I rewrite URLs to pass taxonomy and post type values to the query?

So I have a site with about 6 custom post types.Three of these post types are attached to a single custom taxonomy. I would like to be able to list_cats in the sidebar and spit out a url like ...
0
votes
2answers
3k views

Changing the category permalink structure

Hopefully another simple one, I have some nested categories, like this: - category-a - category-b -category-c The permalink for category-c is as follows: ...
1
vote
1answer
496 views

Fixing custom rewrite rule

I am following the WP Example. I know my rewrite rule is being added into wordpress, so I just need to fix the actual rule. So here is my current code: ...
1
vote
3answers
736 views

Categories not working - 404 Not found error

I have a community blog at thelazy.info . All things are working except the category. When you click on any category it gives 404 Not found error. I tried searching out myself but couldn't come up ...
0
votes
1answer
2k views

Interesting Custom Post Type Slug with Taxonomy and Custom Field

I have created a custom post type called "events" and have also created a custom taxonomy which only shows up on this specific post type through which the admin must select an "event category" ...
1
vote
2answers
737 views

Using custom mod_rewrite without breaking wordpress permalinks

I am using a theme that uses posts for multiple pages, and the blog posts goes in a category called "blog", I am using the permalinks setting "/%postname%", and the blog menu url is "/category/blog", ...
4
votes
1answer
4k views

Custom rewrite rules for pages

I'm trying to get WordPress to recognize a URL structure like this: example.com/parent/page/{id}/{first_name}/{last_name} The basic ideea is that I need to access the id, first_name and last_name ...
1
vote
1answer
846 views

Custom rewrite rule serves content, but returns 404 error code

I have a plugin that sets up a custom rewrite rule. I can access the short URL and the content is returned correctly, but the HTTP response is 404, Page not found. From searching the web it seems ...
3
votes
2answers
4k views

Making a plugin file accessible via url rewrite?

In my WordPress plugin I have a php file that generates some stats about the blog and outputs it as a simple text file. To access WordPress functions I've included this at the top of the file: ...
0
votes
3answers
364 views

Use Regular Expression to get tag from permalink url during wp_rewrite in generate_rewrite_rules

I'm messing with wp_rewrite and have spent the past few hours trying to figure regular expressions out again (i seem to have forgotten.) This is probably extremely easy for someone. Basically I'd ...
0
votes
2answers
559 views

Why are my paginated result links not working?

I've developed a custom post type for WordPress that has quite a few entries that require pagination. I used the *paginate_links* function and it creates the pagination appropriately, rendering links ...
3
votes
1answer
1k views

Can 'numberposts' be passed in the URL query string?

I'm running into circles trying to set up a simple rewrite rule, and thought I'd run the question by some of the rewrite experts here. I have a custom post type, "mealplan", and I'm trying to ...
0
votes
2answers
2k views

Query custom taxonomy by term id?

I made a custom post type and a custom taxonomy, but I have a problem. When I access the url http://www.ithemes.co.kr/?shopcat=galaxy-s, it works well. But when I access the url ...
7
votes
4answers
8k views

Change the Author Slug from Username to Nickname

Hi to the community, is it possible to change the default username slug to nickname if is available? By default the url is something like: http://domain.tld/author/(admin) , is it possible to ...
3
votes
3answers
681 views

Changing directory and/or URL structure

I'm curious if its possible (and advisable) to change certain directory names and URL structure via customization by themes or plugins. For example, say I wanted the list of all a user's posts to ...
0
votes
2answers
1k views

How do I display a friendly URL link in the frontend?

I'm creating a separate (simple) directory that does not use any internal WP permalinks or pretty link structure. I've been studying how to make my own custom SEF URLs for this part of my site, and ...
0
votes
1answer
413 views

remove archive from url :: marketpress

http://valeriegeffner.com/valstore/products is the site i'm working on // if you hover over the product the url is /archives/valstore/products/%the_product_name% // the problem i'm having is that the ...
33
votes
1answer
28k views

Need help with add_rewrite_rule

SOLUTION I've gone with Update 3 and have got it working. What I had misunderstood, was that I believed that a rewrite rule would change designers/?designer=some-designer&bid=9 to ...
1
vote
1answer
2k views

Author url rewrite

The default author permalink is: http://domain.com/author/{username} How can I do something like this ? http://domain.com/author/{username}/songs http://domain.com/author/{username}/books ...
1
vote
1answer
4k views

How to reset canonical URLs / fix redirect loop

Couldn't find anything in the related questions, so here goes: I have a post which, when viewed on the site, is returning a redirect loop. The error page is showing an address for the post that ...
0
votes
2answers
453 views

Custom Download Link

How can I set up wordpress to recognize www.example.com/wp-content/uploads/2010/12/history.pdf as something like www.example.com/about/pdf-download/ I also want the user not to see the actual ...
0
votes
1answer
3k views

attachment url rewrite

i want to change the address of the file attachment link to wordpress [example: http://www.sitename.com/category/sub-category/article.html/attachment/image etc.]. i did research on the subject ...
1
vote
1answer
767 views

How can you handle rewrite rules for custom post types with option to filter on custom taxonomy terms?

I have seen this question but can't wrap my head around actually filtering on the taxonomy as well.. Essentially what I'm looking for is an archives page for the taxonomy such as mysite.com/movies ...
5
votes
3answers
5k views

Custom permalinks with NextGEN Gallery

i set my wordpress permlink to /%category%/%postname% now i'm using Nextgen Gallery so when i have a gallery in a page it will be something like /cat/page?gallery=10 i want to make it something like ...
1
vote
1answer
627 views

404 Issue w/ Custom Post Type - using Meta for Permalink rewrite

I'm trying to rewrite my permalinks using meta data from my post. The permalink rewrite works- but I'm getting the 404 issue when I try to view the post. I've flushed by visiting the permalink ...
9
votes
3answers
2k views

Override default url for author pages?

So the default url to display a list of posts by a particular author looks like this: http://domain.com/author/{username} I am wondering how to change the 'author' in that url to something else? I ...
8
votes
1answer
3k views

custom taxonomy and pages rewrite slug conflict gives 404

I'm using the Custom Post Type UI plugin to create my custom taxonomies. I have a portfolio that is made up of projects (custom post type) with 2 custom taxonomies of technologies and clients. The ...
4
votes
2answers
3k views

Filtering categories in the permalink structure

Using /%category%/%postname%/ for the permalink I get a URL string of all the categories that the specific post is included in. I would like the categories in the url to be filtered down to only one ...
3
votes
1answer
2k views

Changing the URL Structure of a Paginated Custom Post

I have a custom post type for slideshows that creates a paginated post and each slide is a separate page. The data for each slide is saved in the custom fields and each slide has a title set saved in ...
6
votes
3answers
19k views

How to redirect/rewrite all /wp-login requests

Is there any simple way to have wordpress, php or apache rewrite all urls which involve /wp-admin to /admin? I have added this entry to my .htaccess file: RewriteRule ^admin /wp-login.php [L] ...
0
votes
1answer
553 views

custom posts permalinks url rewriting

My permalinks are: /%postname% I currently use Custom Post Permalinks to rewrite my permalinks. It work well, but... I dlike to have some url like: www.mysite.com/permalinks_of_my_custom_posts.php >> ...
0
votes
1answer
794 views

IIS7.5 URL rewrite pboblem on index page

H, I've installed wp on IIS7.5 machine. But I'm having error when my permalink setting is line: /%year%/%monthnum%/%day%/%postname%/ Problem is the index page (root page /) gives 404 error (EDIT: ...
30
votes
1answer
10k views

A tool to analyze rewrite rules? [closed]

Is there a good tool to analyze my rewrite rules? I always get confused with the regexes and the parameter replacements. I have created something myself and will post it here so others can use it, ...
2
votes
1answer
3k views

Custom Post Type Rewrite Rule for Author & Paging?

I'm using WordPress 3.0.1 and I have made custom post-type called 'dienasgramatas'. My plugin also makes custom rewrite rules for displaying all posts from this post type and even custom permalink ...
1
vote
1answer
226 views

In WordPress how do you create a custom post type with the author's name in the slug?

I'm trying to build a new WordPress theme using register_post_type to create a custom post type called listings. I would like each listing to have the following permalink structure: ...
3
votes
3answers
725 views

Issues when rewrite rules collide?

Is it a problem to have a custom taxonomy and a custom post type use the same rewrite structure? I have a custom taxonomy people and a custom post type people_bio. The idea is that you get a list of ...