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

404 when going to /blog

I'm trying to merge an old wordpress blog with a new wordpress site. Effectively all I want is to bring across the posts and link off to them from a link in the navigation called "blog".... simple ...
0
votes
0answers
10 views

Is there a way to combine Permalink Settings?

Image from the Codex on using Permalinks: How might this relate to custom post type archives? They claim that you can create custom URL structures for archives, but the Codex page only talks about ...
0
votes
0answers
23 views

Pages as parents of Custom Post Types

I have currently used code to assign my CPTs a parent page. (This is the tutorial I have been using http://www.gravitationalfx.com/how-to-set-a-page-as-the-parent-of-a-wordpress-custom-post-type/) ...
0
votes
0answers
28 views

How to change permalink structure and keep permalinks for old posts

I'm migrating to WP from blogger and my old permalinks have the structure: /year/month/postname.html In wp for my future posts on I would like to use the /postname.html custom structure. I don't ...
0
votes
1answer
26 views

Custom post type as child of page

I am wondering if it's possible to have a page, let's say called 'books' with some listed books. Next to this normal page we create an custom post named 'books' were we collect our books. Nou I ...
0
votes
1answer
39 views

Custom Post Type Archive template not being called

My question is similar to a number of posts on this site, but I haven't found a solution to my specific issue yet. I'm trying to implement an archive for a custom post type, "ttwi_course". I ...
0
votes
0answers
36 views

add_rewrite_rule questions

I've read several tutorials on the subject, but am not seeming to be making headway here. Ultimately, I am trying to write the following url: example.com/parts/by_model/YEAR/MAKE/POST-NAME/# Where ...
0
votes
0answers
22 views

Non unique Slugs and permalinks

I am migrating a clients site from an old code ignitor app to WordPress, with one of the biggest project briefs being "keep original data intact and make WordPress work around it" ... For almost ...
0
votes
0answers
18 views

WordPress pages that begin with a number return 404

Customer tries to create a WordPress page with slug of the format YYYY-some-description the page 404s. in relation to this https://core.trac.wordpress.org/ticket/11917 I believe, but the difference ...
0
votes
0answers
32 views

WP Permalinks won't work without DNS in nginx (ip/folder)

I am trying to access some of my websites via http://ip.add.re.ss/domain.com so my client can update the website content BEFORE putting it online (pointing the DNS) The website is stored in ...
0
votes
0answers
15 views

Pointing, two or more archived Blog posts to the same permalink (Single post page)

Can two or more posts in an archive each point/link to the same single post page (permalink). If so, how do I achieves this.
0
votes
2answers
28 views

WordPressMU: URL change and broken permalinks/links

The URL of our old WordPress MU (it is WPMU, not WordPress Multisite) installation with several blogs has changed. This URL change was updated directly in the DB in the wp_blogs and wp_site tables, ...
0
votes
0answers
17 views

Custom Post Type URL Rewrite

I am looking to create the following URL structure for a post type, /%post_slug%-blah/, and have an archive URL of /blah/. I can create this by doing custom rewrite rules, setting a post_type_link ...
0
votes
0answers
31 views

Create relationship between two custom post types and use in permalinks?

I have two custom post types defined: Store Product The URL structure for Product is example.com/product/product_title, where product is a static word. How can I add product to the store ...
0
votes
1answer
17 views

Custom post type permalink issue [duplicate]

I already have a 'custom structure' for my 'Posts', e.g. example.com/newsarchive, so my 'Posts' follow: example.com/newsarchive/welcometonovember Now I am expanding and created a new custom post type ...
0
votes
1answer
22 views

Ignore postname in permalink

I want to set my permalink as: www.example.com/category/postid/postname But I want WordPress to ignore the post name at the end, because I may change it later. How can I do it with .htaccess, or ...
1
vote
1answer
85 views

Replace menu permalink/hyperlink with only menu name/slug

I don't know if i am asking this correctly, but i will try. I am doing this for history pushstate purpose. Code to get menu wihout ul and li: $topmenu= array( 'container' => false, ...
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 ...
2
votes
1answer
86 views

Remove Taxonomy Slug when No Taxonomy is Assigned to Custom Post Type?

I have a custom post type called ‘sets’ and a taxonomy set up under it called ‘project’. Most of the posts under this custom post type will be assigned one project term, but not necessarily. When a ...
0
votes
1answer
21 views

What happens to the permalink that use %postname% if I change the post name

In my permalink i use only postname What will happen to the links if the post name changes? Will it still work ? Otherwise what is the best practice? With love
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
0answers
30 views

I can get the permalink or the excerpt to work correctly, but not both

I'm calling the following code from within a filter hook. (I'm using the_ rather than get_the for bugsquashing clarity.) function test_function($output, $format, $link, $post, $adjacent) { ...
2
votes
1answer
39 views

Custom Permalink Tag breaks Pagination

Most the below work stems from a previous question / accepted answer. I'm trying to achieve the following permalink structure: /listings/ /listings/page/2/ /listings/%state%/ ...
0
votes
0answers
25 views

Multiple custom post type and permalink issue

I have to declare two custom post type in my theme. But when declaring the second post type which is overwriting the permalink of first post type and rendering 404 error page :( Please find my ...
0
votes
0answers
29 views

get_permalink returning only URL's containing 'uncategorized' category instead of real category

I'm trying to get a listing of all URL's on a site to create a list of redirects for a migration. I wrote a simple script to go through all posts and call get_permalink, and insert the result in a ...
0
votes
2answers
15 views

Links after changing hosting and domain

I am changing hosting + domain name for my WordPress site. For example now if its hosted on 201.0.0.1/mysite and now I want to upload it to mysite.com. This is what I did exported database from my ...
0
votes
0answers
32 views

Unicode permalink slug are getting tuncated

I'm developing a website which is mainly a Bengali language based website. I'm using the post-name permalink structure. Every time a post name get longer, slug is getting truncated. Is there any way ...
0
votes
1answer
70 views

Redirect category to url with /category

I'm want to redirect every category page to to URL prepended by /category. For example; I want /blog redirecting to /category/blog Why? For some reason /blog gives to same result as /category/blog, ...
0
votes
0answers
18 views

Wordpress permalink issue on AWS

I have a weird issue with my permalinks in wordpress hosted on AWS. In my browser it shows a nice permalink for the first post of: http://civicasoft.com/granicus-acquisition/ (can be reached by going ...
0
votes
0answers
31 views

Update Permalink Settings - from Day and name to Custom Structure - now have 404s

I've just updated Permalink Settings from Day and name to a Custom Structure of /%category%/%year%/%monthnum%/%postname%/ but now certain links give me 404s. It turns out that the links causing ...
0
votes
2answers
63 views

Custom taxonomy in custom post type archive with pagination

I have inmy opinion something simple that needs to be done but I can't get it to work. I have a custom post type adm_project with rewrite => array('slug' => 'projecten') add_action( 'init', ...
1
vote
0answers
45 views

Permalinks and WP RSS Aggregator [closed]

I have small problem with my page. I have two languages - PL and UK. For language I'm using Polylang plugin and for custom post types I using Custom Content Type Manager. Now I want do add plugin WP ...
0
votes
0answers
31 views

Pretty permalinks returning “not found” on localhost and server

I tried to make the title as descriptive as possible. I have a wp site I'm currently building that, if I configure permalinks to be pretty, all pages returns the 404 page. The weird thing is that that ...
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
171 views

Parent Page and Breadcrumb URL's for Custom Post Types Not Working

What I Have Set Up I have three custom post types, they are named "brands", "careers", and "news". I have three page templates, they are named "page-brands", "page-careers", and "page-news". The ...
0
votes
0answers
16 views

Multisite Global Permalink Configuration [duplicate]

I would like all of my multisite blogs (sites) to have the same, default, permalink configuration. However, it looks like the individual blogs (sites) can have their own permalink structure. Is there ...
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 ...
3
votes
0answers
36 views

Custom Posttype Inheritance (and url structure)

After looking at documentation and searching around, I haven't been able to find anything, so here goes: Are there any way of custom-post-type-inheritance, and an url structure like this: ...
1
vote
0answers
117 views

Add hierarchical taxonomy to permalink for custom post type

I've found various questions about this issue, and I still can't get this to work. I have a post type called "product" and a taxonomy called "type". I'd like the URL for a single product post to be: ...
0
votes
0answers
50 views

SEO friendly custom page URL for multi-page posts

Is it possible to use a SEO friendly custom url structure for multi-page (paginated) posts in Wordpress? Example: This is the default url structure for paginated posts: category/post/2 ...
0
votes
0answers
65 views

Removing or hiding slug/permalink from htaccess

I have this slug that i want to hide for SEO matters. My current slug is: homepage.com/company/companyname All i want is to be: homepage.com/companyname I tried lots for plugins and htaccess codes ...
3
votes
1answer
95 views

Post being redirected to attachment post

That's strange issue I have on this one website. Similar to this problem and I am trying to get this fixed from last couple of weeks. This website have latest WordPress installed and /%postname%/ ...
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
43 views

rewrites and custom links in page need help with add_rewrite_rule

I have one page with edited permalink, like, address.com/detail/ I need to send there some values by GET request, so i would like the link looks like /detail/value1/value2/ i added this code in ...
0
votes
0answers
22 views

How to remove custom post type identifier in permalinks? [duplicate]

I've purchased a premium "SEO-fitted" (so I thought) theme, that uses custom post types in the URL. like /cat/ or /item/ But I really need to remove those slugs, and change my URLs so it will be less ...
0
votes
1answer
64 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
0answers
70 views

Change permalinks but old should redirect to new permalink

I want to change permalinks from date/postname to category/postname. But I still want old urls to work and redirect to the new url. Is this per auto in wp or do I need to write any code? What ...
0
votes
0answers
12 views

Permalink Custom Structure urls taxonomia

I created a CPT and taxonomy, category and products, the problem is I need my product has the permalink well .com / name-category / name-product the permalink structure is set up /% category% /% ...
0
votes
1answer
19 views

URL links consistent with menus?

I'd like to have a URL links consistent with menus on the page. For example: Menu1: Submenu1 item1 item2 Submenu2 item3 item4 Menu2: Submenu... etc.. The corresponding links ...
0
votes
0answers
46 views

How Do I Include The Tag ID And Tag Name In My WordPress Tag Permalink Structure?

I have been searching forever and have come close to finding the answer, but not quite all the way. I have found this plugin: https://wordpress.org/plugins/permalink-editor/ and it allows me to create ...