We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Show 404 on spammy links

How Do I?

engagelab's avatar
engagelab
2 posts
one month ago
engagelab's avatar engagelab

Hello,

I’ve noticed that one of my websites is getting spammy links with this kind of structure:

https://mywebsite.it/?URL=https://somewebsite.com/aaaa-mobvies/?query=abcdef%20chubby%20xxxxxxx

(I have altered the URL eliminating the real urls)

The problem is that even if I have enabled strict URL EE still shows a page telling:

“Error: The link you are being redirected to contained some potentially malicious or dangerous code. We recommend you hit the back button and email xxxxx@xxxxxx.it to report the link that generated this message.”

So No 404.

How do I resolve this problem?

Thankyou! Francesco

       
swierczek's avatar
swierczek
2 posts
one month ago
swierczek's avatar swierczek

There’s a config value to disable this functionality: https://docs.expressionengine.com/latest/general/system-configuration-overrides.html#allow_url_redirects_from_site

👆 1
       
engagelab's avatar
engagelab
2 posts
one month ago
engagelab's avatar engagelab

Thankyou,

but does it trigger 404? Also disabling this feature Do I accidentally disable some Add-ons functionalities?

Thank You very much Francesco

       
swierczek's avatar
swierczek
2 posts
one month ago
swierczek's avatar swierczek

@engagelab yes, it triggers a 404 per https://github.com/ExpressionEngine/ExpressionEngine/blob/7.dev/system/ee/legacy/libraries/Redirect.php#L24-L29

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.