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
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
278 views

How to display comments on different page

I am creating a reviews site and I want to display the customer reviews (comments) on a separate page from the single-restaurant.php. I'll just have a link that says (Read reviews/ add yours). I ...
1
vote
1answer
248 views

add category name to permalinks on product page /category-name/product-name

I'm trying to reconfigure the permalinks used in WooCommerce such that the following format will be displayed: homesite/category/product. Right now, the permalinks only shows under a category page: ...
0
votes
2answers
289 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
1answer
12 views

Change the custom post type permalink

I have projects category in my theme ( custom post type ). my link goes like this http://shaowtriger.com/project/naim/ my required link is http://shaowtriger.com/brands/naim/ I also ...
0
votes
1answer
19 views

Custom Post Type Archive Links Not Working

I have multiple custom post types set up. I've been through this process many times, on many sites and have never once had a problem with it. The post type is registered as 'glossary'. The archive is ...
5
votes
3answers
4k views

How can I make Capital letter ( upper-case ) permalinks?

How can I make a link like this? http://www.lifecellskin.us/Dev/About the "Using_Permalinks" part, A is Capital letters. But WP automatically convert upper case to lower case. I'm trying to convert ...
0
votes
0answers
12 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
2answers
43 views

Redirect year month day postname permalink structure to category postname structure

I have a Wordpress site with a /%year%/%monthnum%/%day%/%postname%/ permalink structure, and now the client wants it changed to /%category%/%postname%/. How do I do a generic redirect for the old ...
3
votes
2answers
511 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 ...
0
votes
1answer
370 views

Redirect & permalink problems after moving multisite to a new server

I just moved my subdomain multisite to a new server and I'm having some trouble with permalinks & redirects. One difference post-move is that I have moved core WP files into it's own directory ...
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
1answer
15 views

How to enable http (not just https) in wordpress?

My wp-config.php file contains define('FORCE_SSL_ADMIN', false); but all my permalinks are https: by default. I want the site to be accessible by http. What do I need to change please?
0
votes
1answer
1k views

Use WordPresss menus with anchors

I have a CPT archive page and I want to create a navigation menu which will jump to anchors in the form <a name="post-slug" http="{the permalink goes here}>The CPT Title</a> I have been ...
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
2answers
35 views

Custom Post Type with Nested Taxonomy and Template Files

I have a custom Post Type of "Portfolio" with a rewrite slug of portfolio. So the URL on the frontend is: domain.com/portfolio. I have a custom Taxonomy of "Categories" with a rewrite slug of ...
1
vote
1answer
505 views

Wordpress add_permastruct unwanted matches

I'm working on a project which involves filtering some customs posts on the front-end. I managed to create the permalinks including a custom field, but it seems that the rewrite rule matches some ...
2
votes
2answers
2k views

Remove parent slug for child pages

I'm looking for a plugin/custom function that removes the parent slug of a child's page permalink. Something that automatically changes the permalink for child pages. Example: ...
2
votes
1answer
339 views

Programmatically adding posts

