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
1answer
52 views

Auto setup “permalink” or request notice

I am trying to find a function or how to do. When you install (or active) a theme. 1. I want to check if the link type is "permalink" or not. 2. If not, I want to make a notice saying "this theme is ...
1
vote
1answer
116 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 ...
1
vote
1answer
206 views

Custom Post Type and Custom Taxonomy Permalinks

I'm currently working with a client's Wordpress blog that has a permalink structure set in the admin settings as "/speaks/%postname%/". This is so that all actual blog posts (post_type=>posts) have ...
1
vote
1answer
1k views

Wordpress Automatic Update to 3.9.1 breaks Permalinks

Yesterday, WordPress 3.9.1 Maintenance Release May 8, 2014 updated my version from the latest and all of the sudden, my inside pages were broke - no one could reach anything except the home page. I ...
1
vote
1answer
144 views

Custom permalink structure gives 404

For a Custom Post Type called 'matches' I created a custom permalink structure. The structure shows up just the way I want it, however, I get a 404 everytime I visit the post. I have tried removing ...
1
vote
1answer
286 views

How to get correct URLs in network wide menu (Multisite)?

I'm using this function to switch to my main website's navigation and display it on all sub sites in my multisite network. Ideally the links should have the following format: ...
1
vote
1answer
22 views

Let me choose permalinks

I need to pick a permalink called 'mysite.com/1418', but wordpress keeps adding '-2' to the permalink. Normally this means i already have a page called the same that is in the trash or something. But ...
1
vote
1answer
26 views

All URLs are having '/blog/' appended to them.

I just made a WP theme, and I'm using a custom page template for the blog and for the home. The problem is that all the URLs now have /blog/ appended to them (which, I believe is the name of the ...
1
vote
1answer
21 views

How to show permalink auto when type text in post tiltle?

My website when type text in post title, it's not auto show the permalink. It only show when me publish this post.How to do it ? Thanks everyone
1
vote
1answer
184 views

IIS 7 Rewrite with parent categories

I have seen quite a few questions on here asking around the same thing but either have been unanswered or slightly different! I have tested the following on a linux machine and all works fine, when I ...
1
vote
1answer
104 views

Permalink structure with $_SESSION variables

I have a project that has content being filtered throughout the site (many custom WP_QUERY calls). Originally there was no URL needs, just filtering by $_SESSION variable. Works perfectly, but NOW ...
1
vote
1answer
77 views

Permalink for custom post type

I have created a custom post type called job. Posts are generated with wp_insert_post(), and that works perfectly fine. My problem is that the permalinks to those posts are either wrong or I have done ...
1
vote
1answer
212 views

Wordpress permalinks and javascript redirection

I need to use javascript redirection in one of my scripts. With /%postname%/ WP permalinks structure redirection works like it should but with default it always redirects to home page. /%postname%/ ...
1
vote
1answer
61 views

Category with the same slug

i'd like to do this: www.website.ext/ciccio/pro www.website.ext/mario/pro www.website.ext/giuseppe/pro Why can't i do that? I know.. the slug/child-category "pro" is the same but it is in the ...
1
vote
1answer
77 views

Rewrite Rules returning wrong data

I have a custom post type called product. It is categorized with the two taxonomies product_category (which is superior) and product_group. I want the permalinks for single products to appear like: ...
1
vote
1answer
164 views

Is a permastruct possible on pages?

Since a couple of weeks I'm trying to create my own rewritings on pages. I read a lot about rewriting with posts and custom post-types. BUT: I have pages that I call with variables. How is it ...
1
vote
1answer
74 views

Make custom post types and pages place nice, re: rewrite

I have a page structure like such: Executive Events Annual Conferences Webinars I also have a custom post type named 'event'. I have set up the post type so that I get exactly the permalink ...
1
vote
1answer
1k views

404 - Category pagination for custom post type

