Jump to content

language rewrite issue with 8.6 - 404 error


cluster

Recommended Posts

I'm trying to integrate my multi language setup from v7.10 into my 8.6 DEV installation, something does not work as it should with the rewrites ...

or are there any restrictions in 8.6 ?

 need help

 

#force lang en
RewriteRule ^en/?(.*)?$ ./$1?language=english [L,QSA]
RewriteRule ^en/(.*).php?(.*)#(.*) /$1.php?$2&language=english#$3 [NC,L,QSA] 
RewriteRule ^en/(.*).php?(.*) /$1.php?$2&language=english [NC,L,QSA] 
RewriteRule ^en/(.*).php#(.*) /$1.php?language=english#$2 [NC,L,QSA] 
RewriteRule ^en/(.*).php$ /$1.php?language=english [NC,L,QSA] 
RewriteRule ^en/$ index.php?language=english [NC,L,QSA] 
RewriteRule ^en/(.*) /$1 [NC,L,QSA]

#force lang fr
RewriteRule ^fr/(.*).php?(.*)#(.*) /$1.php?$2&language=french#$3 [NC,L,QSA] 
RewriteRule ^fr/(.*).php?(.*) /$1.php?$2&language=french [NC,L,QSA] 
RewriteRule ^fr/(.*).php#(.*) /$1.php?language=french#$2 [NC,L,QSA] 
RewriteRule ^fr/(.*).php$ /$1.php?language=french [NC,L,QSA] 
RewriteRule ^fr/$ index.php?language=french [NC,L,QSA] 
RewriteRule ^fr/(.*) /$1 [NC,L,QSA]

now w/ v8.6 it works only for the cart view e.g.

/fr/cart.php?a=view > OK

/fr/announcements > 404 - Page Not Found

Link to comment
Share on other sites

  • 10 months later...
  • 2 months later...

Also facing the same issues with v8.

Seems all index.php pages (including homepage) are broken and do not work with these rewrites.

Did anyone figure out a workaround for this?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated