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

Siloing with wordpress - For professionals only?

want I want to do: I want to change the structure of my website. I have two custom post types(CPT) "car", "bike" and a blog. I am using CPT UI Plugin for the custom post types. But I don't get ...
0
votes
1answer
19 views

Add a filter to get_comments_link()

I am trying to change the permalink #comment-xy to #customname-xy. When i change the corefile comment-template.php on line 754 to $link = $link . '#customname-' . $comment->comment_ID; I achieve ...
0
votes
0answers
11 views

SSL issue with permalinks (Nginx, CentOS, Vesta)

I am having issues setting up SSL for one of my website. First of all, let me explain my setup; I am running CentOS 7, Nginx, PHP-FPM, and Vesta CP. The website I am trying to setup is built on ...
1
vote
1answer
17 views

Specific URL Rewriting with parameters in wordpress

I'm rewriting a website that was originally in Drupal and has very specific URL's. So, I need to rewrite all the original URL's to the wordpress system + the parameters for my own-written plugins: I ...
0
votes
0answers
8 views

Nginx and Permalink for WordPress inside sub-directory of sub-domain

I've just migrate my site from apache2 to nginx. I've installed two WordPress sites inside a sub-domain of a sub-directory. The WordPress sites are installed on each sub-directory on sub-domain eq. ...
0
votes
1answer
14 views

Permalinks broken regularly

On one of my sites the permalinks are broken regularly. After saving them again it's all fine but a few days later the permalinks result in not found and I have to save them again. There are no ...
0
votes
0answers
10 views

WordPress permalinks redirect to localhost

I am having this issue where all permalinks redirect to localhost. I am running Ubuntu on a VPS. All links give 301 redirects to localhost. For example: www.example.com/some-link redirects to ...
1
vote
0answers
19 views

Custom Permalink Structure Redirects Pages to Homepage

I'm trying to add a custom field to my post types permalink structure - for the test purposes I've simplified the code. The custom permalinks work but the issue is that Top Level Pages redirect to the ...
0
votes
0answers
19 views

Rewrite rule with a custom post type and a custom field

I'm creating a website that will display, from a search by location, a list of singer. If we click on a singer I will have to display that singer with the city inside the url. Here are the two ...
0
votes
1answer
20 views

Change media item permalink

I have an image whose permalink is domain.com/books I would now like a page located at this permalink. Is there a way to change the image's permalink? Thanks
0
votes
0answers
36 views

Permalinks not working when using a custom query for a custom post type

I'm using WP_query to get a list of items from a custom post type. The code I'm using for the query is this: <?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $loop = new ...
-2
votes
0answers
27 views

Remove custom taxonomy base slug or not, what is the industry standard?

I have been working on a Wordpress theme for over 6 months now. My plan is to release it as a free theme and then possibly add more features and sell it as a premium theme. I am very experienced with ...
0
votes
0answers
9 views

Rewrite URLs for LeadPages due to subdirectory installation

I am using LeadPages on a WordPress site (with the LeadPages Connector plugin), and need help improving its URLs. My WP installation has its own directory (wp/) in the docroot of the server (per ...
0
votes
0answers
9 views

Custom Post Type (CPT) not honoring custom permalink structure

I've got a custom permalink structure of: /post/%post_id%/%postname%/ When I create a custom post type I'd expect the permalink to be: /post/cpt/%post_id%/$post_name%/ But instead it's: /post/cpt/...
0
votes
1answer
13 views

Precedence of page permalinks over woocommerce product category links?

I have a situation I cannot quite understand, and wonder if someone could help me do so. We are developing an e-commerce store (WP + Woocommerce) Individual artists are represented by Pages (each ...
0
votes
0answers
11 views

Permalink URL with /type doesn't work

I have a domain with WooCommerce and the following works: http://example.com/product-category/labrets/ The following also works: example.com/jewelry-type/labrets/ example.com/jewl/labrets/ ...
0
votes
1answer
28 views

Permalinks and custom PHP application

I have Wordpress installed in the root directory and configured properly using permalinks. Alongside the Wordpress blog, I have a full-fledged custom developed php application with several pages. I ...
0
votes
0answers
8 views

Bulk update post slugs (find and replace all)

Is there a way to bulk update permalinks through the database? I have several 100 posts and all I want to do is replace all "-" to "_" to the permalink. I could just manually update but that's too ...
0
votes
0answers
30 views

404 custom post type

I've set up some custom post types and wanted to visit the pages but I only get 404 errors. I've searched the web and it seems to be a known problem, but I didn't find a solution that worked for me. ...
0
votes
0answers
14 views

Single Post as Home with Next/Previous Going to Permalinks

I'm building a webcomic website and I want the home page to always display the latest single post, i.e. comic. I want buttons for “First” “Previous” “Next” and “Latest” that will take the user to ...
0
votes
0answers
21 views

WordPress Link - Custom Project

hope doing fine. I have a project and um really stuck in. Concept: http://abd.press/fU4yH Here is a little code, which i was successful to get from different sources but unable to manage next. <...
0
votes
2answers
34 views

Make a permalink to the most recent blog post

I want to make a permalink to my most recent blog post. I would use this link as a navbar link. The reason I'm not putting code straight into the navbar is because I am using a widget which will not ...
0
votes
1answer
16 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
13 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
11 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
55 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
30 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
25 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
1answer
23 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
23 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
19 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
20 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\...
0
votes
3answers
31 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 ...
0
votes
1answer
32 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
491 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
76 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
44 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
0answers
42 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
60 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
72 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
23 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
28 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
29 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
28 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
135 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
45 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
19 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 ...