--Edit I've managed to narrow it down that the paged variable is not working properly here, (get_query_var('paged')) ? get_query_var('paged') : 1; is always returning 0 although maybe it is due to ...
1
vote
1answer
39 views

Where to add the permalink in this function?

Below is a function that displays the latest 4 approved comments on my homepage, I wrote this almost a year ago, and for the life of me, it's gone completely from my head, All i want to do is add a ...
1
vote
1answer
371 views

Random Alphanumeric Key URLs

I need random (and unique) alphanumeric permalinks. I've looked at several plugins but they all seem to do some form of redirection to a longer URL. That's not what I want, I want the permalink to be ...
1
vote
1answer
922 views

How can a guest view the “Pending Review” Post?

When a user creates a new post it will have "pending" status. So I want the visitor (guest - not logged user) to be able to view "Pending" posts and vote it to "Publish" if enough "X Votes". Google ...
1
vote
1answer
86 views

How to use all tags in post permalinks

My site with pictures is set up so that the posts do not have a title and have only tags. I would like to know how to use all tags in permalinks settings?
1
vote
1answer
43 views

Default permalink changes

I need to use in my permalinks same titles for different post types and as far as I know the slug must be unique so the permalinks cannot be: custom-post-type-1/hello-world ...
1
vote
1answer
102 views

permalinks issue and archives

I have an issue with a site running on WP 3.3 where when we make the permalink anything by "/%post_id%/%postname%/", the archive pages break and become 404s. After some research, I came to understand ...
1
vote
1answer
130 views

Permalink options page corrupts web.config file

Whenever I got to http://example.com/wordpress/wp-admin/options-permalink.php my config file at http://example.com/wordpress/web.config instantly gets corrupt and I have to delete the config file. ...
0
votes
1answer
19 views

Change default URL structure on post creation

I currently use Post name for the permalink structure. I want to add text from a field at the end of the permalink. Is there any hook for the permalink creation when a Post is published? In my case, ...
0
votes
1answer
15 views

Rewrite URL Parameter And Force 'Pretty' Permalink

I’m trying to pass a variable via a URL parameter and rewrite + force 'redirect' it. In other words, I have: /dir1/dir2/?my_var=123 and I want: /dir1/dir2/123/ Through the following code in ...
0
votes
1answer
13 views

I have to specifiy port otherwise the website doesnt work

For some reason I have to specify fort :80 in the name of the website. Otherwise, nothing works. However, this port is then included in the permalinks and in the sitemap etc. Is there a way to get rid ...
0
votes
1answer
16 views

post_name is not stored until post is published… where should I store my slug until it goes live then?

important try as normal contributor user, not as admin see here I actually have it reproduced. Seems like a bug to me but whatever. I want users to choose their slug. Well, as you cannot store ...
0
votes
1answer
28 views

Auto-generated pretty permalink not using title since 4.4 update

I have pretty permalinks enabled. Now when I save a draft and/or publish a post, half the time it just uses the post ID as the permalink instead of the title. This started happening after the 4.4 ...
0
votes
1answer
23 views

How to have permalink structure based on taxonomy terms

I have a custom post type i.e services & custom taxonomy services_type I have custom permalink structure as /%category%/%postname% term1,term2,term3 are different terms under services_type ...
0
votes
1answer
20 views

retrieve permalinks of posts inside custom post type by using post ID

I have these custom post types registered as shown in the image below - In each of these custom post types, there are many posts. I have the function to retrieve the post IDs of each posts inside ...
0
votes
1answer
16 views

How to change URL structure for pagination pages?

Hi I'm new to WordPress hence if my question was simple or stupid I'm sorry, but please someone tell me how to change URL for pagination pages. Currently I'm having URL for pagination pages as: ...
0
votes
1answer
16 views

Stymied by 500.5 error for WordPress on IIS 8 / Windows Server 2012

