Linked Questions

75 votes
18 answers

WPSE Plugin Repository: The plugins that came out of WP-Answers

Link your WPSE-Plugins If you answered a question and made a plugin out of your code, than this is your place to share it. The Idea: An old comment from @MikeSchinkel during the beta phase where he ...
58 votes
1 answer

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 /designers/...
24 votes
9 answers

Remove taxonomy slug from a custom hierarchical taxonomy permalink

I created a 'forum' taxonomy, using these rules: register_taxonomy( 'forum', array('topic'), array( 'public' => true, 'name' => _a('Forums'), 'singular_name' => _a('Forum'),...
onetrickpony's user avatar
  • 13.6k
8 votes
1 answer

Custom page with variables in url. Nice url with add_rewrite_rule

Using WP3.1 I Have a custom page with a WP_Query and the query gets dynamic variables from the url. And i want safe variables and clean urls. Example: carpage/?carmodel=honda&location=...
ide79's user avatar
  • 179
6 votes
4 answers

Including category-base in a post permalink results in 404

I have static front-page and separate page /news/ as the Posts page. I would like to have the single-post URLs like this: and for the category ...
semyonfilippov's user avatar
11 votes
1 answer

Change author base slug for different roles

Is it possible to change the author base slug according to his role? For example, authors get and subscribers get I am thinking of ...
Maxim Zubarev's user avatar
11 votes
1 answer

Pretty permalinks for search results with extra query var

I'd like to know how I can rewrite a search URL that also contains an extra query var into a pretty permalink using wp_redirect and the template_redirect hook. I have taken the code from the Nice ...
Simon Blackbourn's user avatar
14 votes
3 answers

Performance of my permalink structure?

I have read the discussion on the performance of different permalinks on the wp hackers mailinglist, THIS forum and around Google. I could however not really deduce if the permalink structure I have ...
edelwater's user avatar
  • 2,574
5 votes
3 answers

Need help with friendly URL's in Wordpress

I'm creating som custom templates in Wordpress and I'm passing some data in the URL's. Currently my URL looks like this: The URL ...
Steven's user avatar
  • 2,590
0 votes
1 answer

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 ...
TomvB's user avatar
  • 103
8 votes
1 answer

How do I set a custom base URL for standard posts?

Currently, permalinks are set to /%postname%/. I'd like to prefix "blog" before all standard posts. I'm using several custom post types, each with their own rewrite rules in the setup. How can I ...
Jonathan Wold's user avatar
5 votes
6 answers

Contributing to the community

I have recently found myself with some time on my hands and with no problem of my own, I would like to solve someone's problem. I'd like to contribute to the WP community how best would I be able to ...
5 votes
1 answer

Custom rewrite rules for pages

I'm trying to get WordPress to recognize a URL structure like this:{id}/{first_name}/{last_name} The basic ideea is that I need to access the id, first_name and last_name in ...
Dan F.'s user avatar
  • 151
4 votes
1 answer

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 ...
matt's user avatar
  • 1,652
1 vote
4 answers

Redirecting when changing custom post type slugs?

I changed the name of two of my custom post types. The original slugs for them did not properly reflect the post type. So I need to redirect requests for posts beginning with designer_lingerie (the ...
dkmojo's user avatar
  • 589

15 30 50 per page