Quote:
Originally Posted by Dave Hybrid
Looks great on your site and very fast, nice one!
|
thanks
on this instruction
Quote:
You need to comment out the flag for your base language otherwise you can cause duplicate URLs for those pages and this can be bad for SEO.
All the flags are on separate lines in alpha order, find your language and add <!-- to the start and --> to the end of the line.
eg; <!-- language flag code -->
Upload both files to your forum root, if your forums are in a /forums/ folder, subdomain or similar upload the files there. Upload the flags folder to your domain root, thats the domain root.
|
I want to make sure that i follow you so it should be like this
Code:
<a href="<?php $xbit = (count($_GET)>1) ? "&" : "?"; echo (strstr($_SERVER["REQUEST_URI"],'hl='.@$_GET['hl'])) ? str_replace($xbit.'hl='.@$_GET['hl'], '', $_SERVER["REQUEST_URI"]) . $xbit . 'hl=en' : str_replace($xbit.'hl='.@$_GET['hl'], '', $_SERVER["REQUEST_URI"]) . $xbit . "hl=en"; ?>"><img src="/flags/United States.gif" alt="English" border="0" /></a>
<!-- to the start and -->