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

custom post type and custom taxonomy url conflict

I have custom post type called paintings and it has a custom taxonomy called paintings_category. Currently I have this situation: example.com/paintings/ A page using page-paintings.php ...
3
votes
2answers
1k views

Change author permalink

The original urls for users look like /author/login/ Is it possible to replace login by user's id? In my dream urls should become to /users/34/ (34 is user id). Thanks.
1
vote
1answer
404 views

Wordpress 3.1 .htaccess contents keep dissappearing?

I have Wordpress 3.1 installed in a subdirectory of a shared hosting account, it's a linux server and mod_rewrite is enabled and working fine elsewhere. The contents of the .htaccess file disappear ...
0
votes
1answer
502 views

Posts picking up old Permalinks, how to reset?

I've come across a small bug with my yoast breadcrumbs. I've rebuilding a site and have imported some old posts and content and have come across a problem where yoast things the permalinks are still ...
0
votes
1answer
916 views

Changing permalinks back to default ( ?p=123 )

I have a site with about 900 pages that I was using custom permalinks /%year%/%monthnum%/%postname%/ for. I have a custom nav menu with tons of items in it. This combination seems to be simply too ...
0
votes
3answers
204 views

Changing permalink of WordPress

I am pretty new to this and hence facing a bit of a problem. Currently I am designing a website on my localhost using WordPress. I noticed that the permalink structure wasn't very appealing in the ...
2
votes
1answer
730 views

Nice RSS Feed URLs for each custom post type

By default WP seems to display all posts of all types in the main RSS feed. You have to add a post_type query variable to show post of a certain type... So how can I turn this: ...
0
votes
1answer
479 views

Can't get permalinks working!

I can't get WordPress pretty permalinks to work on my Fedora LAMP server. If I set them and click a page/post link I'll get a ""Oops! This link appears to be broken." The .htaccess file is writable ...
1
vote
2answers
2k views

URL rewrite based on a custom field value

I'm working on a migration from another CMS to WordPress. The old site had terrible SEO-unfriendly URLs in the format http://example.com?lid=1234. We have imported all the posts from the old site ...
3
votes
1answer
289 views

Custom Permalink: /year/month/post-goes-here/?

I'm experimenting with adjusting permalinks (for purely educational experimentation). What would I need to place in the "Custom Permalink" option to get my post URLs in the form... ...
2
votes
1answer
596 views

Custom rewrite rules for a $_GET request

Assuming I have this URL: http://site.com/?get=something How can I change it to a nice URL that looks like: http://site.com/get_something using WP's URL rewriting system?
0
votes
2answers
1k views

Problems redirecting to “pretty” permalinks (wordpress in Subdirectory)

I've got problems getting pretty permalinks to work. When changing the permalinks (e.g. to month/name), my .htaccess (in the wordpress directory - there is another one one level up) is changed like ...
2
votes
4answers
2k views

Is there a user-facing interface to edit an attachment's permalink?

If you use the [gallery] tag at all you know that permalinks for image attachments end up like blog.com/2011/03/18/post-permalink/attachment-permalink. The URL extension from the post permalink ...
1
vote
1answer
398 views

Multi-site: removing /blog from posts

I'm deploying a multi-site network, using subfolders. I've found on the main site the permalinks for news posts can only be placed like so: /blog/%year%/%monthnum%/%postname%/ I understand that ...
1
vote
1answer
192 views

Editing URL character replacement

Whereabouts can I edit which characters in permalinks are replaced? For example apostrophe's are replaced with nothing, and I would like to have them replaced with hyphens instead. Thanks.
2
votes
1answer
635 views

Custom Post Type: Get most recent permalink

Stupid question, I bet: I'm doing a website for an artist where I have a custom post type of "Painting". How do I get the permalink of the one added most recently?
1
vote
2answers
597 views

Multiple taxonomies on same permalink rule [closed]

I have a few taxonomies and it would be nice to be able to sort by two at time with a permalink. For example, I have two taxonomies, design-show-year and designer-or-firm. I'd like to have this ...
0
votes
6answers
3k views

