Refers to the process whereby an URL is manipulated to create what in WordPress is called a "pretty permalink"
4
votes
3answers
312 views
How to add a custom URL placeholder to author archives?
I am working with a client who has a directory site that allows users to create accounts, then lists of items from the directory. Right now, whenever a user creates an account, she gets a profile URL ...
1
vote
3answers
637 views
How can I Rewrite a 'page' URL based on query string parameters?
I have the following page which contains a single post and a number of comments:
http://mysite.com/tips
When a user posts a comment, I add meta-data to it so I can filter comments by using these ...
1
vote
2answers
19 views
Create permalink structure for one taxonomy archive per custom post type
So, I've been going crazy trying to figure this out. Essentially, I've created two custom post types, 'the_case_study' and 'the_video', with respective slugs 'case-studies' and 'videos'.
I've also ...
1
vote
2answers
439 views
add_rewrite_rule and template redirect not working
I have a strange problem , I have the following pairs :
add_rewrite_rule('^questions/ask/?','index.php?pagename=ask','top');
if(is_page('ask')){
$tname = 'add-question.php';
...
0
votes
2answers
40 views
username in rewritten URL, howto use it in a template
on my site user profiles can be accessed on /user/xxx. Now i created a rewrite rule and all user links are handled on the template page. But how can i access the xxx(user) in the template file?
The ...
0
votes
2answers
59 views
subdirectory install breaking existing links
I've had this issue several times now. While building a site, including some content, I keep wordpress in a subdirectory (say, /wordpress/). When putting it live, I move/copy 3 files out of the dir ...
0
votes
2answers
64 views
Rewrite function
I have a wordpress blog. I get url in blog like this,
http://www.domain.com/2013/01/test19/page/2/
But I want my ur like this,
http://www.domain.com/page/2/
So can we rewrite this url. I ...
0
votes
2answers
58 views
Generating custom URL before post is published
I have implemented a post_type_link filter for my custom post and this is working great. However, the only downside is that the final URL only seems to be created when the post is published.
What I'd ...
0
votes
2answers
100 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 ...
0
votes
1answer
134 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 ...
0
votes
1answer
60 views
region selection
I'm developing a website, where the visitor has to choose it's region Europe / Asia, according to this choice the menu should be different, (most pages are the same).
When I would develop this in ...
0
votes
1answer
54 views
Wordpress post-type create url rewriting
i create a new post-type in wordpress.
The new post-type is called work.
I want to customize the link when the user click "details button".
The link is work/post_id/postname
I have a trouble to ...
0
votes
1answer
53 views
Custom Taxonomy in Permalink from post type
I am using custom post types and custom taxonomies for that post type.
This snippet currently sets the permalinks for the post type:
'rewrite' => array('slug' => 'myrewritebase'),
I am ...
0
votes
1answer
143 views
database not responding on localhost
I'm trying to work on an existing WordPress site on my Mac using MAMP. I've setup a new database using phpMyAdmin and imported the tables from the backup of the online version. I pasted this into ...
0
votes
1answer
73 views
Can I exclude a single URL from a rewrite plugin?
I am working on an imported .html site that has been using the .html on pages plugin to rewrite the URLs for inbound link purposes. Now I am trying to integrate it with a subdomain blog ...
0
votes
1answer
326 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
132 views
Add extra optional text to permalink e.g. “-with-*”
I've been scratching my head about this one for a while. I have tried to add a hook within WP_Rewrite to ensure that we can pick up pages with a similar structure:
/products/product1-with-*
...
