archives

To return clean URIs for search results in WordPress from the search form (www.example.com/search/searchterms instead of www.example.com/?s=searchterms) First create a file called search.php which contains: <?php header(‘Location: http://www.example.com/search/’ . $_GET[‘s’]); ?> Put that file in the root of your WordPress install and alter the action for the search form to this: action=”<?php bloginfo(‘url’); ?>/search.php” See also: [wp-hackers] […]

Continue Reading  

Many users can register and participate on a WordPress blog. You can even assign them different privileges (“User Levels”), so there can be “administrators” and simple “contributors”. For more information see User Levels.

Continue Reading  

If you want to have your server display .phps files in color like this updatelinkroll.phps at carthik.net, add the following line to your .htaccess file in the server root directory. This assumes your server is Apache and that you have the ability to add types in .htaccess AddType application/x-httpd-php-source .phps

Continue Reading  

See Search Engine Optimization for WordPress.

Continue Reading  

Use the following SQL commands to change the post_status for every post in your wp_posts database table. This command will do the bulk change and exclude Pages from being changed–remember to replace STATUS with draft, private, or publish. UPDATE wp_posts SET post_status = ‘STATUS’ WHERE post_status != ‘static’; If you have multiple authors and only want […]

Continue Reading