Yes, it can be done, but you still need to tell your server to parse “admin” (the file) as PHP. This is what I use in my .htaccess:<Files "admin"> ForceType application/x-httpd-php </Files>
Do I need anything else? That just produces what appears to be a 404 page (generic EE error: The page you requested was not found).
You have renamed admin.php to admin, of course, i.e. without the suffix?
You mean in the URL?
I managed to get /admin to redirect to /admin.php with this:
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule !.*\.php$ %{REQUEST_FILENAME}.php [QSA,L]
Ideally though I’d like it to remain as /admin in the URL.
You could also just do one of two things…
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.