mercredi 17 octobre 2018

httaccess show only domain

I want to show only the domain name in the addressbar. I found this

if(history.replaceState) history.replaceState({}, "", "/");

JavaScript code but I want to use htaccess. Is ist possible ?

My htaccess is at the moment:

RewriteEngine On RewriteCond %{HTTP_HOST} ^minebug\.de$ [NC] RewriteCond %{REQUEST_URI} !^/WoltLab/ RewriteRule ^(.*)$ /WoltLab/$1 [L]




Aucun commentaire:

Enregistrer un commentaire