I'm about to create parser which would be inserting new custom posts. So, it's pretty simple global $user_ID; $new_post = array( 'post_title' => 'My New Post', 'post_content' => 'Lorem ...
0
votes
1answer
27 views

Custom Post Type Categories Not Maintaining URL structure any more

I'm having a really hard time with this... I have a custom post type called "locations" that has several taxonomies for it. I was originally able to get it so that when you clicked on the category / ...
0
votes
2answers
54 views

WordPress Custom URLs

Based on the link maioman posted, below I have revised this question: I am having trouble getting a custom post type/taxonomy to work. I want a custom post type of Episodes, and the taxonomy for the ...
0
votes
1answer
242 views

How to create a permalink for custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name

I found this link too much helpful. This is what I code so far and got it working for all scenarios except two scenarios. register_post_type( 'article', array( 'labels' => array( ...
0
votes
0answers
13 views

Page Links To Plugin Issue [closed]

I am using Page Links to WordPress Plugin for Linking WordPress Page to External Link. However, Its not working for my site. I am not using actual links just for example, My page permalink : ...
-1
votes
3answers
33 views

Post/page without slug

I have posts that are full posts with page content and images, etc. Then I have potential future posts, which I still want to list on my category pages, but that do not have content yet and do not ...
2
votes
1answer
323 views

How to get pretty URLs with add_query_arg in permalinks

With add_query_arg() it is nice to add additional parameters to an URL and it is also easy to create a rewrite rule. So far so good. But the problem is the URL replacement done by wordpress. When I ...
1
vote
5answers
317 views

Pagination for blog posts reloading same page

Symptoms Visiting /blog/ loads the first 10 posts, as expected. Visiting /blog/page/2/ (and onward) loads the new URL but with the same 10 posts. Nothing changes but the URL. Setup Details Custom ...
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 ...
3
votes
2answers
2k views

Remove the blog slug from Wordpress Multisite root node

I have been looking at whether it is possible to remove the blog from the post & caetegory URL's in a multisite setup on the root node. I have found the Multisite sites settings and removed the ...
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", ...
1
vote
2answers
1k views

Include taxonomy slug in url?

I have the following custom post-type and custom taxonomy setup: add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'system', array( ...
0
votes
1answer
379 views

All pages are redirected to homepage if using Permalink Custom Structure

My website http://laptopre.net/ is running on WP 3.4.2. When I changed the Permalinks setting to Custom Structure - /%category%/%postname%/ , all the pages in my site are redirected to homepage. ...
1
vote
1answer
404 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 ...
0
votes
2answers
659 views

Facebook like button disappears after changing the static permalink to dynamic one!

<li class="fb-like fb" data-href="http://developers.facebook.com/docs/reference/plugins/like" data-layout="button_count" data-show-faces="true" data-send="false"></li> The above code ...
2
votes
2answers
41 views

Where is the old post permalink slug stored?

I published an article with permalink slug: http://domain.com/writing Then after publishing, I changed the permalink slug to writing-lorem. Now, whenever I visit /writing, it redirects to ...
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
1answer
529 views

Relative or Absolute Paths for Flash Video Player Files

I have a Flash SWF file working correctly in the root of my website. It is fully embedded, with everything including the player hosted directly on the website (not a YouTube embed). This flash file ...
0
votes
1answer
261 views

How to get category slug link? ( include parent categories)

for example, if main category slug is cars; sub-category slug is: Ford; how to get the permalink of Ford, including its parent categories' slug? ( get_category_link() returns mysite.com/?cat=19 type ...
0
votes
0answers
31 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 ...
1
vote
0answers
21 views

How to generate a list of all urls

I'd like to display a list of all Urls of my Wordprees site. I print out a list of all taxonomy terms like this : <?php // Get all Post $html = '<h2>Articles</h2>'; ...
1
vote
2answers
1k views

Wordpress on Ubuntu 12.10: permalinks problem

I am running a backup of my website on Ubuntu 12.10 (apache+mysql). I can see properly admin and home page, but permalinks are not working (so urls like this are failing: localhost/page/.../). What ...
4
votes
1answer
49 views

How can I store page ID in a post instead of other selected permalink?

We're using Wordpress as a knowledge base. We just left mediawiki and jekyll for Github pages and reduced the amount of different systems from four to just one. One Wordpress installation for blogging ...
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 ...
2
votes
1answer
320 views

Permalink redirection from 'Day and name' to 'Post name'

In my blog, I used the Day and name permalink structure for many days. Recently I came to know the SEO tips and made the permalink structure to Post name. So I migrated from: ...
0
votes
0answers
19 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
2answers
31 views

Customizing the custom post type permalink

I understand how to register a custom post type, customize the slug and decide whether to add the 'front' (the WP permalink settings) or not. What I'd like to do is customize the permalink by adding ...
1
vote
1answer
416 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 ...
2
votes
1answer
483 views

Change in custom taxonomy permalink cause 404 error for another custom taxonomy

I have created hierarchy based custom permalinks with help of this link. But now it is causing 404 error on another custom taxonomy used in site. Although I want custom permalinks on this taxonomy ...
0
votes
2answers
52 views

Wordpress Permlinks 404 Not Found

I have installed the latest WordPress on my EC2 Ubuntu 13.1 server. Once I have changed the permalink to use /%post-name%/, I encounter 404 not found for posts. I have followed almost everything here ...