Hi,
first I'm sorry if I posting this in wrong forum - and sorry for my bad english.
I want to make RewriteRules like Twitter - So that the files are displayed as Virtual folders, but if you add the file extensions (.php) he shouldn't view this file!
.htaccess edit:
AddDefaultCharset UTF-8
Options +FollowSymlinks
Options -Indexes
Options -ExecCGI
<FilesMatch "^\." >
deny from all
</FilesMatch>
RewriteEngine on
RewriteBase /
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^(.*)$ https://www.abc.com/ [R=301,L]
RewriteRule ^profil/$ profil.php?ID=$1 [NC,L]
RewriteRule ^([^.]+)/([^.]+)/$ $2.php?ID=1 [NC,L]
Can anyone help me??
Best regards
Termi