• How to remove /blog/ from WordPress Multi Site permalink structure

    If you’ve ever converted a single installation of WordPress into a WordPress Multi Site ( WPMS ) network using subdirectories, you’ll have noticed that the prefix for blog permalinks for the primary site changes from https://example.com/
    to
    https://example.com/blog/

    If you are concerned that this new permalink structure will cause problems in the future then you may choose to remove the blog/ part.

    It is possible to remove this prefix

    • Login as a Super Admin
    • Go to Network Admin -> Sites
    • Choose the Main site and click on Edit.
    • Choose the Settings tab
    • Find the Permalink Structure text field.
    • Remove the /blog text, leaving /%year%/%monthnum%/%day%/%postname%/
    • Scroll to the bottom and Save Changes.

    Why would you want to do this?

    • So that permalinks for blog posts remain unchanged.
    • Because you think it would be better for SEO.
    • To prevent broken links.

    Caveats

    Some people say that making this change is not recommended. The reason for adding the blog/ prefix is to prevent conflicts with URLs in other sites in the network.

    If you do this on the main site of your network, you must make sure that none of your posts, categories, tags, or custom post types and taxonomies have a slug equal to the slug of a subsite.

    I did this on a local install, creating a subsite called 2020. Then I forgot about it, updated to WordPress 5.5-beta3 and thought the hack had stopped working. I’m going to have to fiddle with the new sub-site’s name now.


    ,

    Published:

    Last updated:

    July 23, 2020

Categories

Tide times from tidetimes.co.uk

Tide Times & Heights for Langstone Harbour on
Tuesday, 07 December 2021
High Tide:01:09 ( 4.90m )
Low Tide:06:14 ( 0.90m )
High Tide:13:24 ( 4.80m )
Low Tide:18:38 ( 0.80m )

Tide times from tidetimes.org.uk

Tide Times & Heights for Northney on
7th December 2021
01:22 High Tide ( 4.85m )
06:22 Low Tide ( 0.69m )
13:33 High Tide ( 4.83m )
18:48 Low Tide ( 0.57m )