Bug in the SEO url with a port in the URL [SOLVED]
Posted: Sat Jul 25, 2009 8:24 pm
As signaled at http://forum.opencart.com/viewtopic.php?f=20&t=4505, i f in teh URL a port exist (as http://localhost:8888/opencart) the seo url don't work fine
The fix is
line 46 of the file catalog/model/sea_url.php may be as
The fix is
line 46 of the file catalog/model/sea_url.php may be as
Code: Select all
return $url_data['scheme'] . '://' . $url_data['host'].(isset($url_data['port'])?":".$url_data['port']:NULL). str_replace('/index.php', '', $url_data['path']) . $url . $query;