![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 1 Pomógł: 0 Dołączył: 11.04.2013 Ostrzeżenie: (0%) ![]() ![]() |
Witam,
chciałbym wyłączyć reguły przekierowań dla jednego adresu - pliku weryfikacyjnego Google. ale nie wiem jak napisać taką regułę - znalazałem w siecie jeden przykład ale nie działa. Cały czas przekierowuje mi plik na .../return/ htaccess wygląda tak: Kod RewriteEngine on RewriteCond %{HTTP_HOST} !^www.sweetdecor.pl$ [NC] RewriteRule ^(.*)$ http://www.sweetdecor.pl/$1 [R=301,L] RewriteRule ^return/$ /index.php?return= [QSA] RewriteRule ^all/$ /index.php?all= [QSA] RewriteRule ^letter/$ /index.php?letter= [QSA] RewriteRule ^customer$ /customer.php [QSA] RewriteRule ^customer/action/([0-9a-z]+)$ /customer.php?action=$1 [QSA] RewriteRule ^cart$ /cart.php [QSA] RewriteRule ^search$ /search.php [QSA] RewriteRule ^product/id/([0-9a-zA-Z\,\-]+)$ /product.php?id=$1 [QSA] RewriteRule ^([0-9a-zA-Z\,\-]+).html$ /product.php?id=$1 [QSA] RewriteRule ^product/id/([0-9a-zA-Z\,\-]+)/action/([0-9a-zA-Z\,\-]+)$ /product.php?id=$1&action=$2 [QSA] RewriteRule ^([0-9a-zA-Z\,\-]+)/action/([0-9a-zA-Z\,\-]+).html$ /product.php?id=$1&action=$2 [QSA] RewriteRule ^product/id/([0-9a-zA-Z\,\-]+)/kit_item/([0-9a-zA-Z\,\-]+)/action/add$ /product.php?id=$1&kit_item=$2&action=add [QSA] RewriteRule ^img/product/([0-9]+)$ /img.php?product=$1 [QSA] RewriteRule ^img/product_cart/([0-9]+)$ /img.php?product_cart=$1 [QSA] RewriteRule ^img/product/([0-9]+)/kind/([0-9]+)$ /img.php?product=$1&kind=$2 [QSA] RewriteRule ^img/product/([0-9]+)/kind/([0-9]+)/html/([0-9]+)$ /img.php?product=$1&kind=$2&html=$3 [QSA] RewriteRule ^img/news/([0-9]+)$ /img.php?news=$1 [QSA] RewriteRule ^img/category/([0-9]+)$ /img.php?category=$1 [QSA] RewriteRule ^img/gallery/([0-9]+)/kind/([0-9]+)$ /img.php?gallery=$1&kind=$2 [QSA] RewriteRule ^img/gallery/([0-9]+)/kind/([0-9]+)/html/([0-9]+)$ /img.php?gallery=$1&kind=$2&html=$3 [QSA] RewriteRule ^img/banner/([0-9]+)$ /img.php?banner=$1 [QSA] RewriteRule ^img/library/([0-9]+)$ /img.php?library=$1 [QSA] RewriteRule ^redirect/id/([0-9]+)$ /redirect.php?id=$1 [QSA] RewriteRule ^tools/([a-z0-9]+).xml$ /tools/$1.php [QSA] RewriteRule ^([a-z0-9_]+)/([0-9a-zA-Z_\,\-]+)$ /index.php?$1=$2 [QSA] RewriteRule ^([a-z0-9_]+)/([0-9a-zA-Z_\,\-]+)/([a-z0-9_]+)/([0-9a-zA-Z_\,\-]+)$ /index.php?$1=$2&$3=$4 [QSA] RewriteRule ^([a-z0-9_]+)/([0-9a-zA-Z_\,\-]+)/([a-z0-9_]+)/([0-9a-zA-Z_\,\-]+)/([a-z0-9_]+)/([0-9a-zA-Z_\,\-]+)$ /index.php?$1=$2&$3=$4&$5=$6 [QSA] RewriteRule ^library$ /library.php [QSA] RewriteRule ^library/page/([0-9a-zA-Z\,\-]+)$ /library.php?page=$1 [QSA] RewriteRule ^library/category/([0-9a-zA-Z\,\-]+)$ /library.php?category=$1 [QSA] RewriteRule ^library/tag/([0-9a-z]+)$ /library.php?tag=$1 [QSA] adres strony: http://www.sweetdecor.pl Ten post edytował SweetD 11.04.2013, 12:55:54 |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 28.06.2025 - 18:46 |