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

Custom post types not filtering by taxonomy

I have a custom post type of rent that has a taxonomy of location. When I go to mydomain.com/rent it displays all the rent items as expected but if I go to ...
-1
votes
1answer
19 views

ugly URLs appear as 404 in GWT

I use latest wordpress. So, from WP side i make posts as always, i have set permalink structure: sitename.com/post name htaccess has the rewrite rule set. In google webmaster tools account the post ...
0
votes
1answer
32 views

Custom post URLs

My normal posts publish into domain/notes/, so for custom posts I can set with_front appropriately so as to not prepend CPT with notes. But is there a way I can then 'push them down a level', so they ...
1
vote
2answers
53 views

Permalink structure CPT with custom taxonomy fails

I'm getting quite frustrated setting up the correct URL structure for a CPT with a custom taxonomy. I have a CPT called 'courses' with a custom taxonomy called 'course type'. The url structure ...
3
votes
1answer
43 views

Why does WP not use relative links when linking pages?

Why is it that Wordpress 4.4.2 does not use relative links (get_bloginfo, or such things) when I use the "internal editor mechanism" to link to existing pages and posts in a site. My local WAMP ...
0
votes
1answer
52 views

Wordpress custom post type rewrite rule matches all pages returning 404

I've created a custom post type with a rewrite to use the grandparent relationship as the URL like so: function cpt_child(){ $args = array( //code 'rewrite' => array( 'slug' => ...
0
votes
1answer
47 views

Will adding 40,000 301 redirects slow down a site?

Will 40,000 301 redirects slow down a site? The 301 redirects will be from within the same site. -- Additional info -- We're using a plugin for this (Redirection WP) and the author mentioned this ...
0
votes
1answer
34 views

Make Permalinks have a custom format?

For Example: www.abc.com/ConstantCustomString-PostTitle-ConstantCustomString/ How could i go about doing this and is this even possible ? I tried Searching this online but no question answer ...
0
votes
1answer
23 views

How to get permalink in foreach loop

What to do in situation when I don't have an ordinary if-while loop, how do I get permalink? $page_children = get_page_children( 8, $all_wp_pages ); foreach( $page_children as $page ) : echo ...
0
votes
1answer
40 views

Wordpress modify Settings > Permalinks (options-permalink.php) Add CPT Permalink Options

How do I modify the Settings > Permalinks (options-permalink.php) admin page to add more custom permalink parameters? I'd like to add additional permalink parameters to the "Optional" section for ...
0
votes
0answers
48 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 ...
1
vote
1answer
56 views

Change permalink for a single post entry

I've defined a custom post type, projects, and I've set the permalink for those post types to /projects/my-project/. However, for one of the projects, I need to give it a special URL, so instead of ...
0
votes
1answer
39 views

Custom Post Type Taxonomy - Permalinks generating, but posts not found

I have a custom post type documenting Treatments available from a clinic. This sits on the Cosmetics part of the website (site.com/cosmetics/). Filters have managed to translate \%type\ for ...
0
votes
0answers
23 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 ...
1
vote
1answer
28 views

Server Move: All pages leading home

The Problem. No matter which URL I enter, all pages display the site's static front page. Known site URLs load the home page (but keep the URL entered) and should-be 404 paths like ...
0
votes
1answer
15 views

Wordpress Links Not Working After Migration

Just finished moving my local Wordpress install to a live server. Imported my DB, and uploaded my core files to the new server. I also changed the siteurl and home fields in the wp_options table ...
-1
votes
1answer
28 views

Single product link in woocomerce

I want to change my product link from produkt/produkt-name to produkt/category/subcategory/product_id/product-name/?myvariableParsedByJson Please give me any tips how to do it?
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
1answer
23 views

Add URL to selected post in meta box

How can I change this code $posts = get_posts(array('post_type'=> 'lesson', 'post_status'=> 'publish', 'suppress_filters' => false, 'posts_per_page'=>-1)); //here you add the ...
1
vote
1answer
51 views

