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
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
44 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
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
19 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-...
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 ...
0
votes
0answers
29 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
28 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
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
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' ...
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
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 ...
0
votes
0answers
22 views

Year archive permalink structure redirecting to home

I'm having issues with the permalink structure of my yearly archives. http://testsite.com/2016/04/ works, but http://testsite.com/2016/ redirects to http://testsite.com My blog base page is: http://...
0
votes
0answers
22 views

Wordpress and “pretty permalink”

I've installed wordpress and set permalink structure to /%category%/%post_id%_%postname% I've also used 'No Category Base' plugin I can list all posts in category 'my-cat' on archive page //www....
0
votes
0answers
38 views

Custom Permalink Structure: /%custom-taxonomy%/%post-name%/

I would walk to the moon and back to get to the following answer. I've searched the internet for hours but couldn't find how to fix the following. I've created a custom post type and a custom ...
0
votes
0answers
27 views

Child 'page' of 'private' looses /parent/ in permalink after child update

For example, I have the site structure, where I want to publish child pages to be indexed by Google before their parent page is ready. I can't do this because I can't choose the parent page for ...
0
votes
0answers
23 views

Issue linking to custom post type posts

I am having issues linking to a custom post type post. There is a shortcode that loads a list of posts for "applications" on the site I am working on. I am not sure what code to use to have it call ...
0
votes
0answers
40 views

Fixing the WP Post Object for Custom Route

I'm currently in the process of building a custom plugin for a client that involves displaying front end user profiles for any "subscribers". These profiles will be populated with various user meta as ...
0
votes
0answers
12 views

Change permalink to attachment gallery post and redirect parent post

I have a problem with the photos attached to another article Example: **Photo1** attached in MyPost1 **Photo2** attached in MyPost2 **Photo3** attached in MyPost2 **Photo4** attached in MyPost3 **...
0
votes
0answers
36 views

Trouble with Permalinks - Mod_Rewrite on, htaccess accessable

I'm having issues with custom permalinks, I've gone through weeks of trouble shooting to no avail. Today I've confirmed that: htaccess is being read, tested with just writing "test" at the top of ...
0
votes
0answers
24 views

Permalink custom post type and custom taxonomy

I have problems with making permalinks. I have multiple custom post types. Lets say cpt1 cpt2 cpt3 I have one custom taxonomy with few categories. Lets say : cat1 cat2 cat3 All custom post ...
0
votes
0answers
11 views

How to change the permalink in slider

I'm wondering how can I change permalink in slider? I'm using uniform template, so whenever i try to change permalink, it will automaticly add "-2", since the same post/page already exist. <div ...
0
votes
0answers
12 views

Permalink on Ubuntu Problem

I've been working on this for days now, and none of the existing solutions can solve mine. Yes, mod_rewrite is installed. /var/www/html/wordpress$ sudo a2enmod rewrite Module rewrite already enabled ...
0
votes
0answers
309 views

Pretty Permalinks don't work since 4.5 upgrade

Prior to two days ago, the site was working perfectly fine. Now after the upgrade to 4.5, all sub-pages (Pages, Tags, Categories etc) are returning 404 errors with the same theme as my site. If I set ...
0
votes
0answers
21 views

add_rewrite_rules

I'm moving an old blog from Typepad to WordPress and trying to maintain permalinks. I'm hoping to drop the /category/ base from category urls and add /index.html to monthly archives. I have these two ...
0
votes
0answers
34 views

Need Functions.php Permlink WP Job Manager Code

I'm building a site that uses WP Job Manager. I'd like URLs to appear as /category/region/name/ - For this I've added this code (taken from WP Job Manager site) and added it to the theme's functions....
0
votes
0answers
30 views

Custom Taxonomy/Terms Url Structure

I am creating some taxonomies dynamically from using an ACF Options page, this seems to be working but the URL structure is off. I was expecting, something like... mysite.com/myPostType/Taxonomy/Term ...
0
votes
0answers
67 views

Dynamically Change Base Permalink Prefix For Custom Taxonomies (Categories)

I'd like to change/modify the permalink structure for the standard and custom post-types and taxonomies, such that the base being prefixed to the permalink dynamically changes for each post-type and ...
0
votes
0answers
24 views

Pretty permalinks not working after copying from UNIX to Windows

