Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [HTML]Prekierowanie podstrony w htaccess
maiq23
post
Post #1





Grupa: Zarejestrowani
Postów: 18
Pomógł: 0
Dołączył: 17.02.2011

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


Chcialbym przekierować podstronę serwisu o nazwie: index.html?oferta
na coś innego.

Myślałem, że zrobię to tak:

  1. AddType application/x-httpd-php5 .php
  2. AddDefaultCharset UTF-8
  3. Options FollowSymLinks
  4. RewriteEngine On
  5.  
  6.  
  7. RewriteCond %{REQUEST_URI} ^/index.html?oferta
  8. RewriteRule ^(.*)$ http://wp.pl/$1 [R,L]


ale niestety przekierowanie nie działa.
Co zrobiłem źle ?

Ten post edytował maiq23 26.10.2014, 20:48:57
Go to the top of the page
+Quote Post

Posty w temacie


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

 



RSS Aktualny czas: 21.08.2025 - 09:08