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)

3
votes
1answer
1k views

How can I set up a category “overview” page?

I know I can use the Template Hierarchy to set up custom theme pages for terms inside a category, like these: mysite.com/category/tech/ // category-tech.php mysite.com/category/blog/ ...
0
votes
3answers
338 views

How do I get thumbnail generator to recognize the_permalink tag?

Help! I am trying to create a Digg-clone by integrating "BM Shots" (a webpage thumbnail generator) with "Recommended Links" (a social voting plug-in for Wordpress). Recommended Links allows for user ...
0
votes
2answers
59 views

Why do I have “category” in my permalinks?

I added two category pages to a site I am working on and I found out the permalink in the url is wrong. I set the permalink as /%category%/%postname% and I created two categories "News" and "Offers" ...
1
vote
2answers
2k views

Automaticly add slug to posts

I'm using a us/news/%postname%/ structure for my permalinks. This works great for regular posts. However, I have a few different custom post types, and I don't want the us/news part in their slug. ...
0
votes
1answer
495 views

Post custom permalink results in 404 for archive page

I have set the following custom permalink structure (for my blog): /news/%postname% When I browse to /news I was expecting for the archive.php template to be served up, unfortunately, I'm presented ...
0
votes
1answer
359 views

Is get_permalink also the canonical URL?

The question says it all. Does permalink equal canonical URL? Or is there another way to get the canonical URL?
6
votes
1answer
1k views

Permalink not working for page without title

I am testing a Wordpress theme using the Wordpress Theme Unit Test test data. One of the test posts has no title. Wordpress generates a permalink of the form: <my-site>/posts/14/ (my ...
0
votes
1answer
181 views

Hide the word 'category' from my permalinks

How can I hide the word 'category' from my permalinks? Regards.
4
votes
2answers
9k views

How to get permalink and title from post ID?

I have stored an array of post IDs and I would like to list the posts as links, meaning I need to get the title and permalink for the post ID - $id. The list should be echoed out by the following if ...
0
votes
1answer
188 views

Plugin for TinyMCE to create reference to other posts

Is there any plugin that would allow me to easily insert reference to another post for TinyMCE? I want to be able to reference another post by permalink and the link text to be the title of the post. ...
1
vote
1answer
151 views

Making permalinks to /%postname%/ by default in installation

I am making a custom wordpress distribution I will use for my own sites including my language and a child theme. But, I want the permalinks to be /%postname%/ by default so that I don't need to change ...
4
votes
1answer
2k views

Passing variables through permalink structure

I have a WordPress page which is accessible via /accommodation/. What I want to be able to do is pass in a parameter using the URL - ie going to /accommodation/value1/ would load the same page as ...
2
votes
3answers
386 views

Must permalinks always point to single post pages?

Suppose that I have a blog with few posts per month, and no comments, and I don't want to show posts in single post pages, but always "in context" (say, together with the posts in its month - or ...
0
votes
2answers
1k views

Multiple sites with pretty permalinks with nginx

I'm trying to set up a new local development server and instead of Apache I've decided to go with nginx. What I'd like to do is have each WordPress site live within its own directory inside ...
2
votes
1answer
4k views

Custom post type permalink endpoint

I have a custom post type called "destinations" and I have set the EP mask for the post type to default EP_PERMALINK. I have added a couple of endpoints as follows : add_filter( 'query_vars', ...
4
votes
5answers
4k views

Remove slug in taxonomy url

Just wondering, how can remove slugs from some URLS. I'm using a custom post type called exhibitors, and some taxonomies to define those exhibitors (eg: featured-guests, publishers etc.): Right now ...
0
votes
1answer
107 views

Stop Attachment image names from taking top level permalink

I don't know why but images uploaded to my site in posts are getting a top level permalink. So if I upload an image into a post called "Apple" then it gets an attachment page at mysite.com/apple and ...
1
vote
1answer
156 views

menu link to custom post_type?

is there a way to add a custom post_type (directors) link to a menu? I can add the individual director posts but not the link to all of them. I'd like to avoid using custom links as this will be ...
0
votes
1answer
56 views

Wordpress switch servers

So I switched servers from localhost:8080 to a domain, now I followed the instructions by updating the config, and updating the permalinks and everything. Even updated the database. I can go into my ...
0
votes
1answer
45 views

Word Press Permalink Change

I had the following permalink structure in my WordPress blog: /%category%/%post-name%/ I changed it to: /%post-name%/ Everything is fine as I am using the permalink finder plugin, which ...
1
vote
3answers
3k views

Group Posts by First Letter of Title

I am working on a website that is using posts as a way to manage glossary articles similar to the example website below. I would like to find a way to display articles alphabetically and grouped by a ...
0
votes
3answers
878 views

hiding permalink in admin if the user is subscriber

I don't want to show the permalink if the user is subscriber. Can anyone help me to achieve that? PS: I'm talking about the permalink which appears below title while creating new post. PPS: I ...
3
votes
2answers
993 views

How to get the clean permalink in a draft?

When I use the_permalink or get_the_permalink in a draft or scheduled post, the URL provided is not the "final" permalink—it is the unpretty ?p=xxxxx version. How can I get the final, "clean" ...
0
votes
1answer
1k views

WP-e-commerce (getshopped) - Annoying permalink issue [closed]

i’m using wp-ecommerce (getshopped) and WPML on a website, all pages display correctly when i use the default (/ugly…) permalink structure, but when i try to use the much desired permalink structure ...
3
votes
2answers
9k views

Using $_GET variables in the URL?

I need to generate a simple error message on a page by passing a variable through the URL. The URL is structured as follows: http://site.com/parent-category/category/?error=pause I'm sure it's the ...
3
votes
1answer
418 views

Permalinks all messed up, I am helpless [closed]

Today I tried to make the Permalinks of my Wordpress site more SEO friendly. I got it working for all links, except the ones linking to a custom post type page. I Googled the problem and found out ...
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
70 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
275 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
388 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
218 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
616 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
443 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
966 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 ...
24
votes
2answers
26k 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
525 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
725 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
172 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
90 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
352 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 ...