Pagination Issue - /page/2 404

I have a custom post type with it's own archive page. I'm running a custom loop, displaying 1 result. I'm trying to paginate these results, but I'm having some strange issues that I can't seem to ...
0
votes
1answer
45 views

add_rewrite_rule with bottom priority doesn't handle the Wordpress pages

I have a php file named test.php that outputs the page querystring parameter. I want to use add_rewrite_rule to serve my php file, while the WordPress pages which exist already or will be created ...
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 ...
1
vote
1answer
26 views

Removing category base form links messes up the parent-child behavior

I am using the 'standard' trick for category removal in wordpress. In my permalinks I set the permalinks structure to /%category%/%postname%/ And my category base to . Which worked fine, until ...
0
votes
1answer
16 views

The permalink for the page doesn't work and page's defined link throws “Object not found!”

I created new page in a fresh WordPress install. Version of WordPress is fairly new - 4.4.2. I set the permalink for the new page to be http://localhost/gp/page-two/‎.
0
votes
1answer
22 views

How to make custom page link to root automatically?

I've put / in my Home custom page link, and locally my server is localhost:3000 and it works fine, but on my server the url is www.mysite.com/theproject, but / there does not lead to ...
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
1answer
12 views

Access or edit custom generated permalinks with WP_Rewrite

I want to create custom permalinks for my plugin using WP_Rewrite. I found the codex the have great examples and this stack topic also explained a lot to me. Currently I've got the following code ...
0
votes
1answer
29 views

LetsEncrypt WordPress on the Raspberry Pi - Nice url's give 404 with https, http works

I setup WordPress on my Raspberry Pi and used LetsEncrypt to secure it. The HTTPS links will work with Post ID permalinks. They return a 404 when I change the permalinks to anything else. Here is my ...
0
votes
0answers
71 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
62 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
1answer
26 views

nice permalink for frontend edit page

I would like to know if anyone has ever tried to create a permalink like this for editing a post in the frontend: http://example.com/books/750/edit Where books is my custom post type, 750 the custom ...
0
votes
0answers
30 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
1answer
23 views

Redirect User From Registration Page To CPT (profile page) with custom url

I am looking for a little advice regarding wp_redirect after successful registration, the plan is a new user registers and is then re-directed on success to a custom post type page 'Agent' wp ...
0
votes
1answer
35 views

Add custom query vars to pretty permalinks

I am creating a wordpress plugin where i have some custom query strings appended with the urls to achieve the desired functionality.I require pretty permalinks like post name in the wordress settings. ...
0
votes
0answers
27 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
30 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
34 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
1answer
27 views

Permalink problem ( Blog posts vs custom post types)

I have add /blog/%postname% permalink option for blog posts. Sample blog post : domain.com/blog/post-name/ I have custom post type called product. Now it permalink display as follow. ...
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 ...
1
vote
1answer
61 views

How to make draft posts or posts in review accessible via full url / slug?

I am running a website with WordPress 4.2 and have changed the way draft posts or posts in review status are displayed to non logged in users (these posts are, too, visible to anyone who visits the ...
0
votes
0answers
33 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
32 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
10 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: ...
0
votes
1answer
113 views

On IIS, stop Wordpress from resaving my web.config file when I enter the Permalinks config page

I have a Wordpress website installed in IIS and it is working fine. On a subfolder I have and ASP.NET application which also works allright. Wordpress URL rewriting causes a series of problems on the ...
0
votes
0answers
18 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 ...
0
votes
1answer
25 views

Media items hogging pretty permalinks

I have a WordPress installation setup but I'm having trouble with items uploaded to the media library taking up pretty permalinks. The only way to fix it that I've figured out so far is to delete the ...
0
votes
0answers
29 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. ...
0
votes
0answers
43 views

Same slug for custom post type archive and custom taxonomy archive?

"Recipes" is a custom post type and "breakfast" is a term of the custom taxonomy "recipe-category". I want to achieve this: www.mysite.com/recipes/my-tasty-recipe = a single post (recipe) ...