I made a development copy of WP from a live Apache Server (running on UNIX machine) to a localhost running on WAMP. I have mod_rewrite enabled in the httpd.conf file, as well as AllowOverride set to ...
0
votes
0answers
12 views

Substitution of a Wordpress installation preserving the old one under a subfolder

I have a WordPress website (Website01 under exampledomain.com) and I want to build another one under the same domain but a different folder (Website02 under exampledomain.com/subfolder). That's not a ...
0
votes
0answers
24 views

Remove custom structure slug from custom post type

I have a custom permalink structure like: /blog/%category%/%postname%/ I use the blog, to have all my blog articles prefixes with that slug. The issue is, that some of my plugins with custom post ...
0
votes
0answers
33 views

Remove digits from slugs in post or category permalinks

Assume we have two products with same name from two different vendors. For example, it's "Juice" from "vendor1" and "vendor2". "vendor1" and "vendor2" are created as categories, and if I create two ...
0
votes
0answers
29 views

How to change permalinks after finishing my wordpress website?

I have developed a Wordpress website with plain permalinks. Now i want to change it to Post name permalinks. Actually, i have changed it using Settings -> Permalinks, but the problem is that all pages ...
0
votes
0answers
20 views

Display tags belongs to a category even if if it belongs to multiple categories

Here is my case: I have 2 main categories I would like to display posts in separately: 1) Garden 2) Recipes One page for Garden with posts belong to "Garden" and one page for Recipes with posts ...
0
votes
0answers
90 views

Nginx 404 error with permalinks

I've been trying to figure this out for days via google, but none of the solutions have worked. I'm running Nginx on a DigitalOcean droplet, newest version of Wordpress, and I'm getting 404s when I ...
0
votes
0answers
68 views

Post type permalink as subdomain rewrite rule

I'm trying to use custom post type slug on permalink before site URL (as sub domain) so the permalink most look like: http://post-type-slug.example.com I use a modified class from Subdomains plugin ...
0
votes
0answers
36 views

Custom Permalink Rewrite for Blog Posts and Archives

I've seen stacks around a lot with mixed results. Basically the goal is to have a URL structure for all default Posts ('post' post type) to be: /blog/postname But also, archives (category/tag for '...
0
votes
0answers
28 views

Single-{custom}.php doesn't exist not matter what I do

This question has been asked and re-asked, I know because I've found every one of them here already. I don't know why I can't find the hint that I've messed differently than others so after hours of ...
0
votes
0answers
33 views

Modify custom taxonomy permalink to allow 2 additional parameters?

I have a custom post and taxonomy set up. The only section I have in my website are taxonomy archives. The archive page lists the posts from the current taxonomy term. Each post is viewed in a modal, ...
0
votes
0answers
36 views

Create slug for Custom Post Type Under two Parent Page with WPML

I would like this structure, WPML plugin with subdirectories, event default one. Desire structure: /en/2016-xxxx-xxx/ -> Page with Custom Template /en/2016-xxxx-xxx/term1/ -> Page with Custom ...
0
votes
0answers
19 views

Cannot modify permalink of page

I want to modify the permalink of a page. Let's say I have http://example.com/a-very-very-long-old-title I want to change it by http://example.com/new-title So I get to the page, modify the ...
0
votes
0answers
42 views

Can I override the permalink/slug on creation

I have a plugin that imports data from an external API, creates a 'Product' Custom Post type ( or updates an existing one ) and then adds all the meta data. Every time we update the product from the ...
0
votes
0answers
37 views

Issue with custom search form and permalinks generating 404

I am having a problem generating results using my custom search form in Wordpress. My searchform.php template looks like this. <form role="search" method="get" action="<?php echo home_url( '/' )...
0
votes
0answers
11 views

Setting post permalink outside /blog/

I am trying to integrate my blog in a better way with my ecommerce application. I am trying to switch from something like: Product category page: /power-tools/drills/ Blog post: /blog/best-drills-...
0
votes
0answers
21 views

Numbers in permalinks instead of post name?

Does anyone have a clue why WordPress uses numbers as a permalink although I have changed my permalink structure to foo.com/%postname%/? eg. //foo.com/cpt/68329/ instead of //foo.com/cpt/this-is-a-...
0
votes
0answers
30 views

Custom Permalink for custom post type

I need a permalink of the type domain/something/%post_type%/%post_name.I have a come up with the following code.Here reviews is the custom post type.But it is resulting in a 404. add_filter('...