Forums

WordPress with multiple URL (3 posts)

  1. jacques.letesson
    Member
    Posted 3 years ago #

    Hi guys,

    I created a blog with 4 different languages and 4 different urls.

    Each url is dedicated to a specific language.

    The main url of the blog is http://www.exemple.com

    When i use a specific url like http://www.english-exemple.com, wordpress automatically transform my url to http://www.exemple.com!

    Is there a way of keeping my dedicated url instead of the default blog one? There is nothing in the .htaccess field and i didn't find any posts regarding my problem.

    Thanks in advance for your time and your patience.

    Jk_

  2. jacques.letesson
    Member
    Posted 3 years ago #

    My ISP told me that wordpress rewrited the different url.

    It is a problem because i need to rewrite them based on the different languages.

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www.exemple1.fr$
    RewriteCond %{REQUEST_URI} !^/fr/
    RewriteRule (.*) /fr/$1

    RewriteCond %{HTTP_HOST} ^www.exemple2.be$
    RewriteCond %{REQUEST_URI} !^/it/
    RewriteRule (.*) /it/$1

  3. jacques.letesson
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic