Support » Networking WordPress » Qtranslate using domain.com/en/ htaccess

  • Hi all,

    can you help me how to setup .htaccess file to work correctly with this?

    Thanks

    Mine currently htaccess:

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

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [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]

Viewing 1 replies (of 1 total)
  • I am also using qtranslate. You have to go into each subsite to activate and configure it. Regarding the htaccess, my hosting service configured it for me with some help from Andrea.

    Mine is exactly the same as yours
    except I have the blog thing in there.
    Don’t ask me what it means.. Andrea will know.

    RewriteEngine On
    RewriteRule ^blog(.*)$ http:/$1 [L,R]

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

Viewing 1 replies (of 1 total)
  • The topic ‘Qtranslate using domain.com/en/ htaccess’ is closed to new replies.