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
21 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
60 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
19 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
38 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
20 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
41 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
18 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
38 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
34 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) { ...
0
votes
0answers
30 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
65 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
18 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
56 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
121 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
20 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
35 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
106 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', ...
0
votes
0answers
40 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
74 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
442 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
22 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
0answers
80 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
104 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 ...
0
votes
1answer
54 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
50 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
23 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
85 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
125 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
17 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
0answers
49 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 ...
0
votes
0answers
158 views

Archive pagination causing 404 with permalinks structure

Somehow my archive.php is causing some problems because I'm using /%category%/%postname%/ as my permalink structure. The next_posts_link() redirects to /category/page/2: which causes an 404 error. ...
0
votes
1answer
55 views

Where is wordpress redirecting wp-admin/admin/dashboard to wp-admin and how to turn it off

I mean when we have subdirectory install and /wp-admin/ is not referencing to directory wp-admin, but wordpress stills redirects and not just for wp-admin slug but also for admin and dashboard and ...
0
votes
1answer
24 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
0answers
63 views

Search form using POST and permalink

For security reasons I use post type for my form into my search page. The main problem is I loose all permalink (before I had xxx.xxx/?s=Keyword). But now it logically just redirect my search page in ...
0
votes
1answer
223 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
0answers
17 views

geting a string containing all the url's of the main menu

I write a simple plugin. Inside it I need to get a string containing all the url's of the main menu(and submenu) items. On the run time, the code doesn't know any details on the main menu of the site. ...
0
votes
0answers
58 views

wrong home url when using subdirectory

On my server, i installed a wordpress. I installed it in subfolder /wordpress. so i have this structure : / index.php index.html <= "message Under Construction" .htaccess /wordpress ...
0
votes
0answers
51 views

Change permalink structure and keep old one

I have a site with permalink structure "/category/post_id.html" and I would like to change it to a structure "/category/year/month/date/post_id". I know the best practice for permalink is to include ...
0
votes
1answer
86 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. ...
0
votes
0answers
44 views

How to make variables in custom page URL look like the permalink structure?

I am using wordpress and in that i am using permalinks post name but in project manager plugin on click of one of one project i get this url which i want to make user friendly as the name of the ...
0
votes
0answers
13 views

Limiting Comments Displayed to posts posted by particular author

I am on Page review. I have introduced custom permalink variable - author_id. Lets say i get the permalink variable in $perm_author_id. I want to compare $perm_author_id and comment_author( ...
0
votes
1answer
37 views

“post-name” Renders Using page.php, but “post-name-2” renders with single.php

Page One is rendering using my page.php template. Page Two, set up exactly the same as the previous one, is rendering using my single.php template. I want Page One to render using the single.php ...
0
votes
0answers
36 views

Rewriting URI of custom post type

This is a follow-up question to this thread: How to rewrite URI of custom post type? I'm using WooCommerce on one of my customers' sites and we use the following permalink structure: ...
0
votes
0answers
38 views

Redirection of custom post type

I have the following custom post types on my old site which have that structure: http://example.com/cpt-name_a/post-name http://example.com/cpt-name_b/post-name i've created only one custom post ...
0
votes
0answers
29 views

Removing Permalink Title from page

I have a question regarding permalink titles. I inherited a website which already has pages published. However when I tried to create a new page (adding a new page), the permalink title appears on ...
0
votes
1answer
28 views

Permalink for Author's Posts in a Category

I want to display posts from a particular author has posted in a category. For example: mywordpresssite.com/john/improvement or mywordpresssite.com/improvement/john In the above "John" is the ...
0
votes
0answers
41 views

How to create custom Permalink tag?

As you know there are permalink tags like %category%, %postname%, etc. I want to create my own %custom_tag% that I can use in permalinks. Can anybody point me in the right direction? Thanks in ...
0
votes
0answers
17 views

Category-dependent custom permalink

My website uses a custom permalink structure of the type: /blog/%year%/%monthnum%/%day%/%postname%/ Now, I created a new post category, which needs to have the permalink: /guide/%postname%/ In ...
0
votes
0answers
75 views

Wordpress keeps giving me the wrong permalink

Permalink: http://www.ccdalink.com/team_member/rf-johnson/ is the name of the permalink But after I exit and save changes. Another team_member's page and picture show up in place, and I only ...