Linked Questions

75 votes
18 answers
7k views

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
68k 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 /designers/...
24 votes
9 answers
23k views

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
17k views

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
17k views

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: www.example.com/news/categoryname/subcategory/postname/ and for the category ...
semyonfilippov's user avatar
11 votes
1 answer
9k views

Change author base slug for different roles

Is it possible to change the author base slug according to his role? For example, authors get example.com/ninja/%username% and subscribers get example.com/trainee/%username%? I am thinking of ...
Maxim Zubarev's user avatar
11 votes
1 answer
6k views

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
896 views

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
5k views

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: http://www.mysite.com/designers/?id=43&name=designer+name The URL ...
Steven's user avatar
  • 2,540
0 votes
1 answer
5k 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 ...
TomvB's user avatar
  • 103
8 votes
1 answer
7k views

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
198 views

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
10k 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 in ...
Dan F.'s user avatar
  • 151
4 votes
1 answer
3k 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 ...
matt's user avatar
  • 1,642
2 votes
1 answer
5k views

add_rewrite_rule and pagination issue

I've got an issue, writing a correct rewrite rule. Basically, here are the examples of the url I want : /myPage/mySuPage Then the same with pagination /myPage/mySuPage/page/3 Then, the basic page, ...
Ludo's user avatar
  • 565

15 30 50 per page