WebsiteBaker Support (2.12.x) > Modules
WBLingual - how to get rid of ugly URL
CodeALot:
When switching from one language to another (in this case, to English) the URL of the 'landing page' shows unwanted variables. (?_wb=.... etc)
--- Code: ---https://exampledomain.com/en/what-we-do/?_wb=en/what-we-do/
--- End code ---
Am I overlooking something? Doing something wrong? :) I don't want ugly URL's
WB 2.12.2 r379
WBLingual 2.0.2
ShortURL active
hgs:
I can confirm that,
https://domäne.org/de/gallery/?_wb=de/gallery/
AFTER another "click" in the language
https://domäne.org/de/ueber-uns/
it is then clean again, so only when changing the URL via the flags the URL is "wrong".
What do the developers say?
dbs:
Halrald, you have also shorturl active.
?_wb= is part of the htaccess code for shorturl.
astricia:
I had this problem on a website a few months ago and contacted Ruud about it, since he developped shorturl. He said this was caused by WebsiteBaker and he made "a small change in class.frontend.php" to prevent this happening. It worked - but unfortunately I don't know what exactly he changed....
I have attached the new class.frontend.php from that particular server (as txt - you need to rename it), so maybe this helps.
Astrid
hgs:
--- Quote from: dbs on October 11, 2019, 09:04:23 AM ---Halrald, you have also shorturl active.
?_wb= is part of the htaccess code for shorturl.
--- End quote ---
Yes I have shortURL active
Navigation
[0] Message Index
[#] Next page
Go to full version