WP .htaccess question

Out of context: Reply #7

  • Started
  • Last post
  • 7 Responses
  • Salarrue0

    HAAALP!

    Hey guys do you know how can I add a 301 rule to redirect to a new path in an .htaccess for Magento

    The old site was :

    store.exemple.com

    now is:

    store.exemple.com/fr

    I tried :

    RewriteCond %{REQUEST_URI} !^/../ [NC]
    RewriteRule ^(.*)$ /en$1 [R=301,L]

    but it adds fr/index.php :(

    Thanks

    • /en$1
      first:
      /fr$1
      ********
    • and second does that magento setup has any multi-language module?
      if not you have to set the store url to that
      ********
    • was going to answer but sted it the hero again
      ********
    • +1 sted as always
      ********
    • Awesome thanks, I have store url. Actually there are 3 stores en/ fr/ es/Salarrue

View thread