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)

0
votes
0answers
12 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
9 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 ...
-1
votes
1answer
39 views

Why does my subcategory URL give 404 eror?

I'm using WordPress's standard theme Twenty Fourteen. Here is my problem Not Working: http://ispeedify.com/internet/paypal/ I've made my "PayPal" a sub category of the parent "Internet". But the ...
0
votes
0answers
23 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 ...
1
vote
2answers
65 views

Determine WP_Query parameters from URL

I'm wondering if it's possible to determine WP_Query parameters by only using the given page URL. The reason I'm trying to do this because I'm developing a SPA theme (and ultimately a JSON response) ...
0
votes
1answer
15 views

Custom permalink structure only saves with index.php inserted

So I'm having this weird issue on the dashboard where custom permalinks only (default, day and name, month and name etc. those all work fine) doesn't save. I can choose the radio button and click ...
0
votes
0answers
25 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 ...
2
votes
0answers
42 views

How to achieve a clean custom permalink solution?

I am working on the design of a blog with the below(just a sample) category hierarchy. PARENT | ...
0
votes
0answers
8 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
32 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
15 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
23 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
3answers
36 views

Once redirected by Rewrite rules, how can WordPress know the page?

I have been searching for some configurations of .htaccess, filters and hooks to make able to manage the inner site uri's. The goal was force login, register and admin pages through SSL, and all the ...
1
vote
1answer
27 views

Use the same date-based permalink structure for all post types

Is there a way to use exactly the same date-based permalink structure for all (non-hierachical) post types on a site, including posts and custom post types? I'd like all post types to have the format ...
0
votes
2answers
66 views

Custom post type child page 404

This issue seems to be quite common, but the solutions that worked for others haven't worked for me. I'm using the CPT UI plugin and have created a CPT called 'courses' with the following settings: ...
0
votes
1answer
25 views

Change permalinks structure for specific category

I need to change my permalink structure just for one category. Now I have: /%postname%/ , but for News category I need this structure: /%postname%-%post_id%/. Question: how to add %post_id% in ...
0
votes
1answer
21 views

Single page problem when permalink type changed

I have a custom post type which i create and works perfect without any problem, its a team page to show some members in a company, also i created a single-team page to show more details about each ...
0
votes
1answer
29 views

404 Page Not Found for Only One Post

I have 40+ posts on my blog. Only one of them is going to a 404 page when I click the title (visit the permalink). To see it in action: http://thegrovestead.com/tag/strawberries/ Look for the post ...
4
votes
3answers
227 views

Difference between the_permalink() and get_permalink() function

In WordPress I am using both the_permalink() and get_permalink() functions, but I cannot get any difference in the output of both functions. What is the difference between both functions?
0
votes
4answers
60 views

Permalink remain the same on each page

I have displayed the post title within the anchor tag after which I've set the permalink. The permalink, however, is not working with the same title that came from the post. It's like getting the ...
0
votes
2answers
44 views

How to remove category from wordpress url?

I am new to wordpress so i am facing a problem in removing /category/ from wordpress URL http://domain/category/category-name So i would like to know how to remove /category/ from the url. I have ...
0
votes
1answer
29 views

Remove taxonomy slug when not assigning taxonomy with custom post types

I have created a custom post type plugin that when the user assigns the post to a taxonomy (termed 'classification' in the site), it is added to the url slug. So basically it renders: ...
0
votes
0answers
17 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. ...
1
vote
0answers
16 views

Wordpress is suppressing page extensions!

I've built 2 sites on Wordpress. In both of them, I did two things: Created a slug for each page. In Settings > Permalink Settings, I chose "Custom Structure", and entered /%postname%.php In one ...
1
vote
0answers
37 views

How to change hierarchical page permalinks to be flat

I'm building a site for a client with a large navigational structure. I think it would be easiest for them to manage if the pages were listed hierarchically in the admin panel, but it would also be ...
0
votes
0answers
33 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. ...
0
votes
0answers
11 views

Need help with rewrite of Attachment URL [duplicate]

How can I change Attachments URL to example.com/photos/attachment_ID/post_name/attachment_name Thank you
0
votes
0answers
9 views

Adding custom URL rewrite rules

I want to use 2 custom post queries on the author profile page, both of the queries uses pagination. With the following pagination function, I get this URLs structure: ...
0
votes
0answers
24 views

Can't seem to replicate permalink structure for localhost development site

I'm helping a friend migrate her WordPress powered shop. I'm to the part where I manually re enter all of her products on WooCommerce. On her current live site the link looks like: ...
0
votes
0answers
21 views

Custom Post Type and Custom Taxonomy - Same rewrite/permalink

I may be attempting the impossible here, I'd like a custom post type and a custom taxonomy to share the same rewrite. The rewrite being "/", with the intention of not having the custom post or taxo ...
0
votes
0answers
24 views

Wordpress permalinks on subfolder in iis7 not working

I have IIS 7.5. mod rewrite active. Currently, my wp site is inside subfolder. Here is web.config in my root folder : <rewrite> <rules> <rule name="site2.com" stopProcessing="true"> ...
0
votes
0answers
16 views

Permalink settings not saving

I just started a new WP installation and my permalink settings are not saving. I have chosen the 'Month and name' option (/2014/06/sample-post/), but when I create a new post, the text shows up as ...
0
votes
0answers
14 views

Search working only on default permalink structure

my custom theme is using a search form which works fine with default permalink structuresite-url/?p=id. however after i changed my permalink structure to post name, the search returns NOTHING FOUND. ...
0
votes
0answers
26 views

How to extract URLs from wordpress taxonomies

I am in quite a trouble. I need to extract all possible url from my wordpress blog be it of post, tag, category or anything else after domian-name.tld/*. I tried my hand on few available codes and ...
0
votes
0answers
29 views

How to configure a child-post of a parent-post to have hierarchical sub-posts?

Question: What plugin or coding configuration needs to be implemented to create this child-post to parent-post hierarchical, many-to-many post relationship? Goal: To be able to create sub-posts of a ...
0
votes
0answers
32 views

How do I generate a alphanumeric hash for a custom post type in wordpress?

I have a wordpress website that uses a custom post type, video. I want my permalink for the video posts to generate unique alphanumeric ID like this, http://example.com/video/ha3unq04X similar to ...
0
votes
0answers
28 views

Changing attachment page Permalink

How can i change the attachment page permalinks to http://domain.com/photos/%attachment_id%/%postname%/%attachmentname% currently my permalinks set to Custom Structure ...
0
votes
0answers
27 views

Problem with tags after changing custom post type permalinks

I've follow this post to create a permalink structure for my custom post type and custom taxonomy and it works great. I'm using the Portfolio Post Type plugin to register the custom post type, and ...
0
votes
1answer
26 views

Why doesn't WP update my .htaccess file?

Before I begin, I do not have WordPress having permissions to update the .htaccess file. That's not what this is about. I'm full aware of that. My problem is WP generates the same file every time for ...
0
votes
1answer
111 views

Why does enabling Permalinks make pages not found?

I'm new to Wordpress and am creating a site using v3.9.1 of WordPress. When I create a new page, I can see it in edit mode, but the URL it is supposedly creating is not found when permalinks is used, ...
1
vote
0answers
33 views

Permalink structure with custom taxonomies and custom post type like /parent-tax/child-tax/custom-post-type-name (with no base name)

I have a custom post type named "tours" and a custom taxonomy named "tour_type". "tour-type" taxonomy is hierarchical. In "tour-type" taxonomy, parent terms are limited to "eco-tours", "daily-tours", ...
0
votes
0answers
17 views

How to add the scheduled posts in existing content link in hyperlink

I am blogging with scheduled publication. Say, I have content "1" (complete and saved already) scheduled to be published tomorrow Now I have another content "2" (complete and saved already) ...
0
votes
0answers
14 views

Add custom dynamic string to permalink structure wordpress

I am adding dynamic string to permalink but the problem is all the pages which runs from page.php goes to 404 whereas the detail page of the post is working fine. Code: add_filter('post_link', ...
1
vote
1answer
28 views

Allow Permalinks to Work with and without Hyphens

Is there a way that I can change my .htaccess file to allow the user to go to a permalink with or without the hyphen? For example: I have a page: http://example.com/parent/two-words To get to that ...
0
votes
0answers
25 views

Permalinks not working for post IDs as slug

I inherited a site that has a lot of posts without a title, thus the permalink defaults to the post ID, with pretty permalinks turned on. IE - http://mysite.com/1200 When the permalinks are reset to ...
0
votes
0answers
30 views

Exclude javascript in certain page url and all following url's after forward slash

I'm trying to exclude javascript from a couple of pages. But I want to target all the pages after the forward slash. So I want to to target: www.website.com/page-name/.. So the page-name itself, ...
3
votes
1answer
133 views

Slug Formatting : Acceptable Characters?

I have done a lot of googling on this so I sincerely apologize if there is a codex entry for this but for the life of me I can not find a hard and fast rule about what characters are acceptable in a ...
0
votes
1answer
43 views

Setting a homepage - doesn't seem to work

have a page (home) that runs a template page-home.php that I can access at mydomin.com/home. I am wanting to have this as my static homepage page, so accessible at mydomain.com/ however I cannot seem ...
0
votes
1answer
44 views

Multiple taxonomies, what should the permalink look like?

I need to implement a list of a custom post_type that has to be able to filter them by two taxonomies, I found this answer that helps out with the wp_query syntax My question is, now, how should the ...
1
vote
0answers
34 views

Use category base slug in posts' permalink

The Goal I would like to format my permalinks as follows: for posts: somePrefix/%category%/%postname% for categories: somePrefix/%category% Where somePrefix is the same in both cases. I know ...