Not planned From admin.php to admin (Use full friendly URLs AdminCP) support

Yenxji

Active member
Wouldn't it be better to enable Use full friendly URLs as AdminCP to change the route from admin.php to admin?


PHP:
<IfModule mod_rewrite.c>
    RewriteEngine On
    #   If you are having problems with the rewrite rules, remove the "#" from the
    #   line that begins "RewriteBase" below. You will also have to change the path
    #   of the rewrite to reflect the path to your XenForo installation.
    #RewriteBase /xenforo
    #   This line may be needed to workaround HTTP Basic auth issues when using PHP as a CGI.
    #RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]
    RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
    RewriteRule ^.*$ index.php [NC,L]
    RewriteRule ^.*$ admin.php [NC,L]
</IfModule>
 
Upvote 2
This suggestion has been closed. Votes are no longer accepted.
Indeed. The whole point of friendly URLs is predominantly for search engine optimisation and for URLs that might be shared being a little more user-readable aesthetically.

Nothing to stop you from configuring your web server to redirect admin to admin.php but there's really very little point beyond saving the typing of 4 characters.
 
Back
Top Bottom