Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Strange redirect issue WordPress

  • SOLVED

Please note: you will need to add at least one item to your cart in order to see this behavior.

On the following page: [[LINK href="http://meemi.net/de/products-page/checkout/"]]http://meemi.net/de/products-page/checkout/[[/LINK]], there is a checkbox near the bottom of the page to agree to the terms and conditions. On the German page, when this link is clicked, the server returns a '301 Redirect' to the english version of the page.

The german link is http://meemi.net/de/terms-and-conditions. The english version is http://meemi.net/terms-and-conditions.

There is however, an identical link in the bottom left corner of the page right above the copyright notice. Clicking this link will not issue a redirect.

Can anyone help please explain this?

This is WP 3.4.1 with qTranslate 2.5.31 and WP Ecommerce 3.8.8.5.

Answers (2)

2012-08-09

Arnav Joy answers:

Hi Daryl ,

I checked both the link

1. next to check box (http://meemi.net/de/terms-and-conditions)

2. at the footer (http://meemi.net/de/terms-and-conditions/)

see the difference in both the link , it is "/" so adding "/" at the end will correct your problem .

try running both the pages at address bar of the browser , one without the "/" will redirect you to the English version of the page .

so the corrected url of the page in German is "http://meemi.net/de/terms-and-conditions/"


Daryl Lozupone comments:

Well done, Arnav.

Is that appending of the trailing slash of function of WordPress permalinks? I still do not have a great grasp of .htaccess redirect magic.


Arnav Joy comments:

yes it is

2012-08-09

Luis Abarca answers:

Did you choose to autodetect language ?

Also, when i submit the form, takes me to paypal, but product description looks weird


Beschreibungen Betrag
<!--:de-->KINKY – small<!--:--><!--…<!--:de-->KINKY – small<!--:--><!--:us-->KINKY – small<!--:-->
10.00 Artikel nummer: 345
Artikelpreis: 10.00
Anzahl: 1


Daryl Lozupone comments:

Is autodetect language set where?


Luis Abarca comments:

qTranslate options
- Detect browser language and
- Hide unstranslated content

the page exists in german language ??
http://meemi.net/de/terms-and-conditions


Daryl Lozupone comments:

Detect browser language is unchecked.
Hide untranslated content unchecked.

Page does exist in german language.

Still strange behavior.