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

NGINX 301 redirect to permalink with Post ID

I have old permalink structure like: /%postname% But now I want to change it to: /%postname%-%post_id% I'm easily to do this via permalink settings, but how I can setup proper 301 redirect in ...
0
votes
0answers
16 views

Permalink structure between 2 custom post types and a taxonomy

Ok here is the scenario. I have a custom post type called "Communities", a custom post type called "Community Posts" and a taxonomy under "Community Posts" called "Communities". The idea here is that ...
0
votes
0answers
46 views

Page redirect to 404 when set Permalink = “Post Name”

In My wordpress site When I set Permalink structure as Post Name , It redirects all posts to 404. With Default permalink , It works fine. Server Details : Windows Server - IIS Web.Config Code : ...
0
votes
0answers
64 views

Numerical pagination not working with permalink change

I have some issue in numerical pagination. Pagination work when permalink setting set plain but when I change permalink "Plain" to "Post name", pagination not working. When I click on any number ...
0
votes
0answers
33 views

Custom permalinks for search with extra parameters

I am trying to change default WordPress permalinks for search because I added few parameters to search.php the url now is like: ...
0
votes
0answers
16 views

Custom Permalinks for JSON Feed

What file-name would I make to allow the following permalink. Wordpress/Custom-Archive/ID/Title I have created the Custom-Archive with achive-slug.php and the ID seemed to work under that as well ...
0
votes
0answers
40 views

Post's URL changes automatically to category's URL. How to solve?

When I create a new post, I edit its URL to be something I like, let's say "My Post". I put this post in a category, say "Cat1". After I publish the post, the post itself is accessible from its ...
0
votes
0answers
16 views

Custom URL Rewrite Rule Based on Post Title

I have a Custom Post Type with two Custom Taxonomies attached to it. I've been able to get the URLs to work with both taxonomies but I need the URLs to handle another custom piece in the url that will ...
0
votes
0answers
42 views

remove slug in the permalink for more than one type of custom post type

I trying to remove all the slugs that wordpress generates when you set a custom post type. Like when you have a custom post type called 'new_releases', for example and your permalink looks like this: ...
0
votes
0answers
18 views

Can a post use a subdomain or different permalinks at the same time?

The design on the website I am working on includes the users being able to pick the location of their website. To me it's like a glorified profile page, but one user can have many websites, and they ...
0
votes
0answers
21 views

Wordpress Multisite htaccess redirect loop

I have a multi-site instance of Wordpress setup for a series of related websites. These work on a sub-directory approach (e.g. domain.com/team-events/). Within one of the sites, I have created a ...
0
votes
0answers
21 views

Permalink Setting Changes From Post Name to Default After Changing The Page Name

I had to change a page name through theme folder like /currentTheme/ page-eyeglasses.php to ---> page-eyeglasses-1.php to make the page not temporarily not accessible. But after returning the ...
0
votes
0answers
15 views

How to, post-formats & category in link (permalinks)

For permalinks a combination of both. Simple: "e.g./type/status/category/general" -> return 404 or permutation, "e.g./category/genral/type/status" -> return 404 Do not working -How to i ...
0
votes
0answers
10 views

Use Post's subcategory in title tag

I changed my title to: %%subcategory%% %%sep%% %%title%% But WordPress doesn't seem to recognize %%subcategory%%, in the end it simply displays - My title How should I change the title to ...
0
votes
0answers
27 views

How to identifty post from its URL in 404 page?

Why GUID is such unstable? Some of the post's GUID are pretty permalinked, but most of them are default. I's using Pippin's function to get the post_id from its GUID, but it's not working if my site ...
0
votes
0answers
13 views

Error Nice url (permalink) ( 'ể' cannot create url 'e' )

Before a long time, i never get this error. Link image error: . When i type the title has my language => wordpress auto create a permalink very nice ( dont have Diacredical Marks ). But update 4.3.1 ...
0
votes
0answers
46 views

.html and pagination for custom post type and category

I have a problem. I stand on the site of wordpress and I need to keep the URL. On my old site at the end of pages, of records, categories were .html extension. I have default permalink in wordpress ...
0
votes
0answers
30 views

Change permalinks for posts except those in excluded category

is it possible to change the permalink for certain posts only, depending on their category? The structure at the moment for posts is: Home: site_url (showing posts in category A) Custom page: ...
0
votes
0answers
18 views

Wordpress matching URLs with trailing tildes

I've been handed a vulnerability report(1) that seems to be implying that there may be a security issue in the way Wordpress handles URLs with following tildes. It seems the scanner thinks the website ...
0
votes
0answers
39 views

Changing wordpress permalink structure: 404s and blank pages

I have a WordPress website with this terrible custom permalink structure /%category%/%post_id%-%postname%.html and I want to change it to %postname% without losing all my links. I changed the ...
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
0answers
37 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
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
32 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
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) { ...
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
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
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
32 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
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
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 ...
0
votes
0answers
72 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
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 ...
0
votes
0answers
96 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
0answers
46 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
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
47 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
45 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
0answers
39 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
11 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
0answers
30 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: ...