WebsiteBaker Support (2.12.x) > Modules
WBLingual - how to get rid of ugly URL
dbs:
@astricia: thanks, to you and Ruud. Seems to work. File ist from 2.12.1 but the change is the same for 2.12.2
framework/class.frontend.php line 192. change this:
--- Code: ---\header('Location: '.$this->page_link($this->page['link']).'?'.$_SERVER['QUERY_STRING']);
--- End code ---
to this
--- Code: ---\header('Location: '.$this->page_link($this->page['link']));
--- End code ---
hgs:
(Y)
Then, if there are no concerns from the developers, it should be transferred to the next version like this.
@dbs please create a ticket, because my internet is currently very slow on vacation.
hgs:
Tested on a bilingual site. Everything runs as it should. (Y)
Thanks to all
CodeALot:
Works! Thanks all 8-)
crnogorac081:
I would like to ask what is happening with link eg. http://wb_url/my_pretty_url/?page=2
Is _get('page') going to be dumped too if we apply the proposed fix :?
I would suggest to only remove _wb from $_SERVER['QUERY_STRING'] if exists..
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version