Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [htaccess] - nie dziala przekierowanie
terabit
post
Post #1





Grupa: Zarejestrowani
Postów: 170
Pomógł: 4
Dołączył: 11.08.2006

Ostrzeżenie: (10%)
X----


Witam

mam taki kod:
  1. RewriteEngine on
  2. RewriteRule ^strona/([^/.]+)/?$ index.php?strona=$1 [L]
  3. RewriteRule ^/([^/.]+)/?$ index.php?strona=$1 [L]


problem w tym że nie działa i nie mam pojęcia dlaczego
może coś jest z nim nie tak?

z gory dzieki za pomoc (IMG:style_emoticons/default/winksmiley.jpg)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
terabit
post
Post #2





Grupa: Zarejestrowani
Postów: 170
Pomógł: 4
Dołączył: 11.08.2006

Ostrzeżenie: (10%)
X----


Cytat(jaslanin @ 26.05.2010, 19:40:15 ) *
Kod
RewriteCond %{QUERY_STRING} ^l=(.+)
RewriteRule ^profil.php(.*)$ %1/? [L,R=301]


nie działa :/

jak wpisze normalnie z profil.php?l=cossss to dziala a jak samo cossss to:
Not Found
The requested URL /cossss was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Go to the top of the page
+Quote Post

Posty w temacie


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: 1.01.2026 - 03:37