How do I change my permalink structure to a custom structure on an established blog?
When you change your permalink structure WordPress will automatically update the links. You should be able to change your structure without creating 301’s.
When you change your permalink structure WordPress will automatically update the links. You should be able to change your structure without creating 301’s.
You could, but I’d actually highly advise against that. In quite a few cases that will cause lots of 404 errors.
I suspect that the problem is that you’re using the default, fallback navigation menu instead of a defined, custom navigation menu. (The “Home” link you’re seeing is the default home link output by wp_page_menu().) Go to Dashboard -> Appearance -> Menus, to define and apply a custom navigation menu. By applying your static front page … Read more
I ran into this very same issue and I have a workaround. Hopefully it will be fixed in the upcoming 3.3 release as this trac ticket suggests. The workaround basically replicates the important bits of the wp-admin/options.php file where settings registered via the settings API are processed. The reason additional permalink settings do not currently … Read more
The canonical code within WordPress should actually already redirect those old posts to the new posts automatically. Have you tested that?
What I assume is happening is when you are viewing a page with pretty permalinks, your relative URL breaks: submenu.php becomes http://yourdomain.com/pagename/submenu.php Try using .ajax instead: $.ajax({ type: “GET”, url: “http://localhost/submenu.php”, data: “cat=32” }).success(function(data) { $(‘#content’).html(data); }); This behavior wouldn’t happen using the standard URI query because no URI segments are added, therefore the browser … Read more
You can’t have / as category and tags base, at least not without using a plugin like this one: http://wordpress.org/extend/plugins/fv-top-level-cats/ Doing it for both tags and categories seems almost impossible to me though.
This will probably be easier to do when the following filter lands: http://core.trac.wordpress.org/ticket/18752 Update July 16. 2012: Fixed.
Just write a function that checks if permalinks are on by checking whether get_option( ‘permalink_structure’ ) is empty or false and generates the appropriate link given the $id. Something along the lines of the get_permalink() function which either looks at the $post global or looks at the $id passed into it.
Maybe add_rewrite_rule