Keep permalinks in WordPress

The simple way is to not use the page ID in your permalink. In my WordPress settings, I can set it to take the title of the page as the permalink. In my example below, I use “Post name”.

Is there a way to show attachment IDs on the attachment info screen?

You could hook into ‘attachment_fields_to_edit’ and just add a row: <?php # -*- coding: utf-8 -*- /** * Plugin Name: T5 Show Attachment ID * Version: 2012.06.04 * Author: Thomas Scholz <[email protected]> * Author URI: http://toscho.de * License: MIT * License URI: http://www.opensource.org/licenses/mit-license.php */ if ( ! function_exists( ‘t5_show_attachment_id’ ) ) { add_filter( ‘attachment_fields_to_edit’, ‘t5_show_attachment_id’, … Read more

Category URL Management

You could filter ‘term_link’. just an untested idea, written directly into the answer field add_filter( ‘term_link’, ‘wpse_55476_categore_ur_filter’, 10, 3 ); function wpse_55476_categore_ur_filter( $termlink, $term, $taxonomy ) { if ( ‘category’ !== $taxonomy ) { return $termlink; } // separate the URL $parts = explode( “https://wordpress.stackexchange.com/”, $termlink ); // get the term $term_slug = array_pop( $parts … Read more