Chcialbym maskowac adres url w pasku przegladarki tak zeby byla tylko sama nazwa domena lub tylko skrocona nazwa bez koncowek .php lub .html
To moj kod z pliku .htaccess
Options FollowSymLinks RewriteEngine On RewriteBase / RewriteRule ^[a-zA-Z0-9\-\_]+,kategoria-([0-9]+)\.html$ show_cat.php?idk=$1 RewriteRule ^[a-zA-Z0-9\-\_]+,podkategoria-([0-9]+)\.html$ show_catt.php?idpk=$1 RewriteRule ^[a-zA-Z0-9\-\_]+,strona-([0-9]+)\.html$ strona.php?getid=$1 RewriteRule ^ogloszenie/(.+)/([0-9]+)/?$ oferta.php?page=ogloszenie&oglid=$2 RewriteRule ^kategoria.html$ show_cat.php RewriteRule ^podkategoria.html$ show_catt.php RewriteRule ^wyszukiwarka-zaawansowana.html$ zaawansowane.php RewriteRule ^o-nas.html$ o-nas,strona-1.html RewriteRule ^cennik.html$ cennik,strona-4.html RewriteRule ^kontakt.html$ kontakt,strona-3.html RewriteRule ^ogloszenia.html$ ogloszenia.php RewriteRule ^uzytkownicy.html$ uzytkownicy.php RewriteRule ^nowe-konto.html$ rejestracja.php RewriteRule ^regulamin.html$ regulamin,strona-2.html RewriteRule ^poradnik.html$ poradnik,strona-5.html RewriteRule ^kategorie.html$ kategorie.php RewriteRule ^formularz.html$ contact.php RewriteRule ^mapa-strony.html$ mapa.php