Prevent ?action=help and ?action=credits from being directly access

Started by emmamarshall451, June 15, 2022, 02:07:05 AM

Previous topic - Next topic

emmamarshall451

How can i prevent ?action=help and ?action=credits from being directly access ?

for instance
https://www.simplemachines.org/community/index.php?action=help
https://www.simplemachines.org/community/index.php?action=credits

I know this popular message board powered by SMF and when i try to access ?action=help and ?action=credits it just redirect back to its homepage .. is there like setting for that on admin page or i need to write .htaccess rule? thanks  :)

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Oldiesmann

Simple option is to edit the actions array in index.php (SMF will send you to the board index if it doesn't recognize the "action" in the URL), but why do you want to do that?
Michael Eshom
Christian Metal Fans

Aleksi "Lex" Kilpinen

Not only am I really struggling to think of a good reason to do that, but what's actually even stranger to me is seeing someone actually ask "Hey I know you all created this nice piece of software I use for free, but is there a setting to hide your names?"
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: