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

“-2” Being added to end of URL (no duplicate pages, no pages in trash)

I have a page called "Orlando" and for some reason the page url is /orlando-2/. I have never made another "Orlando" page on this site and there are no pages living in the trash. There is also no other ...
0
votes
0answers
12 views

custom post type cate/child not working

hey i have this custom post type with taxonamy job_listing_region register_post_type( 'job_listing', array( 'hierarchical' => true, 'public' => true, 'rewrite' => array( ...
0
votes
0answers
9 views

Special characters automatically converted in pemalink

In one of the WordPress installation, special characters in permalink is getting converted (PFA). How to allow special characters in WordPress permalink? If anyone had same issue please suggest.
3
votes
1answer
42 views

'post_type_link' filter not working

I know it should work fine, don't know if this is a recent bug or something. So, to confirm it, I installed a fresh wordpress using default theme. I made a small plugin like bellow: <?php /* ...
0
votes
1answer
24 views

How to rewrite a folder in WordPress?

I'm using "The7" theme and don't want to use the standard Portfolio archive template. I have used the default template to create a page that looks great, let's call it /our-portfolio/. Currently the ...
0
votes
1answer
24 views

Get (eventual) permalink from post within Edit Post in Admin panel

I'm working on a plugin that needs to access grab the Permalink from within the Edit Post screen to send it to a link-shortener API. The catch is that I will need to grab the permalink before the post ...
0
votes
0answers
19 views

Change the url of a custom post type to include taxonomy

I'm trying to create a custom post type where there will be a lot of identical post names, but they will have different taxonomy values. Is it possible to define a slug mode where the taxonomy ...
1
vote
0answers
21 views

Edit page slug after save, cause 404 by linked pages

I have two page bar page at url: http://www.example.com/bar/ foo page at url: http://www.example.com/foo/ bar page link to foo page in content, eg.: <a href="http://www.example.com/foo/">...
0
votes
0answers
18 views

permalink with partial ajax site

I'm trying to load a page with from a URL with an ajax call. This is what i have : a home page with the url / -> list all movies & events a page called cinema with the url /cinema -> list all ...
0
votes
1answer
12 views

Moved Wordpress to other folder (Windows) WAMP = 403 Forbidden

I am using a local install of Wordpress for offline development on a Windows 10 machine, with WAMP on the server side. This morning I have moved the folder containing the wordpress from c:\users\...
-1
votes
0answers
22 views

Consistent 404s [on hold]

In the past few weeks, our site has had an issue where all pages return 404s. Saving the permalink structure under options in the dashboard fixes the issue. We've done two things to try to id Had ...
0
votes
3answers
26 views

How to disable permalink of a particular menu item?

I'm using WordPress Twenty Sixteen theme. Now I've a menu item named Product and it has a sub menu. The product page has a permalink as usual, but I want to remove it i.e., when I click on this menu ...
0
votes
0answers
9 views

Rewrite Rule for Multistep Estimate Form

I want to be able to create a few rewrite rules and utilize some templates that I've created, but I don't want to be limited by having to create the pages within the WordPress admin ... essentially, I ...
-1
votes
0answers
29 views

Reoccurring 404 Errors [closed]

I have a WordPress website which has on three separate occasions had a problem. For no obvious reason all the pages other than the home page would give a 404 error, each time all I needed to do to fix ...
0
votes
1answer
29 views

Page permalinks are http but show up as https?

My page permalinks are http Settings -> Site & Home URL set to http:// but the links all go to https:// It seems all my page permalinks are being rendered as https. I do not have any ...
6
votes
3answers
471 views

How does wordpress keep track of post id when post id is not used in permalinks?

There are few sites i have seen which does not use post id in their permalink structure. becuase of this their url becomes., http://example.com/example-content/ so what happens when user adds new ...
5
votes
1answer
63 views

Custom rewrite rules for archive page and single post

I'm building a Wordpress site with several custom post types. Every post type is a different magazine. I have also a custom meta fields for a magazine year and issue. I would like to have urls (used ...
1
vote
2answers
43 views

How do I get the permalink structure to work like this?

domain.com/rents/miami-dade/ domain.com/companies/miami-dade/ Then for, say rents/miami-dade/ I would loop through some different areas within miami, showing a list of rents for each area. For ...
1
vote
1answer
35 views

After updage wordpress 4.4 to 4.5 nginx config works not properly

Permalinks (post name option) stop working (get 404 page with text "It seems we can’t find what you’re looking for. Perhaps searching can help.") after upgrade from 4.4 to 4.5. I use nginx as a ...
0
votes
0answers
15 views

Wordpress post editor automatically converts the pretty permalinks to default permalink on saving?

Wordpress post editor automatically converts the pretty permalinks to default permalink on saving. for example when is save the post having the permalink like this <a href="/my-link/">link</...
0
votes
0answers
45 views

multiple url slug for single custom post type

I have created a custom post type for events. Now within events post type I have created 2 categories. One is 'event' and another one is 'workshop'. The 'event' category post url looks like http://...
0
votes
2answers
45 views

Refresh page after form action

I've a listing post page where all posts are shown. On each post's row I can perform actions like delete, archive etc. So imagine that: I have an "archive" button; I push on it and I get a modal (...
0
votes
0answers
27 views

Subpage template for posts

I have a custom post type, and I created posts. Users can view them at eg: /customposttype/post1 /customposttype/post2 . . Now I want to create a template file to view the posts in a different ...
0
votes
0answers
20 views

Custom Permalink Structure for Custom Post Type, Custom Taxonomy, Under a page

Need some help with some custom rewrite rules. I found this post How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-...
1
vote
0answers
25 views

How to rewrite post slug to prevent adding number

The basic idea to add same slug to different custom posts with different categories: http://example.com/gallery/category-A/postname/ http://example.com/gallery/category-B/postname/ But I'm getting ...
0
votes
1answer
27 views

Permalinks for a custom post type - with a page template (custom query) and taxonomy archive

I'm having trouble getting my permalinks working with a specific custom post type setup. Here's the code for the custom post type: function jc_attactions() { $labels = array( 'name' => '...
0
votes
1answer
27 views

Custom post type clean shortlink

In a multisite installation I want to change the shortlink for custom post types from this http://example.com/site/?p=5 to this http://example.com/site/5 I saw that if I set the permalinks settings ...
6
votes
1answer
133 views

Meta_Query as a way how to setup CPT permalinks - is it a good thing?

I'm creating quite complex website for a literary magazine. For its custom post types Issue and Event, I wanted different permalink structure than for posts (which is basic http://example.com/%...
0
votes
1answer
40 views

Can't use pagination with custom taxonomy

I have a problem with custom taxonomies & post types URLs. My post type slug is videos, it has an archive and it works fine: https://uwebdesign.ru/videos/. The pagination on the bottom of the ...
0
votes
0answers
17 views

How to include both parent category and child category in permalinks?

I use the permalink structure /%category%/%postname%/. I have assigned one parent category and one child category to all my posts, but my permalinks only include the parent category. I want the child ...
1
vote
1answer
18 views

Passing a parameter to a permalink

I'm trying to create permalinks for a page that currently has parameters passed to it. The site was set up by somebody else and I'm not familiar with Wordpress I have various pages which have URLs of ...
0
votes
0answers
30 views

The Permalink doesn't work after the foreach ended

I am facing a problem. In my homepage, i have two columns for Latest Updates and Latest Promotion. But, i have some share buttons as well. But, the permalink doesn't work for my share buttons. The ...
0
votes
0answers
29 views

My site won't recognize a null string in a url

I've just re-built a wp site. The client's prior site included the following tracking script, which I brought over: <script type="text/javascript"> var vv_account_id = 'xxxxxx'; var ...
0
votes
0answers
33 views

WordPress thinks my custom route is a 404

I created a plugin that sets up a custom route and then loads a template file for that url. Everything works fine, except that WordPress seems to think it's a 404 even though it's correctly rendering ...
0
votes
0answers
29 views

Problem in defining custom permalink for custom post type

I have created a custom post type i.e. Movie of The Year by the following code. class Twenty_Fifteen_Post_Type_With_Rewrite { private $post_type; private $query_var; private $...
0
votes
1answer
19 views

Post & Category Archives URL structure

I've looked through many similar questions, but haven't yet been able to find a solution to my particular problem. It seems fairly straight-forward, but I can't seem to find the correct combination of ...
4
votes
2answers
43 views

Filtering comment permalinks when a condition is met

I can't figure out how to filter the comment permalink on certain WP page that I use like this: if(condition is met) { (filter the comment url) } ...so that all the comment permalinks inside the ...
0
votes
0answers
12 views

How to Redirect /post-name.html to /categoy-name/post-name.html unbreak seo?

I wanna to redirect old permalinks post type to new permalinks automatically unbreak seo. My old permalinks: domain.com/post-name.html New permalinks: domain.com/category-name/post-name.html by in ...
0
votes
2answers
22 views

How to put articles under a /blog directory?

I have a homepage, work (as parent pages) and several pages (as child), but when it comes to articles, I can't choose the relation between them and the page Blog. Resuming, I can choose the hierarchy ...
0
votes
0answers
17 views

domain.com?p=POSTID permalinks not working with custom post types

I use the default Wordpress permalinks as shortlinks on my site, and just noticed that they are not working for custom post type links. Instead they give a 404 error. These work for for the 'post' ...
1
vote
1answer
17 views

remove sub-category of Custom Post Type from permalink structure

I've got my permalinks for a Custom Post Type set to /%custom_taxonomy%/%postname%/ using the Custom Post Type Permalink Plugin to set the custom rules for this CPT. What this gives me is site.com/...
0
votes
1answer
45 views

How to solve 404 permalink errors on nginx server

I can't solve this issue. I tried everything I found over the web. I first tried configuring my nginx.conf following the example on codex with no success. https://codex.wordpress.org/Nginx I found ...
0
votes
1answer
26 views

HTTPS permalinks resulting in 404

Migrated the site from http to https.The homepage is working fine the but other page(archive,single,page) templates are resulting in 404. Here are the steps while migrating.Could anyone please point ...
0
votes
0answers
8 views

Same Permalinks for Custom Post Types and Category Taxonomy

I am trying to figure out how it is possible to use the default WordPress Category taxonomy across my entire WordPress site, including three custom post types that I have defined. I would like to ...
0
votes
0answers
13 views

how to get Pretty permalinks($wp_rewrite) till `INIT` action?

i want to call get_permalink() in early actions(i.e. plugins_loaded or setup_theme), but i get incorrect permalinks for custom post types: http://example.com/post-name instead of http://example....
0
votes
0answers
36 views

WordPress permalink for custom post type with taxonomy and post title

I have custom post type death and have a taxonomy death-area for each post. I want to set permalink as http://base/death/[death-area-name]/[post-title] But instead I am getting http://base/death/...
0
votes
0answers
42 views

Inject a user specific ID into first URL segment

I've got a site that deals with affiliates and needs to inject an affiliate ID directly into the URL string. So for instance if an affiliate's ID is 12345, I would like to inject 12345 into the first ...
0
votes
1answer
41 views

Some links broken after updating Wordpress version

first post on here so go easy :) got a problem with a wordpress site (custom theme) http://expressduplication.co.uk which was built a few years ago by a company we are no longer able to get in touch ...
0
votes
1answer
47 views

Change permalinks for specific pages

How can I change permalinks for selected pages? For example, static page will be like this example.com other sub pages will be example.com/postname/ Right now I can't achieve what I want with ...
0
votes
0answers
32 views

Accessible Subcategory URL's pages without using .php hack

I'm attempting to setup a custom URL structure within posts that makes all parents and sub child's accessible, but all attempts have failed with various errors. My category structure looks something ...