WordPress.org

Ready to get started?Download WordPress

Forums

Qtranslate using domain.com/en/ htaccess (2 posts)

  1. JamesSVK
    Member
    Posted 3 years ago #

    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]

  2. rescatista
    Member
    Posted 3 years ago #

    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]

Topic Closed

This topic has been closed to new replies.

About this Topic