Support » Networking WordPress » Word blog in my urls in my Multisite

  • Resolved Penido


    Hello guys,
    I installed WP Multisite and I have a problem in permalinks.
    My site is installed in a directory called v12.
    WP added the word blog in my urls.

    Look at the urls below:

    I tried to redirect using the following code in .htaccess But it did not work:

    RewriteRule ^tag/(.*)$ /blog/tag/$1 [L,R=301]
    RewriteRule ^category/(.*)$ /blog/category/$1 [L,R=301]

    This is mine. Current htaccess

    RewriteEngine On
    RewriteBase /v12/
    RewriteRule ^index\.php$ – [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ – [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]

    What can I do to redirect my urls?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Moderator Ipstenu (Mika Epstein)


    🏳️‍🌈 Halfelf Rogue & Plugin Review Team Rep

    WP added the word blog in my urls.

    This is what WordPress is supposed to do.

    You can change it by going to wp-admin -> Network -> Sites

    Click on edit-site for the main site.

    Scroll down to where permalinks are. Change it and remove /blog/

    HOWEVER. If you EVER save permalinks again, or have a plugin that does it, the /blog/ comes back.

    Perfect! Worked properly. Thank you very much.

    i installed new word press site for multisite usage. However, My first 2 new sites with sub folders are created very well. but when i tried to create another 3 more sites with the same email adress , it is showing 404 error. Now iam not able to create any further sites or subfolders for my primary site. whhere should i look in to rectify the problem.
    my site

    the above are working
    but the other
    not working
    and now no more new site creation taking place.
    please help me out.

    sorry in the above post my site address is missing

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Word blog in my urls in my Multisite’ is closed to new replies.