Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Zmiana linków .htaccess ?
#1
Witam wszystkich!

Jak zmienić nieaktualne linki na aktualne i aktywne linki:

index.php?request=372 na zarzadzanie.html
index.php?request=263 na marketing.html
index.php?request=225 na nasza-firma.html
index.php?request=113 na kontakt.html

gdy uruchomie nieaktualny link to mam komunikat:
Not Found
The requested URL /index.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8g DAV/2 mod_python/3.3.1 Python/2.5.2 mod_ruby/1.3.0 Ruby/1.8.7(2008-08-11) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_wsgi/2.5 Phusion_Passenger/2.2.5 Server at www.mojastrona.pl Port 80

kombinuję z Redirect i Rewriterule np.
RewriteRule http://www.mojastrona.pl/zarzadzanie.html http://www.mojastrona.pl/index.php?request=372 [L]
ale nie działa.

Tylko please nie wysyłajcie mi linków do poradników bo przerobiłem ich już kilkanaście i nicSad
Odpowiedz


Podobne wątki…
Wątek: Autor Odpowiedzi: Wyświetleń: Ostatni post
  Zmiana linku na stronie w Joomla Dts123 9 7,379 02-05-2016, 01:55
Ostatni post: dejdi
  Zmiana koloru górnej belki Chrupek xD 6 6,387 06-04-2016, 00:36
Ostatni post: Natka
  parametr bez parametru htaccess camelrafal 7 5,416 05-10-2012, 14:24
Ostatni post: camelrafal
  Przekierowanie 301 .htaccess dla całej domeny a dla podstron? hdckredyty 2 3,574 04-10-2012, 00:47
Ostatni post: hdckredyty
  .htaccess xtronix856 17 14,481 21-09-2012, 02:05
Ostatni post: xtronix856

Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości
Sponsorzy i przyjaciele
SeoHost.pl