How do I change the permalink structure without getting 404s?

after updating the permalinks from the default /?p=N to another setting (e.g. /%year%/%monthnum%/%postname%/) all my old links are broken and also the archive, catgories etc. side bars get 404 errors. ...
1
vote
1answer
299 views

Wordpress slugs and 404 handling takes preference over folders in site root?

I have wordpress installed and permalink structure set to /%postname%/ In addition to WordPress folders, I also have a public_html/beta folder where I wanted to copy the same site and test some ...
3
votes
2answers
668 views

Nice URLs for a Custom Post Type List with a Shared Custom Taxonomy?

(Moderator's note: Title was "Convert into nice URL a shared custom taxonomy URL with a query string value") I have a custom taxonomy template: taxonomy-country.php used by two (2) Custom Post Types: ...
0
votes
1answer
310 views

WP 3.1 custom post type permlinks

I know there is alot of discussion about the CPT and permlinks together with the 404. I did not found a solution though I am close. It would be great if someone could assist me to get it working. Ok ...
0
votes
0answers
149 views

LOCAL server not installing wordpress

As you noticed I’m new at WP. Right now I’m working on my local server with a WP template (Using WAMP server) Am I going to have an issue with Permalink Settings when I upload the files or transfer ...
0
votes
1answer
550 views

Page and post auto links

I dont know how to call it, but can I switch off auto linking in Wordpress? I am creating my 3. theme for client, but I have not manage this problem. For example, if I create a page or post, ...
2
votes
1answer
2k views

Custom post type permalinks breaking due to 3.1 bug fix

So I just updated a site to 3.1 that uses several custom post types. When I had made the site I had not noticed at the time the $post_type parameter for register_post_type has to be in all lowercase ...
0
votes
1answer
810 views

How do I rewrite attachment urls when permalink structure contains %category%?

I'm trying to change the permalinks to my attachments in the same way as this question, and the given solution works great except for one problem: if the permalinks settings on my site contain ...
0
votes
2answers
224 views

getting a 404 page for all pages except home. possibly permalinks

I can switch to default and everything works, but once permalinks is set i get the 404. The thing is I've been using permalinks for years without problems. I can't find what went wrong as I had not ...
0
votes
2answers
168 views

Possible to make a subdirectory that loops through a single category?

I'm trying to separate the main part of my blog (the informational portion) from more commercial parts. WHen you load my homepage, I purposely exclude a category because I don't want my normal ...
0
votes
1answer
603 views

Can not manually change the permalink of a post in the EDIT secion

I have my site using a custom permalink structure, specifically category/post. Recently I noticed, once in the actual edit page interface I was unable to use the "EDIT" feature for the permalinks ...
1
vote
3answers
2k views

Permalinks in Custom Post types

Is it possible for a custom post type to have a permalink as domain.com/custom-slug/ instead of domain.com/custom/custom-slug/? I can't seem to achieve it. rewrite argument while registering it ...
0
votes
2answers
104 views

permalinks on title tag

Is it possible to have my custom permalink structure on title tag of my blog? my current permalink structure is this /%postname%/%location%/%mba_courses%/ where my location and mba_courses are custom ...
2
votes
1answer
599 views

WordPress 3.1 not compatible with jQuery Mobile?

I recently updated to WordPress 3.1, and with that update, something very interesting happened. Links became unclickable -- clicking on any link would literally result in nothing happening. ...
0
votes
1answer
123 views

Moving blog and maintaining current permalinks

I currently have a blog at http://thinkfuture.com/cfs . Its running WP 3.1 on IIS on a dedicated Windows 2003 server. I have the domain freedombunker.com redirecting to the blog at that URL. ...
0
votes
2answers
842 views

Wordpress 3.1 problem, getting 404

Today morning I updated my wordpress, everything was fine, but suddenly I came to know that if I click on any post which is not having custom taxonomies selected in it, are giving me 404 pages. I ...
0
votes
1answer
355 views

All pages load the home page if pretty permalinks are used

I'm trying to help a buddy out -- his site, on a fresh WordPress install, is behaving oddly. With default permalinks set, everything works, but with pretty permalinks set up, all of the pages on the ...
0
votes
1answer
299 views

help intercepting save_post through plugin

I use stackoverflow very often and just found out in google about this one, Nice :D Well, i want to save my every post i write from wordpress to my 3rd (OEXChangeble) website aswell at the same time, ...
0
votes
1answer
159 views

How to change my URL on intranet

I have a WordPress blog installed on my machine. I got a strange requirement from my team but I don't know how I should implement it: blog pages should be segregated under "blog/" or a similar ...
4
votes
7answers
12k views

How to use relative links on my pages?

In my web pages I want to use relative links instead of absolute links. However, pages do not allow php code inside them, so i cannot do to from a url in a relative manner. How does one get ...
0
votes
1answer
1k views

How to get the post id from a permalink?

How can I get the post id from a permalink like "http://localhost/wordpress/animals/cat" in functions.php, I have tried url_to_postid() and get_page_by_path() but none seem to work.
0
votes
1answer
956 views

Pretty paged permalinks in custom post type loop

I must be annoying your with all these permalink questions :) The code I'm using for the loop is: // hijack stupid WP globals to get pagination working... global $wp_query; $temp = $wp_query; ...
2
votes
1answer
1k views

