Welcome Guest, Not a member yet? Register   Sign In
The urls of website searched by Google are wrong !
#1

[eluser]Unknown[/eluser]
When we search the "olapromo antibes bons plans mode" in the Google. It produce a wrong url of the website "olapromo.com".

Normally, It should be like this:
http://www.olapromo.com/index.php/bons_p...e/zoom/111

Unfortunately, the Google engine produced a wrong link.
http://www.olapromo.com/index.php/bons_p...rowse/zoom/www.olapromo.comindex.phpbons_plansoffres1antibesalpes-maritimesprovence-alpes-cote_d_azurfrancevarsl0192l123320l223536l361324cat5dobrowsezoom111/changelang/fr-utf-8

So, what's the problem here? Is it because of the CodeIgniter produced the wrong links or something else ?
#2

[eluser]weboap[/eluser]
check your site links and try using base_url()
#3

[eluser]CroNiX[/eluser]
Codeigniter doesn't output what you don't tell it to, so, somewhere you are creating a wrong link. Most likely it was hand-coded using a relative path instead of using CI's anchor helper or other helpers. Relative paths get appended to the current url, so that's probably why it's showing up 2x in the same link.




Theme © iAndrew 2016 - Forum software by © MyBB