Witam

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

  1. Options FollowSymLinks
  2. RewriteEngine On
  3. RewriteBase /
  4. RewriteRule ^[a-zA-Z0-9\-\_]+,kategoria-([0-9]+)\.html$ show_cat.php?idk=$1
  5. RewriteRule ^[a-zA-Z0-9\-\_]+,podkategoria-([0-9]+)\.html$ show_catt.php?idpk=$1
  6. RewriteRule ^[a-zA-Z0-9\-\_]+,strona-([0-9]+)\.html$ strona.php?getid=$1
  7. RewriteRule ^ogloszenie/(.+)/([0-9]+)/?$ oferta.php?page=ogloszenie&oglid=$2
  8. RewriteRule ^kategoria.html$ show_cat.php
  9. RewriteRule ^podkategoria.html$ show_catt.php
  10. RewriteRule ^wyszukiwarka-zaawansowana.html$ zaawansowane.php
  11.  
  12. RewriteRule ^o-nas.html$ o-nas,strona-1.html
  13. RewriteRule ^cennik.html$ cennik,strona-4.html
  14. RewriteRule ^kontakt.html$ kontakt,strona-3.html
  15. RewriteRule ^ogloszenia.html$ ogloszenia.php
  16. RewriteRule ^uzytkownicy.html$ uzytkownicy.php
  17. RewriteRule ^nowe-konto.html$ rejestracja.php
  18. RewriteRule ^regulamin.html$ regulamin,strona-2.html
  19. RewriteRule ^poradnik.html$ poradnik,strona-5.html
  20. RewriteRule ^kategorie.html$ kategorie.php
  21. RewriteRule ^formularz.html$ contact.php
  22. RewriteRule ^mapa-strony.html$ mapa.php