Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug url comparaison : origin url and target url #286

Open
herrvigg opened this issue Jun 22, 2018 · 1 comment
Open

bug url comparaison : origin url and target url #286

herrvigg opened this issue Jun 22, 2018 · 1 comment
Labels
legacy PR Legacy PR imported from original repo

Comments

@herrvigg
Copy link
Collaborator

Issue by fauguste
Thursday Oct 15, 2015 at 15:50 GMT
Originally opened as qTranslate-Team/qtranslate-x#286


We are using question2answer with wordpress and qtranslatex 3.4.6.2.

We are using rewrite rules on question2answer :

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]

We have an infinity of redirection on question2answer when qtranslatex is activated .

The problem is on these values :
$url_orig = https://www.exemple.com/fluks/qa/search?q=frfr
$url_lang = https://www.exemple.com/fluks/qa/search?qa-rewrite=search&q=frfr

We solved this problem with this modification


fauguste included the following code: https://github.com/qTranslate-Team/qtranslate-x/pull/286/commits

@herrvigg herrvigg added the legacy PR Legacy PR imported from original repo label Jun 22, 2018
@herrvigg
Copy link
Collaborator Author

Comment by fauguste
Thursday Mar 16, 2017 at 16:35 GMT


any idea ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
legacy PR Legacy PR imported from original repo
Projects
None yet
Development

No branches or pull requests

1 participant