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
2answers
306 views

Changed permalink structure of CPT - should I redirect?

Following this answer, I recently changed the permalink structure of a custom post type called 'Literature' to include the taxonomy term: Old structure: mysite.com/literature/books/post_name New ...
2
votes
1answer
69 views

What Defines What Category A Post Picks (if in multiple)

If I have a post in multiple categories, what defines what category shows up in the URL? Assuming I have permalinks setup as /%category%/%postname% is it the ID or the name?
1
vote
2answers
108 views

How to show only blog-domain instead of the whole permalink in the loop

I wanna show the blog URL instead of the whole post URL in my loop. The reason is that I use Wordpress multiblog with sitewide tags, so on my front-page of the main blog I'm showing the 10 last ...
0
votes
1answer
273 views

How to include first assigned category in the post URL?

What are the options for creating URLs like: site.com/category-name/post-name Where, "category-name" is the first category that the post was assigned to (in the event that the post is assigned to ...
2
votes
2answers
2k views

Why does a custom post type need the ''hierarchical' args setting?

I'm struggling with understanding some things about CPTs and and could do with some help. I can see that taxonomies often need to be hierarchical, but can't see how/when a custom post type would be? ...
0
votes
1answer
1k views

Problems with Wordpress in subfolder, posts show a blank page

I have wordpress installed in a subfolder and using permalinks but I'm getting a blank page when I try to access to any post. This is what I have in the root folder .htaccess: RewriteEngine On ...
0
votes
1answer
382 views

Change permalink in wp-property

I have set default property page so in the property url it shows /lima-investments/property-name. But I want to remove /lima-investments from the url. I want to change following url ...
0
votes
2answers
216 views

Lists Top Authors by Most Recent Posts

I'm trying to display a table format of the top authors listed by the most recent posts. It should display the author, its avatar, the date, and the title of the post (with a link). I have it ...
0
votes
1answer
606 views

Echo Permalink in Attachment outside of loop?

I have some code showing an image attached to a post, an image in a li list, works fine shows the image as its should. I need the image to link through its main single post though and have tried the ...
7
votes
1answer
3k views

Shouldn't this be easy?! Custom post type/custom taxonomy permalink

So this is driving me absolutely insane. I've spend days trying to fix this and I can't work out why this is so difficult as surely this is a very common permalink structure! I looked through ...
5
votes
3answers
436 views

Prevent Wordpress from abbreviating-long-slugs…-in-the-admin

On post edit pages, when a slug exceeds a certain number of characters, Wordpress abridges it with an ellipsis (...). For example, if my slug is i-want-to-be-able-to-see-this-slug, it appears on the ...
0
votes
5answers
956 views

Stop Images Linking to Themselves?

I have images on my website which I do not really want stolen, I have a no right click plugin which will help, and I would like to stop people clicking on the image to display it on it's own in a ...
3
votes
0answers
63 views

Add /demo/ slug with rewrite rule [duplicate]

Possible Duplicate: Add extra parameters after permalink? I need to add a slug to every post. Current permalinks http://www.my-domain.com/2012/01/01/my-post-title/ or ...
1
vote
1answer
248 views

Can I create permalinks like this: /%post_type%/%postname%/

I've been learning about custom post types from Morten Rand-Hendriksen's great tutorial on making a WordPress portfolio theme on lynda.com. He demos how to set up a custom taxonomy for "recipes" and ...
0
votes
1answer
2k views

Custom permalink with child taxonomy terms

This may ressemble other questions, but i'm posting my own as I couldn't find a conclusive answer that worked for me. What you need to know I have a custom post type (products), with a custom ...
23
votes
2answers
25k views

How to create a permalink structure with custom taxonomies and custom post types like base-name/parent-tax/child-tax/custom-post-type-name

I've been combing this site and google for the answer and I've come up completely empty. Basically I want to do exactly what this post asks, but I need a hierarchical taxonomy. The answer given in ...
0
votes
1answer
104 views

mod-rewrite rules grabs “broken permalinks”, too

This is the automatically generated htaccess file of WP using permalinks for the pattern /%year%/%postname%/ (working with http://localhost/BLOG-FOLDER/ yet): <IfModule mod_rewrite.c> ...
5
votes
2answers
511 views

Archive permalinks

This site has been very helpful for me in learning how to rewrite permalinks using add_filters to solve issues we were having when we merged two blogs into one. But, I do have one item I have been ...
5
votes
3answers
714 views

Taxonomy term in permalink

I have a big problem. I have been banging my head on this all day long. It seems to be a stupid easy question. Possibly also with a stupid easy answer. But I can't seem to find it. What I want is ...
1
vote
1answer
170 views

conditional statement for active permalinks

I'm looking for a way to create an if...else statement hinging on whether pretty permalinks are active or not. So I need something which returns true when permalinks are changed from the default. if ...
1
vote
1answer
29 views

Confusing about permalink

I'm nubie in WP and I have some problems but the annoying for me is the default permalink. When tried to visit my site from top of the dashboard link, it says "mydomain.com/home" instead mydomain.com. ...
0
votes
1answer
1k views

Custom JSON feed rewrite

I'm trying to implement a feed of information from an Event custom post type in JSON format, to be used in a FullCalendar implementation, pretty much as described here. The one thing I wanted to ...
0
votes
1answer
89 views

How do I hide posts in a category from all listings but still allow the posts to be viewed?

Let's say I have a category named "Hidden". I'd like to prevent all posts in "Hidden" from appearing within The Loop on the main blog listing page. Also, I'd like to prevent those posts from ...
1
vote
1answer
351 views

Do the permalink settings apply to pages as well as posts?

I want to have all my blog posts have the structure http://mysite/blog/blogarticle1 but I want the pages to have the structure http://mysite/page1 (no "blog" in there). I see how to include "blog" in ...
0
votes
1answer
686 views

Change permalink for custom post type?

I have a page called Food which displays posts from 2 custom post types - Recipes and Restaurants. How do I add 'food' to the permalink just for those two custom post types? - e.g. ...
1
vote
2answers
2k views

remove permalink trailing slash

I need to use the_permalink() in order to construct a simple link from each post . the link should be like http://www.mysite.com/category/year/post-name?output=something.. I use ?output=something" ...
2
votes
2answers
3k views

Custom permalink structure only for default posts

Does anybody know how to modify the url struct only for the single post page? When I go to a post page, the url should look like: example.com/xxx/my-post. All other urls (with the exception of the ...
1
vote
1answer
357 views

Is it possible to list post attachments in a sub URL endpoint with a dedicated template?

Wordpress provides templates for displaying media attached to a post or page (attachment.php and more). They're also displayed with nice permalinks, such as: ...
9
votes
5answers
5k views

Wordpress 3.3 custom post type with /%postname%/ permastruct?

There is earlier post with similar title, but it does not look in to the WordPress 3.3, and that is important as 3.3 advertises interestingly: "Use the postname permalink structure without a ...
3
votes
1answer
3k views

“.#[random-char-string]” being inserted at end of URLs

I've seen this on a couple of sites now and I'm having trouble finding information about (probably because it's awkward to describe): All internal URLs like this for example: ...
0
votes
2answers
663 views

WordPress Multisite Permalinks on mapped domain = server 404 error

I am setting up a multiblog. In sub-blogs that mapped on a different domain, permalinks work with only "default" values. They broke if set to other valid values. My main domain name is abc.com I have ...
1
vote
1answer
318 views

filtering special chars from post slug

Is there a way to prevent WordPress from including special characters like – (long dash), ", ', etc.. from the post slugs? Basically, I'd like to run the post-slug through a filter when it is ...
0
votes
1answer
123 views

Browsing to permalink prefix results in 404

I have set my blog permalink as follows: /news/%postname% This works. Going to any post, such as /news/test, will serve the single.php as expected. I can also browse to a category such as ...
0
votes
2answers
420 views

404 Error on Custom Post Type / Custom Taxonomy

I have a registered post type with 'rewrite' set as slug=>cpt_name, with_front=>true. register_post_type( 'objection_handling', array( ...
0
votes
1answer
382 views

One Custom Post Type two different Templates

I have a custom post type with some metaboxes, for this CPT have his own single-CPT.php where I show his content and metaboxes and url domain.com/CPT. But what I need to know is if posible to create a ...
0
votes
1answer
653 views

Including two taxonomies in a permalink structure

I am trying to get my head around the permalink structures on Wordpress sites, and I'm a bit stuck with what I'm trying to achieve: My current permalink structure: /%category%/%postname%/ I have a ...
1
vote
1answer
1k views

How Do I Programmatically Force Custom Permalinks with My Theme?

I'm making a custom theme. It's a highly specialized theme to make WordPress into like an application rather than a CMS system or blog. For instance, a Dental Office Scheduling System (with CMS and ...
1
vote
1answer
681 views

How to hook custom taxonomies to custom post types and make the permalinks work?

So, I have my custom post type with the slug /news. And I want my category view to be /news/category/CATEGORYID. For that I create my custom taxonomy: add_action('init', ...
2
votes
3answers
2k views

Using only %postname%

So I see everyone's arguements against using this, but that seems like a huge flaw in Wordpress because a domain name as close to the root is crucial to a site's SEO. I want my site which has rough ...
1
vote
1answer
187 views

custom post type parsed as attachment

I have few custom post type, on the single post of which i am getting 404 error page. I think i've tried almost every solutions posted on web but still it is not working for me and i've started to ...
0
votes
1answer
208 views

Custom Permalinks for Posts only

I'm using a page as my blog archive, ie http://mysite.com/blog I'd like to list the posts under that url: http://mysite.com/blog/untitled/hello-world/ I've added Category base "blog" and now my ...
3
votes
1answer
274 views

Remove unwanted part of permalink custom structure from CPT url?

My site currently has regular posts (in a section called "Trend Watch"), as well as a Custom Taxonomy (called "Region"). My permalink settings have this Custom Structure: ...
3
votes
2answers
2k views

Must slugs be unique?

Is it true that slugs must always be unique, regardless of the rest of the url, or if it's used by different post-types or taxonomies? For example, is it possible to have both of these urls? ...
0
votes
2answers
307 views

How to remove index.php from a tag or archive page URL in the root blog?

I'm developing a Multisite where the root site is an agregator (using the mu-sitewide-tags plugin). I created a custom widget to show tags across all sites, but when I click on the tag page on the ...
-1
votes
1answer
33 views

I changed rightly the permalinks but I get empty pages in the final posts

I changed my permalinks to pretty ones(nameofcategory/nameofpost). The paths and the urls are perfectly formed, and I can see them when I go on the tittles, rolling over, but when I click, the final ...
0
votes
1answer
151 views

Getting the Posts' permalinks from XLMRPC

I'm new to WP and I must fetch pages/posts from a blog in another subdomain. I'm using ZF to do this. I've recently found out the getPages doesn't get me what I want (posts; duh!). I didn't see any ...
0
votes
2answers
151 views

WP as a CMS menu

I've converted a client website from Joomla to WordPress. However, there is one aspect of the old site I haven't been able to replicate perfectly without modifying core WordPress. The goal is to ...
0
votes
1answer
124 views

Permalinks without subdirectories

Today I use: permalink_structure: /%postname% This gives me URL like this on my pages: #http://www.mypage.com/page1 #http://www.mypage.com/page1/page2 #http://www.mypage.com/page1/page2/page3 ...
0
votes
2answers
67 views

Will permalinks work if blog is transferred to subdirectory?

How should I transfer my WordPress blog from the root of my domain to a sub-directory? If everything including root in an installment of WP 3.2.1 were moved to a sub-directory, would the default ...
0
votes
1answer
819 views

Custom post type, permalink, add query variables problem

Doing something wrong, can't figure out what..Any help is highly appreciated for sure! I have a custom post type which I want to add query vars to in permalink structure.. So far so good.... This is ...