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

custom permalinks do not work: page not found

I am developing my website in local with wamp server and wordpress i am using a w7 OS and running wamp server with apache and my sql. I have a problem with permalinks. So far, i developed the pages ...
0
votes
0answers
37 views

Get full control over custom post type url

The situation I have a custom post type, lets call it 'CP', which has two parent categories named 'companies' and 'category'. Posts of type CP can only have one company and multiple categories. So, ...
0
votes
0answers
28 views

Content Section Custom Anchor Not Working

I purchase WP theme (Techwise) and I found an issue with content menu sidebar in post page. that content not working as same (toc) Table of Content. it's not working with Arabic letters but working ...
0
votes
0answers
39 views

Upgrade to WP 4.2 Wiped Out Permalinks

OK. This is very sad. The permalinks on my site have been messed up ever since upgrading to WordPress 4.2. This is not a question about how to set permalinks - per se. This is a problem that needs ...
0
votes
0answers
29 views

Get custom pretty-permalinks working with 3rd party API querystrings?

Edited to remove any reference to 3rd party API stuff: I have /%category%/%title%/ as my permalink structure. I have a page which uses a couple of querystring variables: ...
0
votes
0answers
16 views

Subpages 404 after every update to wordpress

There seems to be a delay but every time after updating wordpress whether manual or automatic updates, sub pages break and the only way to fix it is by resaving the permalinks. This is annoying and ...
0
votes
0answers
11 views

Virtual parent in hierarchy for certain categories

I have a website where some posts go into the 'News' category and all the others are dispersed throughout other categories. There's a 'Blog' page set up under Settings>Reading which uses a customised ...
0
votes
0answers
22 views

Include gallery in attachment permalink

I need a fix for my gallery attachments on WordPress. Now when adding a gallery the permalinks are something like that : mydomain/the_post_name/image_file_name/ But I want to do something like ...
0
votes
0answers
25 views

How to create a subpage for posts?

If you check btemplates.com you can see that they are showing the preview of their templates at a page which has a permalink like; /posturl/demo... How can we achieve this?
0
votes
0answers
12 views

Can I set a permalink that filters by three categories and a tag, and will be recognised for caching?

I run http://www.oldies.org.uk, a charity website for rehoming elderly dogs. It's been running on Wordpress since 2005 and has only recently begun using permalinks instead of the default query string ...
0
votes
0answers
34 views

%author% permalink for woocommerce

I have a multi-vendor website. I need to have the products permalinks set to, something like this: /author/product or /vendor/product Wordpress already has inbuilt code for /%author%/ but sadly this ...
0
votes
0answers
18 views

Custom post type with custom permalink

