A permanent link to an item (a blog post, an attachment, ...). The default structure is "?p=123", but WordPress can handle "pretty permalinks" and will rewrite them internally to the former version. If you have a question about special rewrite structures you should use the [url-rewriting] tag.
4
votes
3answers
311 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 ...
3
votes
3answers
314 views
Hierachical Custom post types permalinks not working
Been looking for someone with this same problem for hours now so I decided to post my own thread.
I have a hierachical custom post type called contact-information. Using this I have parentpages ...
2
votes
3answers
287 views
Get the current page URL (including pagination)
Is there a WP function to automatically get the correct URL of the current page?
Meaning if I just opened a single post, the function returns the same as get_permalink(), but if I'm on a paginated ...
1
vote
3answers
634 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 ...
2
votes
2answers
497 views
Custom post type hierarchical permalinks not behaving as expected for parent/child pages
When you have Pages with children, the permalink structure works something like this:
example.com/parent-page/child-page/
All well and good. Trying to go to this URL:
example.com/child-page/
...
1
vote
2answers
120 views
How to get the permalink of a page when loading my plugin
I'm implementing a web widget and for this reason i'd like my script to respond to the request as soon as possible, to avoid loading unneccessary thing.
I've found out that calling get_permalink( ...
1
vote
2answers
641 views
WordPress 3.4 Permalinks Redirection Problem
A few years ago this was the permalink structure I had for my blog:
/%year%/%category%/%postname%.html
I changed these permalinks last year to this:
/%category%/%postname%/%post_id%/
A plugin ...
0
votes
2answers
26 views
Custom Post Type Permalinks with %category%
I Create New Post Types and Taxonomies. This is the script:
add_action('init', 'my_custom_post_type_init');
function my_custom_post_type_init()
{
$labels = array(
'name' => _x('Roundabouts', ...
0
votes
2answers
33 views
Permalinks problem with custom theme
I am pretty much learning by doing a custom theme from scratch (not a child theme), and have had much trouble with permalinks.
In the permalinks settings page on the wp-admin, if I put any option ...
0
votes
2answers
38 views
How can I redirect this contact form to a specific permalink
I'm converting a HTML site to WP for a client and they have a simple contact form in place.
If the submission is sucessful it currently, in it's HTML form, sends them to thankyou.html but I want to ...
0
votes
2answers
35 views
How to setup different permlalinks for posts and pages?
I'd like to setup:
www.mydomain.com/a-page/
www.mydomain.com/blog/category_name/
www.mydomain.com/blog/category_name/post_name/
www.mydomain.com/custom_post/post_name/
How would I do it? Thanks in ...
0
votes
2answers
48 views
Custom rewrites for pages and categories
I am trying to understand how can create custom rewrites for pages/categories. Ex i have example.com/?page_id=178 and for this page have a contact form and i want this: %slug%.php
...
0
votes
2answers
94 views
404 Error On Custom Taxonomy Pages 2, 3, etc
I've been reading a bunch of posts about this with no luck so far. I can't seem to figure out what is the problem.
I have the following:
Custom Post Type: Sermons
Custom Taxonomy: Series
My urls ...
0
votes
2answers
20 views
Custom Post Type - Main page for certain posts
I've successfully added a custom post type.
register_post_type('case',
array(
'labels' => array(
'name' => __('Cases'),
'singular_name' => ...
0
votes
2answers
90 views
Redirecting From An Old Permalink Structure
We recently launched a new site that has a different permalink stucture than its prior one.
Old site URL was like this:
http://centerline.net/blog/detail/?p=3989
New like this:
...
0
votes
2answers
109 views
Broken Link in WP Site?
I've built a test site for a client using a theme purchased from Template Monster. I can't seem to find out why the link is broken on this page. and the Template Monster support has extremely poor.
...
0
votes
2answers
107 views
rewrite rule to redirect to the most recent date permalink
I've got an archive that's displayed using a URL on the form www.mysite.ex/mycpt and I need to make a rewrite rule for that URL which redirects to a permalink with the latest date archive, which is on ...
0
votes
2answers
283 views
Custom Taxonomy in Permalink of Post
It is possible to use this as a permalink for a post:
/%category%/%postname%/
But lets say I've created a taxonomy called "artist". I'd like to use this for my posts:
/%artist%/%postname%/
I ...
0
votes
2answers
278 views
Remove Parents From Permalink of Hierarchical Taxonomy
I have a custom hierarchical taxonomy called "places" set up with categories like so: Services > Financial Services > Financial Advisors.
The permalink for this category listing page is currently ...
0
votes
2answers
157 views
Permalink for Custom Post Types
I am trying to get a custom permalink style for my custom post types... my current permalink for my post is /%postname%/ but for my custom post types, I am trying to get the custom taxonomy in the ...
0
votes
1answer
288 views
Permalink Issues by Installing WordPress in Subdirectory / Subfolder
I installed WP in subfolder /cms and it runs live without subfolder. When I use /%postname%/ as permalink I get 404 error on my site. My Server supported mod_rewrite.
My Code
wp-config.php
...
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
72 views
Permalinks not working on MU network with domain mapping
I'm using a theme with custom taxonomies. I want to use corresponding archives. If I try the template out on one network it works, and on another the permalink will take me to 404. The only difference ...
0
votes
1answer
52 views
Permalinks Works for Custompost type but not with pages Why?
I have Three Custom post Types and one Custom Taxonomy and some pages. The Custom taxonomy is register with one of the post type. The problem is When the default Permalink is enable it works for all ...
0
votes
1answer
52 views
Files placed in directory with wordpress 404
I changed my WordPress permalinks settings from the default to displaying the name of the post. When I did this, all the files that I had been storing in the directory with WordPress ...
0
votes
1answer
219 views
How to Filter 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.here it is,
...
0
votes
1answer
51 views
Are custom page templates being used to get this permalink structure
There's a website which has page URL's such as http://www.example.com/states/new-york/
If I go to http://www.example.com/states/ I get a 404 error.
The site also has ...
0
votes
1answer
61 views
wordpress home is gone
i'm new to wordpress AND to php and web coding in general.
i've done my wordpress theme in local, and now i like it. then i moved to a host, created the user and the database in the host server, ...
0
votes
1answer
238 views
Page Navigation is not working with permalink structure
i displaying list of employees using my custom plugin, i have set permalink structure like %category%%postname%/
So my page navigation was like http://www.abc.com/emp/?page=2, untill now it was ...
0
votes
1answer
46 views
wordpress permalinks tweeks
I am getting following permalink structure after creating any post...
http://domain.com/wp/postname
As per Permalink Settings....
Post name: http://domain.com/wp/sample-post/
This permalink is ...
0
votes
1answer
80 views
Problem with Custom Post Types, Taxonomy, permalink, Archive
I set up 2 custom post types: beats and tracks.
And I set up the taxonomy 'tags' and 'style' for both custom post types.
the permalinks for the custom post types are set in functions.php:
...
0
votes
1answer
426 views
Problem with parent page slug only in WordPress admin
I am using the permalink structure:
/%category%/%postname%/ in order to show my blog posts under their category in my url.
I have also installed WordPress SEO by yoast (if that helps) but I noticed ...
0
votes
1answer
68 views
Taxonomy based permalinks
With my website I work with my own taxonomy. And I want that the taxonomy is intergrated with the permalink. So if an news page has a taxonomy, the permalink change.
Like this:
...
0
votes
1answer
140 views
Wordpress custom permalinks, pages are now 404
I've set my permalinks to a custom structure:
/%menutype%/%postname%/
This works all right for my custom taxonomy (menutype) and anything that's an archive.
Now however, simple pages won't work, ...
-1
votes
1answer
47 views
Custom permalinks structure
I would like to have this structure:
www.mysite.com/2013
(must show all posts of 2013)
www.mysite.com/my-category/2013
(must show all posts of 2013 and of category "my-category")
...
-1
votes
1answer
82 views
Is it posible to translate a url prefix?
I use a prefix in my url using "add_permastruct" in my functions.php:
www.mydomain.com/the_prefix/my_category/postname
But I would like to translate "the_prefix". For example, if my site is in ...
-1
votes
1answer
56 views
How to add a post without assigning to a category?
Can any one please explain how to add a post in WordPress without assigning it to any category.
Actually I want to display some news or some quick information. So, it does not come to any category ...
-1
votes
1answer
116 views
Parent pages not found with pretty permalinks
I'm building a site and for some reason all the parent pages are 404ing, only sub-level pages are displaying with pretty permalinks. If I use default permalinks, everything works fine.
I've tried ...
-1
votes
1answer
137 views
Redirect Loops Problems
I don't know what happened actually. Yesterday, it was just working fine. I recalled what I did to put me in this difficult situation this morning.
Yesterday, I was just editing posts with ...
-1
votes
1answer
28 views
I changed rightly the permalinks but I get empty pages in the final posts
I changed my permalinks to pretty ones(nameofcategory/nameofpost). The paths and the urls are perfectly formed, and I can see them when I go on the tittles, rolling over, but when I click, the final ...