Get a permalink structure of /%posttype%/%category%/%postname%

I have a custom post type named Reportage, added in functions.php: add_action( 'init', 'create_post_type' ); function create_post_type() { register_post_type( 'reportage', array( ...
1
vote
1answer
764 views

Custom post type permalinks giving 404s

I'm having trouble setting up permalinks for a custom post type. Below is the code from my init function: register_post_type('topic', array( ... 'hierarchical' => true, 'query_var' ...
11
votes
8answers
7k views

Remove taxonomy slug from a custom hierarchical taxonomy permalink

I created a 'forum' taxonomy, using these rules: register_taxonomy( 'forum', array('topic'), array( 'public' => true, 'name' => _a('Forums'), 'singular_name' => ...
0
votes
2answers
792 views

Permalink opens attachment instead of page

I recently moved a blog from one host to another and now have a problem with a permalink - rather than opening up a page, it now opens an attachment. The blog is using WP 3.0.4, running on PHP 5 and ...
1
vote
1answer
960 views

Permalinks not working using wordPress Networking with custom post types

Hay All, I've setup a WordPress network and have a couple of websites. Within these 'sub-websites' have a created a new custom post type called 'courses'. When i create a new 'course' a sample ...
1
vote
1answer
502 views

htaccess or redirect to cloak portion of a link?

I have an ad rotate plugin installed to display a few ads on my site but the plugin is coded so that it uses the full directory in the ad count link. I would like to know if there's something easy to ...
1
vote
3answers
847 views

Why does WordPress 3.0.4 keep deleting the contents of the .htaccess file?

I just installed WordPress 3.0.4 on a GoDaddy hosted server. And I've been having a problem with my .htaccess file. For some reason, WordPress automatically erases all the mod_rewrite configuration ...
0
votes
2answers
4k views

Strange behavior with a redirect loop - involves WPML multi-language plugin

I have a (client) site located at http://internationalgateway.us/. We are using the WPML Multilingual CMS plugin. When choosing another language from the homepage (in this case French, since that's ...
0
votes
1answer
49 views

How to set a page as homepage in stead of the newspages?

I need some help. I want the same as on this site: http://www.123ipad.nl/ (this is my website) When you go to the home url you come to a page in stead of the newspage. The newspages are in the submap ...
0
votes
2answers
3k views

How to change permalinks to show categoryname/post-name?

I've placed the string below into my custom permalinks input but it does not appear to have any effect... /%category%/%postname%/ I'm trying to insure that my post links are in the form of ...
0
votes
1answer
263 views

If I remove Category base from my URLs, how difficult will rollback be?

The last time I asked a question that required an opinion response, I was awarded the dubious tumbleweed badge. I'm fearful of adding to my collection, but here goes :) I'm considering writing an ...