set_tag_base example

$wp_rewrite->set_category_base( $category_base );
    }

    if ( isset( $_POST['tag_base'] ) ) {
        $tag_base = $_POST['tag_base'];

        if ( ! empty( $tag_base ) ) {
            $tag_base = $blog_prefix . preg_replace( '#/+#', '/', '/' . str_replace( '#', '', $tag_base ) );
        }

        $wp_rewrite->set_tag_base( $tag_base );
    }
}

if ( $iis7_permalinks ) {
    if ( ( ! file_exists( $home_path . 'web.config' )
        && win_is_writable( $home_path ) ) || win_is_writable( $home_path . 'web.config' )
    ) {
        $writable = true;
    } else {
        $writable = false;
    }
}
Home | Imprint | This part of the site doesn't use cookies.