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.

learn more… | top users | synonyms (1)

1
vote
0answers
119 views

Disable date based archives for all categories except one

I want to remove all date base archive url permalinks (url_rewrites) from my site, excluding for only 1 category. How can i do that. For example: www.example.com/category_1/2012/ -> 404 error ...
1
vote
0answers
33 views

Permalinks only for posts

I would like to use wordpress permalinks but only for posts. Is there any way to do that? I don't care about seo, my website is about niche subject so it already has first position in google. Also ...
1
vote
0answers
254 views

Post in Multiple Categories to stay in current category (permalink, next previous post link)

I guess this has been mentioned before, but after 2 days of browsing i haven't find a complete solution. Maybe someone has come across this problem before? I'm building a designer portfolio where ...
1
vote
0answers
71 views

WP_Query Attachment adds additional attachment count and need to link attachment to post url

I just wonder why WP_Query adding one more additional attachment with the defined number or posts. Also need to link attachment (thumbnail) to the post url. Here is my code <?php $query = new ...
1
vote
0answers
331 views

How to display only the parent category in the permalink

How it is possible to display only the parent category of the post. It contains two sub categories and I want to eliminate it. Example: myblog.com/parent_category/post_name This is only what I want. ...
1
vote
0answers
78 views

Slugs Disappeared Leaving 404s - Quick way to repopulate?

I've got roughly 3000 pages in WordPress w/ permalinks on. I recently cleaned up the database which appears to have deleted a fair amount of slugs for many of the pages. Obviously, with no slug, ...
1
vote
0answers
11 views

File access different with permalinks on and off

I have a page with a link to a file in a password protected folder. When I have permalinks turned off, clicking on the link starts the file download. When I have permalinks turned on, clicking on ...
1
vote
0answers
37 views

Path to Pages Resolves to Archive instead of Actual Content

