WordPress.org

Support

Support » Multisite » [Resolved] Word blog in my urls in my Multisite

[Resolved] Word blog in my urls in my Multisite

  • 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:

    http://vitrinebh.com/v12/eventos/vila-mix-bh-2014/
    http://vitrinebh.com/v12/blog/eventos/vila-mix-bh-2014/

    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)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Word blog in my urls in my Multisite’ is closed to new replies.