Yesterday, I showed you that [link id="6248"]the default permalink structure always works[/link], even if you've chosen a "pretty" one. Here's an even lesser known trick: when you change your permalink structure, WordPress stores the old one and automatically redirects … [Read more...] about WordPress Hidden Gems: Old Permalink Redirects
Permalinks
WordPress Hidden Gems: the_shortlink() and the default permalink structure
There's a new function in WordPress 3.0, the_shortlink(). You can place this in your single.php theme file to print a shorter URL for the current post if your permalink structure results in something very long. If you have the WordPress.com Stats plugin installed, you'll get … [Read more...] about WordPress Hidden Gems: the_shortlink() and the default permalink structure
Easier internal links for WordPress
Last week I got into a conversation with my friend Fletcher about linking to internal pages in WordPress. To wit, it could be a lot easier. Wiki-style links would be better than nothing, but personally I hate having to remember special codes for things. Still, WordPress's … [Read more...] about Easier internal links for WordPress
Hidden feeds: categories, tags, authors, search terms, links
WordPress generates a number of other feeds in addition to those for posts and comments. There's a feed for each of your categories and tags. You can also get feeds of posts written by an individual author. You can even get feeds for search results! Since WordPress doesn't … [Read more...] about Hidden feeds: categories, tags, authors, search terms, links
Including external links in WordPress navigation menus
Sometimes you need to link to something other than a WordPress page in your navigation menu. Perhaps you've built a photo gallery in ZenPhoto. How do you get it into your menu without hand-coding all your links? The Page Links To plugin allows you to do just that. Install the … [Read more...] about Including external links in WordPress navigation menus
Removing the category base from permalinks
Search the web for ways of removing the category base from your WordPress permalinks, and you'll come up with a lot of wacky methods that don't really work. They can be quite complicated; this one requires changing two theme files and .htaccess and still produces 404 errors on … [Read more...] about Removing the category base from permalinks
Previous and Next links for pages
Ever want to let your visitors browse your pages in order? You've probably discovered that previous_posts_link and next_posts_link don't work on pages. I've written a plugin, Next Page, to solve the problem. You'll get an options screen allowing you to specify the language of … [Read more...] about Previous and Next links for pages
Why you don’t need to roll your own link shortener
Everyone wants the shortest links possible, mostly thanks to Twitter. There are a number of tutorials on creating your own link shortening service, and for WordPress sites, the Link Shortcut plugin is the most popular option. You don't need it. If your domain (including the … [Read more...] about Why you don’t need to roll your own link shortener