Simple Machines Community Forum

SMF Support => SMF 2.1.x Support => Topic started by: thatjustit on February 28, 2023, 09:26:03 AM

Title: Automatically link posted URLs setting
Post by: thatjustit on February 28, 2023, 09:26:03 AM
Hello, when I have enabled this "Automatically link posted URLs" setting then my urls go from google.com to -> https://burning-brushes.pl///google.com example here: https://burning-brushes.pl/oferty-pracy/gdzie-szukac-pracy-jako-grafik/ Why is that? Can I fix this? I'm running 2.1.3.
Title: Re: Automatically link posted URLs setting
Post by: Kindred on February 28, 2023, 01:53:50 PM
your example gives me a 403/forbidden

what mods do you have installed?
Title: Re: Automatically link posted URLs setting
Post by: Steve on February 28, 2023, 02:35:23 PM
Just an fyi, both links worked fine for me.

But do answer Kindred's question.
Title: Re: Automatically link posted URLs setting
Post by: thatjustit on February 28, 2023, 04:35:37 PM
It gives me 404 error, because a page https://burning-brushes.pl///pracuj.pl doesn't exist. I have installed:
Optimus   
Light Portal   
Block Proxy VPN On Registration   
Stop Forum Spam   
Pretty URLs   
Title: Re: Automatically link posted URLs setting
Post by: thatjustit on March 16, 2023, 12:27:47 PM
Maybe somebody has an idea why it adds these three slashes to the url and instead of making it an external url it makes it so it's forum.com///url?
Title: Re: Automatically link posted URLs setting
Post by: Aleksi "Lex" Kilpinen on March 16, 2023, 01:08:19 PM
None of the examples you linked to seem to be wrong in any way. All the 7 links in the post look and work like they should.
But what I would look at: Make sure your forum url settings are correct, and the links posted are complete.
If something is missing, it might get interpreted incorrectly.
Title: Re: Automatically link posted URLs setting
Post by: Arantor on March 16, 2023, 01:15:57 PM
Wondering if it's a bug in Pretty URLs vs 2.1's revised link handling for auto linked URLs?
Title: Re: Automatically link posted URLs setting
Post by: thatjustit on March 16, 2023, 01:20:18 PM
Quote from: Arantor on March 16, 2023, 01:15:57 PMWondering if it's a bug in Pretty URLs vs 2.1's revised link handling for auto linked URLs?

Thank you, it was the enabled option "Enable URL rewriting" in Pretty Urls.
Title: Re: Automatically link posted URLs setting
Post by: thatjustit on March 16, 2023, 01:23:26 PM
Maybe I can keep the "Enable URL rewriting" enabled in Pretty Urls and add something to "Skip Actions List" so it stops rewriting external urls?
Title: Re: Automatically link posted URLs setting
Post by: Arantor on March 16, 2023, 03:49:16 PM
Sounds like you need to ask in the Pretty URLs thread so its maintainer can take a look...