Was wondering if there is a way to remove mode=viewprofile from the URL when one goes to members profile.
Instead of the URL being
Code: Select all
member/user.2?mode=viewprofile
Code: Select all
member/user.2
Code: Select all
member/user.2?mode=viewprofile
Code: Select all
member/user.2
Where are you seeing a URL like that?Dead Man wrote: ↑Fri Aug 09, 2024 1:32 am Instead of the URL beingCode: Select all
member/user.2?mode=viewprofile
Code: Select all
?mode=viewprofile
Code: Select all
https://website.com/member/user.2
Code: Select all
DOMAIN/memberlist.php?mode=viewprofile&u=USER_ID
mode=viewprofile
because the member list controller uses that value for mode to determine which type of member list page to use. You could possibly find an extension that rewrites the URLs for you although I'm not sure if there's a validated one for 3.3.12 that would do exactly what you're asking.viewprofile
mode is a core part of phpBB that cannot be modified without custom coding. If you want to effectively remove that from your board, you'll need an extension to redirect users away from there or modify the core code and remove it entirely which is highly discouraged.Code: Select all
RewriteRule ^member/user\.([0-9])+ memberlist\.php?mode=viewprofile&u=$1