I'm running WordPress on an IIS test server. mod_rewrite is enabled and I've modified my web.config to support permalinks. c:\windows\temp has been modified to allow Modify access to both IUSRS and ...
0
votes
1answer
25 views

Top level Pages redirecting to homepage!

For some reason after setting the permalink to any other structure apart from default. The top level pages will start redirecting to the home page. I have disabled all the plugins and change theme to ...
0
votes
1answer
57 views

404 with post name permalinks

So, I have a pretty common problem - I recently upgraded to Ubuntu Trusty Tahr from Precise, and I had to upgrade apache as a result. Now, my wordpress site is accessible, but I am unable to access ...
0
votes
1answer
46 views

Custom post type and taxonomy permalinks - Structure

Been trying to get a nest of custom post type and taxonomy working (even took a look here) but couldn't get it working 100%. Here is the thing, I created a custom post type texturas_temp and a custom ...
0
votes
1answer
20 views

Can't access WordPress site in subfolder possibly because of .htaccess redirect from root installation?

I currently have one Wordpress installation in the root directory. I have now uploaded an entirely different (and second) Wordpress installation in /beta/ - connected to a second and separate ...
0
votes
1answer
30 views

All my Post don't show, only show headline on Hompage

I'm new to wordpress. I host my site on Godaddy. Recently, last night, all my post stop showing when clicked. Works fine on homepage, but when click it would respond "Error 404"... Please Help me out! ...
0
votes
1answer
29 views

Difference and usage of uri (e.g. get_directory_uri) and absolute path (e.g. get_directory)

What is the difference uri (e.g. get_directory_uri) and absolute path (e.g. get_directory) and when it the best time to use each?
0
votes
1answer
26 views

Multiple archives for cpt, taxonomies, terms

I have a CPT "corso" I have more taxonomy for this CPT (argomento1, argomento2, ...) I've terms on them. Example: Corsi -argomento1 --mat ---post1 --geometry ---post2 -argomento2 --grammar ...
0
votes
1answer
37 views

Custom post type and category permalinks

I would like the URL structure of my site to be like this: http://localhost/testwp/books/education/my-title-book I am using the WP Types plugin and I have created a custom post type, books, and a ...
0
votes
1answer
34 views

how to change single post link

I have made a website for a client which involves products tab in navigation. Products are the posts that being posted in "posts". I have a front-page.php which is static. posts are displayed in ...
0
votes
1answer
47 views

Same permalink structure for all post types?

We have a pretty complicated site that has a lot of different custom post types. Each of the post types has an array of custom fields and stuff like that. Also I have added the ability to organize ...
0
votes
1answer
16 views

Page permalink ending in “-2”

I have a couple of child pages that keeping ending in "-2" on the permalink even if I go in and manually change the permalink. I do not have any pages that are a duplicate title of these so I have no ...
0
votes
1answer
44 views

Permalinks keep reverting to 404 unless I re-save them

I'm running the latest (and constantly updated) version of WordPress on Nginx. Every now and then I wake up to a site full of 404 errors. The fix is to go into the permalinks and just save the ...
0
votes
1answer
65 views

How to dynamically alter all the links in menu via function.php

I have been searching and reading for 3 hours and still couldn't find anything that come close to what I needed and I am still trying understand how wp add_filter, rewrite, etc works. Just started ...
0
votes
1answer
19 views

how to goto specific page number including title with permalink

Several pages are subs of main page account. Example: account\service. How to goto specific page number including page title with permalink? I have tried this: $GLOBALS['create_page_service'] = ...
0
votes
1answer
111 views

How to get the perfect WordPress, WooCommerce, Custom Post Type pretty permalinks?

I would like some clarification on how to achieve the following structure: Posts & Categories domain.com/blog/ - Blog index domain.com/blog/%category%/ - Blog category archive ...
0
votes
1answer
52 views

permalink to single page

I have a certain post displayed and each post i click go to single page which shows more details of the post. But i have different templates for the post details which will be shown in single page. ...