Articles of permalinks

Author page doesn't change after username change

This question already has an answer here: Change the Author Slug from Username to Nickname 3 answers

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 this: AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wordpress/ RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f […]

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 permalink would be However, this doesn’t link to the article in the question. Is this a normal error with wordpress? […]

stop the_permalink printing and save as variable?

Is there a way i can get the_permalink as a variable? I need to build an info window with it but it wont appear in the $infoWindow variable… <? $link = the_permalink($post->ID); // prints out into html $infoWindow = ‘<div><h2><a href=”‘.$link.'”>’.$post->post_title.'</a></h2></div>’; ?> <script type=”text/javascript”> marker = [<?=$v_latitude?>, <?=$v_longitude?>,””,'<?=$infoWindow?>’]; locations.push(marker); </script> best, Dc

Permalinks – Different structures for different categories?

Currently I use /%category%/%postname%/ as my permalink structure. However, I would like to have a different structure for different categories. This is because I have a “News” blog that I would like to have organized by date like this – /2011/10/02/. But I have other categories where I do not want a date structure at […]

Specifying multiple categories in URL (permalink)?

For example: where dell and studio are categories A few months back I heard from someone that it is not possible. I need to know why? Which part of code prevents it? Is there any workaround for this?

How to reset canonical URLs / fix redirect loop

Couldn’t find anything in the related questions, so here goes: I have a post which, when viewed on the site, is returning a redirect loop. The error page is showing an address for the post that originated when the post was added to a category that was subsequently deleted. is the correct address, but […]

wordpress wp_list_categories

i’m using wp_list_categories like so: <?php //list terms in a given taxonomy using wp_list_categories (also useful as a widget if using a PHP Code plugin) $taxonomy = ‘news_cat’; $orderby = ‘name’; $show_count = 0; // 1 for yes, 0 for no $pad_counts = 0; // 1 for yes, 0 for no $hierarchical = 1; // […]

How do I fix permalinks for custom post types that has the same slug as a page?

I know that it’s impossible to have the same custom post type slug as a page. So, I thought it might be resolved in this way: ‘rewrite’ => array(‘slug’ => ‘my-category/!#’) for register_post_type But I get “Page not found” every time I visit /my-category/!#/title-1 As you understand, I also have a page named “/my-category”. Is […]

Change post permalink to external URL from custom field

I want to let my users submit links to my website something like reddit and digg. I added a meta_key ‘syndication_permalink’ which contains link to this post. How could I change the post permalink to link this custom link not to my page?