Different permalink structure per category

By Design, there is one permalink structure for the whole wordpress site. What you try to achieve needs to introduce a custom permalink structure for a part of it. This is not trivial because you need to introduce your own permalinks via rewrites (Rewrite API (WordPress Codex)) and you need to change the links to … Read more

WordPress 3.1 not compatible with jQuery Mobile?

Just a guess, but your error message indicates that WordPress is using jQuery 1.4.4. If you look at the jQuery Mobile website, they’re using 1.5. Have you tried using wp_enqueue_script to use a jQuery 1.5? You’d want to try something like: <?php function my_init_method() { if (!is_admin()) { wp_deregister_script( ‘jquery’ ); wp_register_script( ‘jquery’, ‘http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js’); wp_enqueue_script( … Read more

How to replace “wp-content/blogs.dir” with “media” for attachment permalinks?

Actually … the blogs.dir part isn’t used except for internally. Let’s say you have a network with two sites – http://url.com and http://sub.url.com. The files will be located in (respectively): http://url.com/files/2011/06/… http://sub.url.com/files/2011/06/… The blogs.dir directory is where the images exist physically, yes, but your .htaccess file is routing the virtual directories I just listed above … Read more