Link to home
Start Free TrialLog in
Avatar of Styleminds
Styleminds

asked on

why i am getting this error message when trying to translate my webpage using google transalet ?

here it is http://translate.google.com/translate?js=y&prev=_t&hl=en&ie=UTF-8&layout=1&eotf=1&u=http%3A%2F%2Fwww.audiominds.net%2Fproduct%2F603%2Fsmall-resto-sound-systems&sl=en&tl=ar

it is giving me this error

The page you requested attempted to redirect to itself, which could cause an infinite loop.

    http://www.audiominds.net/product/603/small-resto-sound-systems


How can we fix it ?
Avatar of ollyatstithians
ollyatstithians
Flag of United Kingdom of Great Britain and Northern Ireland image

Please can you post some code.
Avatar of Styleminds
Styleminds

ASKER

there no need for codes ! here is the page it is working fine but the problem is with the google translate.
Propably it's the way the page is coded; it might not be understood by google translate or it has been blocked on purpose.
There are no redirects in the html for the page, so we need to see the php code (most likely for the beginning of the page) to spot any problems.
It's like "why google translator does not work"
It's nothing you can do except contact google and/or the audiominds.net sites support
If the page is not yours, then you will have to contact them about this (as Aarop said).
If this is your page, we will need to see some php code to help you futher.
As a suggestion, your page does not validate. Use the validator at http://validator.w3.org/ to ensure that your html is valid for better compatibility.
my php page is complicated as it have many include file but in general what codes in principle could generate this
Have a look at any header() functions you may have used.
It might be something to do with the language selection part. Try disabling that and try again.
or rather the country selection.
ASKER CERTIFIED SOLUTION
Avatar of Ray Paseur
Ray Paseur
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hello Ray_Paseur thanks for your support but can you please explain more this point please

That's an understatement!  I waited 10 seconds for the page to load, as I watched the status bar flicker through other URLs in addition to AudioMinds.  Any one of those redirects might be what Google is complaining about.  Consider this...

AudioMinds.net looks for a cookie and when it does not find it, it redirects to XXX.com
XXX.com sets the tracking cookie redirects back to AudioMinds.net
AudioMinds.net recognizes that the referer is XXX.com so it assumes the tracking cookie was set.


However i tried page that isn't be ruled in .htacess and give me same result
Not sure I follow all this...  I think your best approach is to contact Google for support.

If you run this script from your server and Google rejects it, there may be something wrong with your server config.
<?php echo 'Hello World'; ?>

Open in new window