when i create new post with my custom post type 'censorsheep' i get link like /censorsheep/[title] I want replace [title] with post id, i try use this code function censorsheep_rewrite() { ...
0
votes
0answers
19 views

Permalink Structure /post/post_id/anything-goes-here

I'm trying to setup a permalink structure like so example.com/post/post_id/any-text-here. Which is kinda similar to how StackOverflow's permalinks to questions work. If the last part is changed it ...
0
votes
0answers
15 views

Blogger to WordPress Permalink Issue

I moved a blog using the WP Beginner tutorial and it worked great with the exception of 6 of the most recent posts. I narrowed this down to 6 manual posts that were created after the import using the ...
0
votes
0answers
28 views

Custom Permalink Post with meta value

I would like to use two metabox values in order to build the permalinks for all posts (standard post type of wordpress). But after rewriting the permalink, it links to a page that contains a part of ...
0
votes
0answers
20 views

Is it possible to have public posts in a non-public custom post type?

I'm working on a theme that incorporates a cpt to manage the various team members of an organization. The team gets displayed on page with an image, name, function etc., in addition specific people ...
0
votes
0answers
73 views

Custom post type permalink throws a 404 error

I am new to WordPress and trying to build a social networking site that has Buddypress installed and one CPT. This website has a custom post type for user blogs, this CPT has posts that are linked to ...
0
votes
0answers
28 views

How to alter permalinks with sub-domain url structure?

I have created a Wordpress install on a sub-domain of my server. So for example my url is www.myUrl.com and I created a subdomain that is essentially www.myUrl.com/sub. I installed Wordpress on ...
0
votes
0answers
27 views

Best way to remove slug from custom type?

I need to remove a certain slug from a custom type item in Wordpress. Just now my URLs are like this: http://example.com/item/random and I want them like this: http://example.com/random I have ...
0
votes
0answers
26 views

Get link to another taxonomy from a taxonomy list

I'm currently working on a site for an artists directory. I have two custom taxonomies; Artists and Artist Genre which will be tied into a custom post type of artwork. I can get a loop to list out ...
0
votes
0answers
44 views

Category specific year archive list with desired URL

I am trying to make category specific year archive list. I tried wp_get_archives() with type=yearly arg in which I got year lists with links. 2015 2014 ... and its link looked like this... ...
0
votes
0answers
41 views

Custom post type permalink structure without post name

I have a CPT that is called city , in my permalink options panel i've set the permalink structure to /archives/%post_id% notice that there is no slug for post name. but the permalink for the city post ...
0
votes
0answers
23 views

Why is the_permalink only echoing the base category?

0 down vote favorite I am running the following code on Wordpress: <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <li><?php the_permalink() ?>,<?php the_ID() ...
0
votes
0answers
37 views

Need help understanding a rewrite with multi-level taxonomy

I am trying hard to learn how to do rewrites. Not having really any understanding of regex is obviously not a good start. I have a cpt books and a taxonomy book-publishers-series. I have written the ...
0
votes
0answers
283 views

removing index.php IIS 7.5 webconfig

I would like to remove index.php from my permalink. I am using Codeigniter website. I have passed the requirements to use pretty permalink: -PHP Version 5.4.27 Codeigniter -IIS 7.5 -URL Rewrite 2.0 ...
0
votes
0answers
53 views

How can I add a “fake” parent into the permalink?

I have a custom post type of books and a taxonomy of book-publishers-series. I am trying to do a rewrite so that my urls look like: ...
0
votes
0answers
64 views

Permalink Rewrite with Archive - Archive gets 404

I have a custom post type, "toys", with a custom taxonomy, "toy_series". I wanted to get the custom taxonomy in the permalink: domain/toys/toy_series/toy-name I got that working just fine by ...
0
votes
0answers
65 views

Redirect/Route every broken link to 404 page

I have a wordpress site. It was transferred from another CMS now. And WP doesn't want to route non existent links to 404 page. For example, http://betall.ru/aisi-316-analog/234524/ routing to ...
0
votes
0answers
57 views

WP Admin Bar not showing with custom permalink structure for pages

I'm getting a weird behavior from the wp admin bar when logged in. Let me explain. My project has a custom permalink structure with a string before the post name (like custom-string/%postname%/) set ...
0
votes
0answers
24 views

Custom Post Type with /%shop_name%/gallery/%gallery% permastruct?

I have created a custom user meta = shop_name in User Profile and custom post type gallery I want my permalink to be in form of /%shop_name%/gallery/%gallery%. Every user has a custom user_meta = ...
0
votes
0answers
45 views

WordPress Permalink Problem

I have a blog with 3,000 post permalink using the "% postname%" now I want to change it and make it into html "% postname% .html". Everything works except for the old link on facebook and in the ...
0
votes
0answers
35 views

Prepend Taxonomy slug to post

How do I add a custom a taxonomy slug to posts like abc.com/bangalore/post-name-title and incases where I don't have a taxonomy (say 'city'), I want this to be abc.com/post-name-title ? My ...
0
votes
0answers
60 views

404 Page not found error - what messed up the permalinks?

Today I encountered an interesting problem on one of my WP blogs. Everything was working fine, until URL broke. The main page was loading correctly, as well as the admin dashboard. The problem was ...
0
votes
0answers
121 views

Uppercase vs. Lowercase page slugs

We are migrating a site to WordPress from another platform. An issue came up with the URLs--some are uppercase, some lowercase. I allowed uppercase using this solution: How can I make Capital letter ( ...
0
votes
0answers
22 views

Redirect imported blog posts using my permalinks settings

I have imported all of my blog posts from a different CMS to a local WordPress setup to test things out before going live. Here is the layout of the posts from the old CMS: <PublishingArticles> ...
0
votes
0answers
30 views

Is it possible to output breadcrumbs with a custom esc_url( the_permalink() );?

Specifically when listing search results on a page, I would like to output esc_url( the_permalink() ); as: Breadcrumbs > linking > to > page I've seen lots of articles, plugins etc referencing the ...
0
votes
0answers
52 views

2 loops with pagination on a single loop

On a page I want to always show the most recent post on top with a different layout, and have the rest of the posts listed below. So I created a template page with these 2 loops. But I cannot figure ...
0
votes
0answers
24 views

Permalinks for categories…making sure that you get the right link in a Category Archive

I recently completely a site with a lot of categories and sub-categories. And in many cases, a post might go in multiple categories. Of course, I know how to do that by simply checking off multiple ...
0
votes
0answers
38 views

Permalink not working

The address of my WordPress site is something like: http://mycompany.com/personnel/myname. The installation folder is: /www/personnel/myname. When I change Permalink to Post name, it requires me to ...
0
votes
0answers
39 views

Redirect a permalink date structure change

Our site had a structure http://www.example.com/category/year/month/article-title which we changed to http://www.example.com/category/year/month/day/article-title (i.e. we added the "day" to the ...
0
votes
0answers
16 views

Converting WP Page to use full explicit paths?

I'm integrating a 3rd party product db/search feature into an existing/live Wordpress website using the vendor's Remote HTML Framing Code template. They are asking me to "convert all paths to full" ...
0
votes
0answers
33 views

Permalinks problem: Error 404

I have a problem with my Wordpress Permalinks. Except the first page, when I click a link, I always get the error 404 Object not found. I mention that i have mod_rewrite in Apache set to true. ...
0
votes
0answers
393 views

Getting a 500 internal server error ONLY on wp-admin/options-permalink.php

I have access to the admin panel, and everything works fine. I can click settings->reading and change anything I want to. But if I click settings->permalinks I get a 500 internal server error. Here's ...
0
votes
0answers
150 views

Error 404, pagination in custom query for permalink category/postname

I have trouble using custom query to paging my category posts. here's the situation. I set my permalink as %category%/%postname%, I am using very standard function paginate_links( $args ) $args = ...
0
votes
0answers
46 views

Pretty permalinks with multiple taxonomy queries

I'm using a plugin called Query Multiple Taxonomies and I can't seem to get pretty permalinks to work on those pages. The URL structure is: ...
0
votes
0answers
18 views

Adding a variable to a permalink

<a href="<?php echo esc_url( home_url( '/' ) ); ?>team-names/" . $term->slug; "?>""> How would I correctly add $term->term_id to a permalink? (it outputs a slug)
0
votes
0answers
74 views

How to change existing image links to go to Attachment Pages?

Currently, all the images on the posts are linked to their parent post pages so that when you click on an image, it'll try to to go to the parent post page. But due to a recent Permalinks change, it ...
0
votes
0answers
15 views

Changing website permalinks leading to search bug?

I have a WordPress 3.3.1 blog, and I'm using the Yoast SEO plugin (if that helps). I went to /wp-admin/options-permalink.php to change the post's URL to be friendly. It worked perfectly but, when I ...
0
votes
0answers
44 views

404 error on sub-categories

My website is setup as Static Home Page Then posts as Category/Sub-category/Post Some posts are simply Category/Post When you click on some categories it comes up fine e.g ...
0
votes
0answers
72 views

Combining multiple query arguments into single query_var for permalinks

how Is it possible to combine multiple query arguments into a single query_var to be referenced in the permalink? For example, using the Posts 2 Posts plugin, it takes three query_vars to filter a ...