Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> Maskowanie adresu .htaccess
Kors
post
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 24.11.2012

Ostrzeżenie: (0%)
-----


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


Ten post edytował Kors 24.11.2012, 11:24:10
Go to the top of the page
+Quote Post

Posty w temacie
- Kors   Maskowanie adresu .htaccess   24.11.2012, 11:23:24


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 26.09.2025 - 04:32