When I upgraded to 3.4.1, the root level pages (ones that I had before, and any page I have afterwards) do not resolve to the actual page. No matter the name (so i don't think there is a slug issue), ...
1
vote
0answers
47 views

What can cause intermittent permalink issue with posts and pages, but custom posts work fine?

Ok, we had this issue in previous version of WP, there was a bug about rewrite issue. Bug: http://core.trac.wordpress.org/ticket/21020 We reverted back to previous version, and all was good. We were ...
1
vote
0answers
904 views

How to change “attachment_id” in attachment permarlink?

I changed attachment permalink by add_filter('attachment_link','my_media_url'); from http://domain.com/?attachment_id=123 to: http://domain.com/?media=123 The change is successful. But, with the ...
0
votes
0answers
11 views

Custom posts permalinks for same post name posts

I have an events custom post created on my site. Most of these custom posts are doomed to have the same post name, because I will have the same event name on a different date. For example, I have ...
0
votes
0answers
12 views

wp_list_pages show all pages in sitemap

I am trying to list the pages of my site but actually list them all. I can use wp_list_pages(); However I have a custom post type "services" with archive false. I also have a page named services ...
0
votes
0answers
14 views

Permalinks using event date (year & month) instead of publication date

The site http://www.bikefun.org is live and working, but the permalinks are not quite right. It is an event calendar site. Events are stored as a custom post type "bf_events", with dates stored as ...
0
votes
0answers
17 views

Nice permalink for search results with NiceSearch plugin

I'd like to know how I can rewrite a search results URL that also contains a ".html" into the end of URL. I have taken the code from the Nice Search plugin which works fine to change ...
0
votes
0answers
25 views

404 not found error on WordPress local host

I'm doing some work on a live WordPress site, and before making changes wanted to create a local copy of the site to use. I've gone ahead and done that, (using BackUpBuddy) but I am getting this ...
0
votes
0answers
31 views

Get custom url from thumbnail

I am working on a multisite install using folders, and am trying to create a grid of images which link to different sites within the mulitisite. I've created a bunch of posts in a category "sites", ...
0
votes
0answers
23 views

How can set all big title in URL

I have error in permalink, I have post that title is big like :- Tesla will reportedly build its EV battery 'giga factory' in Nevada Now when open the post in my site i see permalink like :- ...
0
votes
0answers
30 views

fixing permalink structure

I am having trouble with my permalink structure of my site. I have a custom post type and custom taxonomy for that post type. These are both made within PODS if that makes a difference. For whatever ...
0
votes
0answers
22 views

Problems with custom post_type and custom taxonomy

I'm trying to make a simple plugin that let's me create blogposts from a custom post_type (tutorials), with it's own custom taxonomies. I got this working. There are 2 problems though. 1: I also ...
0
votes
0answers
15 views

get_permalink wrongfully returns only year and month and not all the link

This is very strange and I don't know why. I am developing a theme, and in some areas I am manually creating different related news. They work perfectly, because I can start a WP_query almost ...
0
votes
0answers
17 views

Conditional permalink structure

I want a function to apply multiple permalink structure for posts under certain conditions. For example, if post date is before 2014, I want the permalink structure to be: /%category%/%post_id%/ ...
0
votes
0answers
7 views

wp_nav_menu use #<slug> instead of permalinks

I need help modifying the wp_nav_menu arguments so that it can generate a menu which has # instead of permalinks.. I know I can add custom link menu items, but I want the menu to be more dynamic .. ...
0
votes
0answers
14 views

local Wordpress installation with Xampp permalinks issue

I know this question might be asked before but it seems that nothing helped. I have a local Wordpress installation and try to use permalinks. What I did in my XAMPP was to open the conf file and ...
0
votes
0answers
10 views

Getting Wordpress Permalinks to match menu navigation

I am trying to get my permalinks to match the location of where the page/posts lie in the navigation menu at the top of my page. For example, my travel site has has a post about Torres del Paine ...
0
votes
0answers
27 views

Getting rewrite correct

I had the permalinks settings as /%postname%/%post_id%/ but recently change it to /%postname%/ and added the following to htaccess RedirectMatch 301 ^/([^/]+)/(\d+)/$ http://www.site.com/$1/ It ...
0
votes
0answers
9 views

changing permalink “next link” to navigate the next page not working

Why on earth if i change my permalink structure, like this! /%category%/%postname% the next link to navigate the next page, is not working! it display the error page not found but if add some text ...
0
votes
0answers
7 views

Random post slugs cut off from original and underscores not converted to hyphens

I am having a serious problem right now. Our business website just crashed and almost every single page has stopped working. I am in the process of restoring the backup right now but would like any ...
0
votes
0answers
31 views

URL/Permalink customization for Taxonomy/Term archive & post

I have a CPT called "Provider", taxonomy called "State" and a term called "Alabama". Is it possible to change the following URL structure from: 1. http://localhost/state/alabama (to view all the ...
0
votes
0answers
9 views

Problem with multiple tags in URL

I used the link mydomain.com/tags/tag1,tag2/ on my Wordpress website with no problems whatsoever. But it doesn’t work from a certain moment. It displays error 403: Forbidden. I noticed that links with ...
0
votes
0answers
5 views

Permalinks that start with same string as blog's directory not working

I have a blog in a directory called "press". Permalinks are set to post-title and work in most cases, but if a post/page-title starts with the string of the directory, in this case "press", the ...
0
votes
0answers
18 views

Template for Taxonomy and all its Terms

Hy! I've searched high and low, up and down, left and right to find an answer. I've tried all that I have found, even the ones that are suggest for the title I wrote. I am working on a theme under a ...
0
votes
0answers
19 views

Parent (ID from meta box) not showing in permalink, only Grandparent

I'm working on a site inherited from a previous developer and I've run into a issue that's really confusing. There's a custom post type for Locations. The hierarchy for Location posts would look ...
0
votes
0answers
23 views

Permalink sending user to featured image media page rather than the post?

I'm working on a site and, on a particular category archive page, the permalink to the individual post is instead sending me to a media page for the thumbnail file. What's weird is that it's only ...
0
votes
0answers
11 views

permalink is only showing relative path in dashboard

Permalink: /blog/blog/ My permalinks are only showing as relative. In the database for each post and image they are stored as relative urls as well. When a user tries to share an article to social ...
0
votes
0answers
18 views

Subdomains to pages

Hi I have a website on wordpress which have 2 pages which I meant to convert it to subdomain. Eg: Let my website at be http://www.domain.com there are two pages http://www.domain.com/page1 and ...
0
votes
0answers
22 views

Custom permalinks with custom taxonomy children show 404 error

I'm having the following problem. I've made a custom post type which is called Products. Products has a slug of "products". I've also created two custom taxonomies. One is Product Category (which acts ...
0
votes
0answers
58 views

Custom Permalinks for CPT causing 404 errors for 'normal' single post pages

I'm having a problem with the permalink structure of a Custom Post Type which is conflicting against the normal single posts (in the 'posts' post type which comes as standard with WordPress). Heres ...
0
votes
0answers
38 views

Perform internal redirect in WordPress?

Let say I have an existing page named "bar", e.g. http://www.example.com/bar I want to write a plugin, which when called, will load the content exactly same as bar (not just post_content, but the ...
0
votes
0answers
11 views

Renaming CPT slug when the user access a page from one specific taxonomy

How do I rename a registered CPT slug when the user access a page from one specific taxonomy? I have a custom post type called /package/ and it taxonomies /america/ /europe/ /asia/ /hotel/ An ...
0
votes
0answers
17 views

Global change of permalink structure across multisite

Is there a way to update the permalinks across an entire multisite without having to update them one by one?
0
votes
0answers
63 views

wordpress permalinks error 404

i am new to word-press, i have made my own theme in wordpress but the problem that i am facing is the permalinks which are not working and showing me error 404 when my permalinks settings are at ...
0
votes
0answers
15 views

Automatic -1 suffix being added to the permalinks of a page when the page does not exist

I have a really strange problem with a -1 suffix being added to a permalink on a page im trying to create which is getting very frustrating. Its specifically a page titled event, each time i try to ...
0
votes
0answers
36 views

Current state to a button when on a single page

I am having trouble figuring out how to keep the current state active once on a single page of the post. For example: Recipes displays a list of all my post that are under a specific category. Once ...
0
votes
0answers
36 views

Help with add_rewrite_rule solution

In my Wordpress blog, I configured permalinks > Category base to "magazine" with links having this format: http://www.mydomain.com/magazine/news/europe/france The above link opens the France ...
0
votes
0answers
9 views

Rewrite rules for subterms in custom taxonomies

I am using a large number of custom taxonomies. My post type is called "location" and there is a parent term "Asia" and a subterm "Thailand". Now I created the taxonomy archive template files ...
0
votes
0answers
36 views

change precedence of permalink for post_types?

I have a series of pages with the heirarchy: /albums /name1 /name2 /name3 ie. all these pages have a parent page with the slug 'albums'. If I have a permalink /name2 it shows the page ...
0
votes
0answers
17 views

Hierarchy of Subcategories on Permalink

I'm new to Wordpress. My current permalink is set to /%category%/%postname%/ and a "." (dot) in the Category base. My categorys ID are bigger than the subcats IDs. So the URL looks like this: ...
0
votes
0answers
33 views

set new link as permalink

i have external link stored in a variable $extlink which is generated based on different selections in the post. how do i set the permalink to be this $extlink so that when i click on the post it ...
0
votes
0answers
24 views

How to build new WP_Query using url

How to build a WP_Query using a url in wp_ajax_nopriv action. I have a following url for example: "http://example.com?paged=2 so I need to build a WP_Query which will retrieve a second page of posts. ...
0
votes
0answers
56 views

Remove Custom Taxonomy Slug only without removing Custom post type slug in permalinks

I have a problem currently that is related to permalinks. I have a custom Post type "workshop" and two taxonomies named "manufacturer" and "models". What i want to get and tried is this URL pattern. ...