• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior] How to hide "?subtopic=account"

Create a .htaccess file on your repository with this:
Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?subtopic=$1
 
Thanks for your reponse vankk,

there are some .htaccess in gesior by default (deny from all), should I create a new one? and where exactly?
I tried adding that before but still dont work.

Btw, should I change my account.php to account (without.php extension)?
 
Use the code that I gave to you in your htdocs folder, if you are using Windows, of course, but if you are using Linux, you probably will need follow this tutorial. Also, changing the php extension isn't needed, :p
 
Sorry for the late reply mate. What you are most likely looking for is called "URL MASKING".

There are various ways you can go about that, one being via .htaccess:

Code:
RewriteEngine on
RewriteCond %{REQUEST_URI} /pagename.php$
RewriteRule .* /otherpage.html [L]

For a more thorough Guide check http://www.willmaster.com/library/web-development/url-masking.php
or search for "URL MASKING" Tutorials on Google :)
 
Last edited:
Back
Top