From 7d0749d6920b12796b793dbc54cea8d4a0e0be7c Mon Sep 17 00:00:00 2001 From: Jacek Pyziak Date: Sat, 26 Oct 2024 18:18:55 +0200 Subject: [PATCH] Refactor product loading logic and update URL routing - Refactored the product loading logic in the ShopProduct class to improve performance and readability. - Updated the URL routing in the index.php file to handle redirects and routes based on the request URI. - Added a new method in the S class to check if adding a redirect will create a cycle in the redirect map. - Updated the S class to use the new method for adding redirects and generating URL routes. - Removed unnecessary code related to generating .htaccess rules. --- .htaccess | 758 +----------------- autoload/admin/controls/class.ShopProduct.php | 10 +- autoload/admin/factory/class.ShopProduct.php | 33 +- autoload/class.S.php | 72 +- index.php | 38 + 5 files changed, 167 insertions(+), 744 deletions(-) diff --git a/.htaccess b/.htaccess index 9debe70..8e697fa 100644 --- a/.htaccess +++ b/.htaccess @@ -17,7 +17,7 @@ RewriteCond %{REQUEST_URI} !^/admin/.*$ [NC] # Wyklucza ścieżki rozpoczynając RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [R=301,L] -ErrorDocument 404 /404.html +ErrorDocument 404 /index.php RewriteCond %{REQUEST_URI} !^(.*)/libraries/(.*) [NC] RewriteCond %{REQUEST_URI} !^(.*)/layout/(.*) [NC] @@ -73,6 +73,9 @@ RewriteRule ^ /%1 [R=301,L] AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/css text/javascript application/javascript application/x-javascript + +Header set Access-Control-Allow-Origin "*" + ExpiresActive on ExpiresDefault "access plus 1 month" @@ -190,12 +193,18 @@ RewriteRule ^prezent-na-komunie-swieta/1$ prezent-na-komunie-swieta [R=301,L] RewriteRule ^prezenty-na-koniec-roku-szkolnego$ index.php?category=149&lang=pl&%{QUERY_STRING} [L] RewriteRule ^prezenty-na-koniec-roku-szkolnego/([0-9]+)$ index.php?category=149&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^prezenty-na-koniec-roku-szkolnego/1$ prezenty-na-koniec-roku-szkolnego [R=301,L] +RewriteRule ^prezent-na-slub-wesele$ index.php?category=158&lang=pl&%{QUERY_STRING} [L] +RewriteRule ^prezent-na-slub-wesele/([0-9]+)$ index.php?category=158&lang=pl&bs=$1&%{QUERY_STRING} [L] +RewriteRule ^prezent-na-slub-wesele/1$ prezent-na-slub-wesele [R=301,L] RewriteRule ^prezenty-na-walentynki$ index.php?category=130&lang=pl&%{QUERY_STRING} [L] RewriteRule ^prezenty-na-walentynki/([0-9]+)$ index.php?category=130&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^prezenty-na-walentynki/1$ prezenty-na-walentynki [R=301,L] RewriteRule ^prezenty-z-okazji-narodzin-dziecka$ index.php?category=122&lang=pl&%{QUERY_STRING} [L] RewriteRule ^prezenty-z-okazji-narodzin-dziecka/([0-9]+)$ index.php?category=122&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^prezenty-z-okazji-narodzin-dziecka/1$ prezenty-z-okazji-narodzin-dziecka [R=301,L] +RewriteRule ^prezenty-z-okazji-urodzin$ index.php?category=155&lang=pl&%{QUERY_STRING} [L] +RewriteRule ^prezenty-z-okazji-urodzin/([0-9]+)$ index.php?category=155&lang=pl&bs=$1&%{QUERY_STRING} [L] +RewriteRule ^prezenty-z-okazji-urodzin/1$ prezenty-z-okazji-urodzin [R=301,L] RewriteRule ^dla-kogo$ index.php?category=114&lang=pl&%{QUERY_STRING} [L] RewriteRule ^dla-kogo/([0-9]+)$ index.php?category=114&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^dla-kogo/1$ dla-kogo [R=301,L] @@ -229,6 +238,9 @@ RewriteRule ^prezenty-wg-rodzaju/1$ prezenty-wg-rodzaju [R=301,L] RewriteRule ^breloczki$ index.php?category=127&lang=pl&%{QUERY_STRING} [L] RewriteRule ^breloczki/([0-9]+)$ index.php?category=127&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^breloczki/1$ breloczki [R=301,L] +RewriteRule ^dodatki-do-pokoju-dzieciecego$ index.php?category=154&lang=pl&%{QUERY_STRING} [L] +RewriteRule ^dodatki-do-pokoju-dzieciecego/([0-9]+)$ index.php?category=154&lang=pl&bs=$1&%{QUERY_STRING} [L] +RewriteRule ^dodatki-do-pokoju-dzieciecego/1$ dodatki-do-pokoju-dzieciecego [R=301,L] RewriteRule ^girlandy$ index.php?category=140&lang=pl&%{QUERY_STRING} [L] RewriteRule ^girlandy/([0-9]+)$ index.php?category=140&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^girlandy/1$ girlandy [R=301,L] @@ -250,15 +262,21 @@ RewriteRule ^metryczki/1$ metryczki [R=301,L] RewriteRule ^obrazy-i-ramki$ index.php?category=129&lang=pl&%{QUERY_STRING} [L] RewriteRule ^obrazy-i-ramki/([0-9]+)$ index.php?category=129&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^obrazy-i-ramki/1$ obrazy-i-ramki [R=301,L] +RewriteRule ^organizery$ index.php?category=157&lang=pl&%{QUERY_STRING} [L] +RewriteRule ^organizery/([0-9]+)$ index.php?category=157&lang=pl&bs=$1&%{QUERY_STRING} [L] +RewriteRule ^organizery/1$ organizery [R=301,L] RewriteRule ^ozdoby-choinkowe$ index.php?category=148&lang=pl&%{QUERY_STRING} [L] RewriteRule ^ozdoby-choinkowe/([0-9]+)$ index.php?category=148&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^ozdoby-choinkowe/1$ ozdoby-choinkowe [R=301,L] -RewriteRule ^pisanki$ index.php?category=143&lang=pl&%{QUERY_STRING} [L] -RewriteRule ^pisanki/([0-9]+)$ index.php?category=143&lang=pl&bs=$1&%{QUERY_STRING} [L] -RewriteRule ^pisanki/1$ pisanki [R=301,L] +RewriteRule ^ozdoby-wielkanocne$ index.php?category=143&lang=pl&%{QUERY_STRING} [L] +RewriteRule ^ozdoby-wielkanocne/([0-9]+)$ index.php?category=143&lang=pl&bs=$1&%{QUERY_STRING} [L] +RewriteRule ^ozdoby-wielkanocne/1$ ozdoby-wielkanocne [R=301,L] RewriteRule ^podkladki$ index.php?category=147&lang=pl&%{QUERY_STRING} [L] RewriteRule ^podkladki/([0-9]+)$ index.php?category=147&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^podkladki/1$ podkladki [R=301,L] +RewriteRule ^pudelka-skrzynki-okolicznosciowe$ index.php?category=156&lang=pl&%{QUERY_STRING} [L] +RewriteRule ^pudelka-skrzynki-okolicznosciowe/([0-9]+)$ index.php?category=156&lang=pl&bs=$1&%{QUERY_STRING} [L] +RewriteRule ^pudelka-skrzynki-okolicznosciowe/1$ pudelka-skrzynki-okolicznosciowe [R=301,L] RewriteRule ^tabliczki-do-zdjec$ index.php?category=126&lang=pl&%{QUERY_STRING} [L] RewriteRule ^tabliczki-do-zdjec/([0-9]+)$ index.php?category=126&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^tabliczki-do-zdjec/1$ tabliczki-do-zdjec [R=301,L] @@ -382,729 +400,6 @@ RewriteRule ^gry-dla-dzieci/1$ gry-dla-dzieci [R=301,L] RewriteRule ^outlet$ index.php?category=27&lang=pl&%{QUERY_STRING} [L] RewriteRule ^outlet/([0-9]+)$ index.php?category=27&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^outlet/1$ outlet [R=301,L] -RewriteRule ^apaszka-kroliki-na-hustawkach-na-granatowym(?:/([0-9-]+))?$ index.php?product=121&permutation_hash=$1 [L] -RewriteRule ^apaszka-mama-bear-chmurki-mietowe(?:/([0-9-]+))?$ index.php?product=123&permutation_hash=$1 [L] -RewriteRule ^aspirator-do-nosa-bialy-babyono(?:/([0-9-]+))?$ index.php?product=802&permutation_hash=$1 [L] -RewriteRule ^aspirator-do-nosa-niebieski-babyono(?:/([0-9-]+))?$ index.php?product=800&permutation_hash=$1 [L] -RewriteRule ^aspirator-do-nosa-rozowy-babyono(?:/([0-9-]+))?$ index.php?product=801&permutation_hash=$1 [L] -RewriteRule ^bezpieczne-nozyczki-do-paznokci-dla-dzieci-i-niemowlat-babyono(?:/([0-9-]+))?$ index.php?product=832&permutation_hash=$1 [L] -RewriteRule ^bibs-gryzak-silikonowy-heart-mustard(?:/([0-9-]+))?$ index.php?product=284&permutation_hash=$1 [L] -RewriteRule ^bibs-baby-bitie-gryzak-dla-niemowlat-heart-peach(?:/([0-9-]+))?$ index.php?product=285&permutation_hash=$1 [L] -RewriteRule ^bibs-baby-bitie-gryzak-dla-niemowlat-heart-sage(?:/([0-9-]+))?$ index.php?product=350&permutation_hash=$1 [L] -RewriteRule ^bibs-baby-bitie-gryzak-dla-niemowlat-star-baby-blue(?:/([0-9-]+))?$ index.php?product=287&permutation_hash=$1 [L] -RewriteRule ^bibs-baby-bitie-gryzak-dla-niemowlat-star-blush(?:/([0-9-]+))?$ index.php?product=288&permutation_hash=$1 [L] -RewriteRule ^bibs-baby-bitie-gryzak-dla-niemowlat-star-ivory(?:/([0-9-]+))?$ index.php?product=289&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-baby-blue-one-size(?:/([0-9-]+))?$ index.php?product=282&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-baby-pink-one-size(?:/([0-9-]+))?$ index.php?product=277&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-blossom-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=854&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-blush-one-size(?:/([0-9-]+))?$ index.php?product=278&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-cloud-one-size(?:/([0-9-]+))?$ index.php?product=280&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-coral-one-size(?:/([0-9-]+))?$ index.php?product=300&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-dusky-lilac-one-size(?:/([0-9-]+))?$ index.php?product=283&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-forest-lake-white-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=856&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-heather-white-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=857&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-ivory-one-size(?:/([0-9-]+))?$ index.php?product=279&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-mustard-one-size(?:/([0-9-]+))?$ index.php?product=281&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-olive-one-size(?:/([0-9-]+))?$ index.php?product=301&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-petrol-one-size(?:/([0-9-]+))?$ index.php?product=302&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-ruby-one-size(?:/([0-9-]+))?$ index.php?product=338&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-sage-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=352&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-steel-blue-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=855&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-2-pack-cloud-steel-blue-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=751&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-2-pack-coral-ruby-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=376&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-2-pack-dusky-lilac-heather-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=375&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-2-pack-honey-bee-olivie-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=377&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-2-pack-cloud-black-one-size-0-36m(?:/([0-9-]+))?$ index.php?product=374&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-2-pack-iron-baby-blue-one-size(?:/([0-9-]+))?$ index.php?product=357&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-2-pack-ivory-baby-pink-one-size(?:/([0-9-]+))?$ index.php?product=356&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-2-pack-mustard-petrol-one-size(?:/([0-9-]+))?$ index.php?product=355&permutation_hash=$1 [L] -RewriteRule ^bibs-de-lux-smoczek-uspokajajacy-silikonowy-2-pack-sage-green-hunter-one-size(?:/([0-9-]+))?$ index.php?product=358&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-apricot-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=652&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-baby-blue-rozm-m(?:/([0-9-]+))?$ index.php?product=258&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-baby-blue-rozm-s(?:/([0-9-]+))?$ index.php?product=247&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-baby-blue-night-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=666&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-baby-pink-rozm-m(?:/([0-9-]+))?$ index.php?product=257&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-baby-pink-rozm-s(?:/([0-9-]+))?$ index.php?product=248&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-black-night-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=664&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-blossom-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=568&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-blossom-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=567&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-blush-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=654&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-blush-night-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=667&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-blush-night-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=668&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-clear-water-rozm-m(?:/([0-9-]+))?$ index.php?product=332&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-clear-water-rozm-s(?:/([0-9-]+))?$ index.php?product=331&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-cloud-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=659&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-cloud-rozm-s(?:/([0-9-]+))?$ index.php?product=252&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-coral-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=660&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-coral-rozm-s(?:/([0-9-]+))?$ index.php?product=250&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-dark-oak-night-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=669&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-dark-teal-rozm-s(?:/([0-9-]+))?$ index.php?product=251&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-dusky-lilac-rozm-m(?:/([0-9-]+))?$ index.php?product=334&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-dusky-lilac-rozm-s(?:/([0-9-]+))?$ index.php?product=330&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-haze-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=672&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-heather-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=662&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-island-sea-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=663&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-lavender-rozm-m(?:/([0-9-]+))?$ index.php?product=255&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-lavender-rozm-s(?:/([0-9-]+))?$ index.php?product=290&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-midnight-rozm-m(?:/([0-9-]+))?$ index.php?product=253&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-midnight-rozm-s(?:/([0-9-]+))?$ index.php?product=263&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-mint-rozm-m(?:/([0-9-]+))?$ index.php?product=333&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-mint-rozm-s(?:/([0-9-]+))?$ index.php?product=249&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-mustard-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=361&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-mustard-rozm-s(?:/([0-9-]+))?$ index.php?product=265&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-olive-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=673&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-olive-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=674&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-orchid-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=670&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajcy-kauczukowy-orchid-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=671&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-petrol-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=657&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-petrol-rozm-s(?:/([0-9-]+))?$ index.php?product=329&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-pistachio-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=658&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-pistachio-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=342&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-raspberry-rozm-m(?:/([0-9-]+))?$ index.php?product=335&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-raspberry-rozm-s(?:/([0-9-]+))?$ index.php?product=291&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-ruby-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=656&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-ruby-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=655&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-sage-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=653&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-sage-night-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=676&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-sage-night-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=675&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-sand-rozm-m(?:/([0-9-]+))?$ index.php?product=256&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-strawberry-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=661&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-strawberry-rozm-s(?:/([0-9-]+))?$ index.php?product=264&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-vanilla-night-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=677&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-white-rozm-m(?:/([0-9-]+))?$ index.php?product=254&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-white-rozm-s(?:/([0-9-]+))?$ index.php?product=262&permutation_hash=$1 [L] -RewriteRule ^bibs-smoczek-uspokajajacy-kauczukowy-wine-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=665&permutation_hash=$1 [L] -RewriteRule ^bibs-tie-dye-smoczek-uspokajajacy-kauczukowy-blush-ivory-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=695&permutation_hash=$1 [L] -RewriteRule ^bibs-tie-dye-smoczek-uspokajajacy-kauczukowy-blush-ivory-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=697&permutation_hash=$1 [L] -RewriteRule ^bibs-tie-dye-smoczek-uspokajajacy-kauczukowy-cloud-ivory-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=694&permutation_hash=$1 [L] -RewriteRule ^bibs-tie-dye-smoczek-uspokajajacy-kauczukowy-cloud-ivory-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=698&permutation_hash=$1 [L] -RewriteRule ^bibs-tie-dye-smoczek-uspokajajacy-kauczukowy-mustard-ivory-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=692&permutation_hash=$1 [L] -RewriteRule ^bibs-tie-dye-smoczek-uspokajajacy-kauczukowy-mustard-ivory-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=699&permutation_hash=$1 [L] -RewriteRule ^bibs-tie-dye-smoczek-uspokajajacy-kauczukowy-sage-ivory-rozm-m-6m(?:/([0-9-]+))?$ index.php?product=693&permutation_hash=$1 [L] -RewriteRule ^bibs-tie-dye-smoczek-uspokajajacy-kauczukowy-sage-ivory-rozm-s-0m(?:/([0-9-]+))?$ index.php?product=696&permutation_hash=$1 [L] -RewriteRule ^bidon-niekapek-ze-slomka-gelato-banana-split-bbox(?:/([0-9-]+))?$ index.php?product=714&permutation_hash=$1 [L] -RewriteRule ^bidon-niekapek-ze-slomka-gelato-boysenberry-bbox(?:/([0-9-]+))?$ index.php?product=777&permutation_hash=$1 [L] -RewriteRule ^bidon-niekapek-ze-slomka-gelato-bubblegum-b-box(?:/([0-9-]+))?$ index.php?product=364&permutation_hash=$1 [L] -RewriteRule ^bidon-niekapek-ze-slomka-gelato-pistachio-b-box(?:/([0-9-]+))?$ index.php?product=363&permutation_hash=$1 [L] -RewriteRule ^bidon-niekapek-ze-slomka-gelato-tutti-frutti-b-box(?:/([0-9-]+))?$ index.php?product=362&permutation_hash=$1 [L] -RewriteRule ^bidon-niekapek-ze-slomka-glow-in-the-dark-bbox(?:/([0-9-]+))?$ index.php?product=713&permutation_hash=$1 [L] -RewriteRule ^bidon-ze-slomka-500-ml-dzikie-zwierzeta-rex-london(?:/([0-9-]+))?$ index.php?product=843&permutation_hash=$1 [L] -RewriteRule ^bidon-ze-slomka-500-ml-kosmos-rex-london(?:/([0-9-]+))?$ index.php?product=784&permutation_hash=$1 [L] -RewriteRule ^bidon-ze-slomka-500-ml-kotek-cookie-rex-london(?:/([0-9-]+))?$ index.php?product=778&permutation_hash=$1 [L] -RewriteRule ^bidon-ze-slomka-500-ml-lama-dolly-rex-london(?:/([0-9-]+))?$ index.php?product=779&permutation_hash=$1 [L] -RewriteRule ^bidon-ze-slomka-500-ml-leniwiec-rex-london(?:/([0-9-]+))?$ index.php?product=780&permutation_hash=$1 [L] -RewriteRule ^bidon-ze-slomka-500-ml-magiczny-jednorozec-rex-london-kopia(?:/([0-9-]+))?$ index.php?product=781&permutation_hash=$1 [L] -RewriteRule ^bidon-ze-slomka-500-ml-panda-miko-rex-london(?:/([0-9-]+))?$ index.php?product=782&permutation_hash=$1 [L] -RewriteRule ^bidon-ze-slomka-500-ml-zwierzatka-rex-london(?:/([0-9-]+))?$ index.php?product=783&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-choinka(?:/([0-9-]+))?$ index.php?product=1004&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-choinka-3d(?:/([0-9-]+))?$ index.php?product=1000&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-choinka-z-prezentami(?:/([0-9-]+))?$ index.php?product=1008&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-choinki(?:/([0-9-]+))?$ index.php?product=1009&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-girlanda(?:/([0-9-]+))?$ index.php?product=1007&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-gwiazdka-3d(?:/([0-9-]+))?$ index.php?product=1001&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-mikolaj(?:/([0-9-]+))?$ index.php?product=1006&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-renifer(?:/([0-9-]+))?$ index.php?product=1003&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-renifer-3d(?:/([0-9-]+))?$ index.php?product=1002&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-reniferek(?:/([0-9-]+))?$ index.php?product=1005&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-sniezynka(?:/([0-9-]+))?$ index.php?product=999&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-3d-kula-sniezna-kotek(?:/([0-9-]+))?$ index.php?product=1010&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-3d-kula-sniezna-kroliczek(?:/([0-9-]+))?$ index.php?product=1011&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-3d-kula-sniezna-lisek(?:/([0-9-]+))?$ index.php?product=1014&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-3d-kula-sniezna-misiek(?:/([0-9-]+))?$ index.php?product=1015&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-3d-kula-sniezna-pingwinek(?:/([0-9-]+))?$ index.php?product=1013&permutation_hash=$1 [L] -RewriteRule ^bombka-choinkowa-drewniana-3d-kula-sniezna-reniferek(?:/([0-9-]+))?$ index.php?product=1012&permutation_hash=$1 [L] -RewriteRule ^breloczek-dla-dziecka-batman(?:/([0-9-]+))?$ index.php?product=1035&permutation_hash=$1 [L] -RewriteRule ^breloczek-dla-dziecka-rolka(?:/([0-9-]+))?$ index.php?product=1045&permutation_hash=$1 [L] -RewriteRule ^breloczek-dla-dziecka-spider-man(?:/([0-9-]+))?$ index.php?product=1034&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-gamepad(?:/([0-9-]+))?$ index.php?product=949&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-jednorozec(?:/([0-9-]+))?$ index.php?product=956&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-korona(?:/([0-9-]+))?$ index.php?product=996&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-kotek(?:/([0-9-]+))?$ index.php?product=951&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-piesek(?:/([0-9-]+))?$ index.php?product=950&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-pilka(?:/([0-9-]+))?$ index.php?product=952&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-pszczolka(?:/([0-9-]+))?$ index.php?product=955&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-rakieta(?:/([0-9-]+))?$ index.php?product=953&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-smok(?:/([0-9-]+))?$ index.php?product=954&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dla-dziecka-super-dziewczyna(?:/([0-9-]+))?$ index.php?product=997&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dzien-babci-kocham-cie-babciu(?:/([0-9-]+))?$ index.php?product=1093&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dzien-babci-kwiaty(?:/([0-9-]+))?$ index.php?product=1094&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dzien-babci-najlepsza-babcia-na-swiecie(?:/([0-9-]+))?$ index.php?product=1095&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dzien-dziadka-kocham-cie-dziadku(?:/([0-9-]+))?$ index.php?product=1090&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dzien-dziadka-najlepszy-dziadek-na-swiecie(?:/([0-9-]+))?$ index.php?product=1092&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-dzien-dziadka-wasy(?:/([0-9-]+))?$ index.php?product=1091&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-na-dzien-mamy-kocham-cie-mamo(?:/([0-9-]+))?$ index.php?product=1076&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-na-dzien-mamy-kocham-cie-mamusiu(?:/([0-9-]+))?$ index.php?product=1106&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-na-dzien-ojca-kocham-cie-tato(?:/([0-9-]+))?$ index.php?product=1077&permutation_hash=$1 [L] -RewriteRule ^brelok-do-kluczy-na-dzien-ojca-kocham-cie-tatusiu(?:/([0-9-]+))?$ index.php?product=1107&permutation_hash=$1 [L] -RewriteRule ^brelok-spotify-drewniany-z-twoja-piosenka(?:/([0-9-]+))?$ index.php?product=1033&permutation_hash=$1 [L] -RewriteRule ^butelka-tritanowa-ze-slomka-450-ml-blue-slate-bbox(?:/([0-9-]+))?$ index.php?product=716&permutation_hash=$1 [L] -RewriteRule ^butelka-tritanowa-ze-slomka-450-ml-emerald-forest-bbox(?:/([0-9-]+))?$ index.php?product=841&permutation_hash=$1 [L] -RewriteRule ^butelka-tritanowa-ze-slomka-450-ml-indygo-rose-bbox(?:/([0-9-]+))?$ index.php?product=717&permutation_hash=$1 [L] -RewriteRule ^butelka-tritanowa-ze-slomka-450-ml-lemon-sherbet-bbox(?:/([0-9-]+))?$ index.php?product=769&permutation_hash=$1 [L] -RewriteRule ^butelka-tritanowa-ze-slomka-450-ml-lilac-pop-bbox(?:/([0-9-]+))?$ index.php?product=842&permutation_hash=$1 [L] -RewriteRule ^butelka-tritanowa-ze-slomka-450-ml-ocean-breeze-bbox(?:/([0-9-]+))?$ index.php?product=770&permutation_hash=$1 [L] -RewriteRule ^butelka-tritanowa-ze-slomka-450-ml-passion-splash-bbox(?:/([0-9-]+))?$ index.php?product=718&permutation_hash=$1 [L] -RewriteRule ^cazki-do-paznokci-dla-dzieci-i-niemowlat-biale-babyono(?:/([0-9-]+))?$ index.php?product=829&permutation_hash=$1 [L] -RewriteRule ^cazki-do-paznokci-dla-dzieci-i-niemowlat-mietowe-babyono(?:/([0-9-]+))?$ index.php?product=830&permutation_hash=$1 [L] -RewriteRule ^cazki-do-paznokci-dla-dzieci-i-niemowlat-szare-babyono(?:/([0-9-]+))?$ index.php?product=831&permutation_hash=$1 [L] -RewriteRule ^chusta-dziecieca-frozen-garden(?:/([0-9-]+))?$ index.php?product=306&permutation_hash=$1 [L] -RewriteRule ^chusta-dziecieca-kwiaty-i-motyle(?:/([0-9-]+))?$ index.php?product=274&permutation_hash=$1 [L] -RewriteRule ^chusta-dziecieca-liski-i-ryjowki(?:/([0-9-]+))?$ index.php?product=269&permutation_hash=$1 [L] -RewriteRule ^chusta-dziecieca-lapacze-snow-i-peonie(?:/([0-9-]+))?$ index.php?product=273&permutation_hash=$1 [L] -RewriteRule ^chusta-dziecieca-przytulaki(?:/([0-9-]+))?$ index.php?product=272&permutation_hash=$1 [L] -RewriteRule ^chusta-dziecieca-safari(?:/([0-9-]+))?$ index.php?product=270&permutation_hash=$1 [L] -RewriteRule ^chusta-dziecieca-tukany-i-papugi-w-tropikach(?:/([0-9-]+))?$ index.php?product=268&permutation_hash=$1 [L] -RewriteRule ^chusta-dziecieca-vintage-roses(?:/([0-9-]+))?$ index.php?product=275&permutation_hash=$1 [L] -RewriteRule ^chusta-dziecieca-wiosna-w-ogrodzie(?:/([0-9-]+))?$ index.php?product=276&permutation_hash=$1 [L] -RewriteRule ^czapka-dziecieca-frozen-garden(?:/([0-9-]+))?$ index.php?product=305&permutation_hash=$1 [L] -RewriteRule ^czapka-dziecieca-kwiaty-i-motyle(?:/([0-9-]+))?$ index.php?product=234&permutation_hash=$1 [L] -RewriteRule ^czapka-dziecieca-liski-i-ryjowki(?:/([0-9-]+))?$ index.php?product=231&permutation_hash=$1 [L] -RewriteRule ^czapka-dziecieca-lapacze-snow-i-peonie(?:/([0-9-]+))?$ index.php?product=230&permutation_hash=$1 [L] -RewriteRule ^czapka-dziecieca-przytulaki(?:/([0-9-]+))?$ index.php?product=229&permutation_hash=$1 [L] -RewriteRule ^czapka-dziecieca-safari-biala(?:/([0-9-]+))?$ index.php?product=212&permutation_hash=$1 [L] -RewriteRule ^czapka-dziecieca-tukany-i-papugi-w-tropikach-czarne(?:/([0-9-]+))?$ index.php?product=213&permutation_hash=$1 [L] -RewriteRule ^czapka-dziecieca-vintage-roses(?:/([0-9-]+))?$ index.php?product=232&permutation_hash=$1 [L] -RewriteRule ^czapka-dziecieca-wiosna-w-ogrodzie(?:/([0-9-]+))?$ index.php?product=233&permutation_hash=$1 [L] -RewriteRule ^delikatna-gabka-dla-niemowlat-niebieska-babyono(?:/([0-9-]+))?$ index.php?product=840&permutation_hash=$1 [L] -RewriteRule ^delikatna-gabka-dla-niemowlat-rozowa-babyono(?:/([0-9-]+))?$ index.php?product=839&permutation_hash=$1 [L] -RewriteRule ^delikatna-gabka-dla-niemowlat-zielona-babyono(?:/([0-9-]+))?$ index.php?product=838&permutation_hash=$1 [L] -RewriteRule ^drewniana-dekoracja-do-pokoju-ksiezyc-dream-big-little-one(?:/([0-9-]+))?$ index.php?product=1101&permutation_hash=$1 [L] -RewriteRule ^drewniana-girlanda-z-imieniem-dziecka-galazka(?:/([0-9-]+))?$ index.php?product=1096&permutation_hash=$1 [L] -RewriteRule ^girlanda-drewniana-kwiaty(?:/([0-9-]+))?$ index.php?product=1070&permutation_hash=$1 [L] -RewriteRule ^girlanda-drewniana-safari(?:/([0-9-]+))?$ index.php?product=1071&permutation_hash=$1 [L] -RewriteRule ^girlanda-drewniana-trojkaty(?:/([0-9-]+))?$ index.php?product=1069&permutation_hash=$1 [L] -RewriteRule ^drewniana-karta-swiateczna-choinka(?:/([0-9-]+))?$ index.php?product=1017&permutation_hash=$1 [L] -RewriteRule ^drewniana-karta-swiateczna-girlanda(?:/([0-9-]+))?$ index.php?product=1019&permutation_hash=$1 [L] -RewriteRule ^drewniana-karta-swiateczna-mikolaj-z-saniami(?:/([0-9-]+))?$ index.php?product=1018&permutation_hash=$1 [L] -RewriteRule ^drewniana-karta-swiateczna-renifer(?:/([0-9-]+))?$ index.php?product=1016&permutation_hash=$1 [L] -RewriteRule ^drewniana-linijka-z-grawerem-dinozaury(?:/([0-9-]+))?$ index.php?product=1062&permutation_hash=$1 [L] -RewriteRule ^drewniana-linijka-z-grawerem-minecraft(?:/([0-9-]+))?$ index.php?product=1063&permutation_hash=$1 [L] -RewriteRule ^drewniana-linijka-z-grawerem-motylki(?:/([0-9-]+))?$ index.php?product=1061&permutation_hash=$1 [L] -RewriteRule ^drewniana-linijka-z-grawerem-pokemon(?:/([0-9-]+))?$ index.php?product=1064&permutation_hash=$1 [L] -RewriteRule ^drewniana-linijka-z-grawerem-super-chlopak(?:/([0-9-]+))?$ index.php?product=1060&permutation_hash=$1 [L] -RewriteRule ^drewniana-linijka-z-grawerem-super-dziewczyna(?:/([0-9-]+))?$ index.php?product=1059&permutation_hash=$1 [L] -RewriteRule ^metryczka-drewniana-chmurka(?:/([0-9-]+))?$ index.php?product=1074&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-imieniem-na-chrzest-swiety(?:/([0-9-]+))?$ index.php?product=1026&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-do-zdjec-z-grawerem-okragla-15-cm(?:/([0-9-]+))?$ index.php?product=998&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-na-dzien-babci-krzyzowka(?:/([0-9-]+))?$ index.php?product=1036&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-na-dzien-dziadka-krzyzowka(?:/([0-9-]+))?$ index.php?product=1037&permutation_hash=$1 [L] -RewriteRule ^tabliczka-serduszko-z-imieniem-dziecka(?:/([0-9-]+))?$ index.php?product=1075&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-grawerem-napis-czekamy-na-ciebie(?:/([0-9-]+))?$ index.php?product=1120&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-grawerem-napis-czekamy-na-ciebie(?:/([0-9-]+))?$ index.php?product=882&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-grawerem-napis-moja-pierwsza-gwiazdka(?:/([0-9-]+))?$ index.php?product=874&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-grawerem-napis-moj-pierwszy-kroczek(?:/([0-9-]+))?$ index.php?product=871&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-grawerem-napis-mowie-tata(?:/([0-9-]+))?$ index.php?product=869&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-grawerem-napis-mowie-tata(?:/([0-9-]+))?$ index.php?product=870&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-grawerem-napis-witaj-na-swiecie(?:/([0-9-]+))?$ index.php?product=875&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-grawerem-z-imieniem-dziecka(?:/([0-9-]+))?$ index.php?product=872&permutation_hash=$1 [L] -RewriteRule ^drewniana-tabliczka-z-imieniem-dziecka-serduszko(?:/([0-9-]+))?$ index.php?product=1027&permutation_hash=$1 [L] -RewriteRule ^drewniane-tabliczki-z-grawerem-sesja-ciazowa-galazka(?:/([0-9-]+))?$ index.php?product=889&permutation_hash=$1 [L] -RewriteRule ^drewniane-tabliczki-z-grawerem-z-miesiacami-do-zdjec-galazka(?:/([0-9-]+))?$ index.php?product=868&permutation_hash=$1 [L] -RewriteRule ^tabliczki-z-miesiacami-kwiaty(?:/([0-9-]+))?$ index.php?product=858&permutation_hash=$1 [L] -RewriteRule ^drewniane-tabliczki-z-grawerem-z-miesiacami-do-zdjec-oktagon-kwiaty(?:/([0-9-]+))?$ index.php?product=876&permutation_hash=$1 [L] -RewriteRule ^drewniane-tabliczki-z-grawerem-z-miesiacami-do-zdjec-oktagon-kwiaty-3d(?:/([0-9-]+))?$ index.php?product=907&permutation_hash=$1 [L] -RewriteRule ^drewniane-tabliczki-z-grawerem-z-miesiacami-do-zdjec-serduszko(?:/([0-9-]+))?$ index.php?product=859&permutation_hash=$1 [L] -RewriteRule ^drewniane-tabliczki-z-miesiacami-do-zdjec-dinozaury(?:/([0-9-]+))?$ index.php?product=964&permutation_hash=$1 [L] -RewriteRule ^drewniane-tabliczki-z-miesiacami-do-zdjec-kwiatki(?:/([0-9-]+))?$ index.php?product=963&permutation_hash=$1 [L] -RewriteRule ^drewniane-tabliczki-z-miesiacami-do-zdjec-misie(?:/([0-9-]+))?$ index.php?product=965&permutation_hash=$1 [L] -RewriteRule ^drewniane-tabliczki-z-nadrukiem-z-miesiacami-do-zdjec-kwiaty(?:/([0-9-]+))?$ index.php?product=878&permutation_hash=$1 [L] -RewriteRule ^drewniany-magnes-na-dzien-babci-i-dziadka-kolko-z-kwiatuszkiem(?:/([0-9-]+))?$ index.php?product=1028&permutation_hash=$1 [L] -RewriteRule ^drewniany-magnes-na-dzien-babci-i-dziadka-kolko-z-serduszkiem(?:/([0-9-]+))?$ index.php?product=1029&permutation_hash=$1 [L] -RewriteRule ^drewniany-magnes-na-dzien-babci-i-dziadka-postacie(?:/([0-9-]+))?$ index.php?product=1032&permutation_hash=$1 [L] -RewriteRule ^drewniany-magnes-na-dzien-babci-i-dziadka-serduszko-kocham-cie-babciu(?:/([0-9-]+))?$ index.php?product=1031&permutation_hash=$1 [L] -RewriteRule ^drewniany-magnes-na-dzien-babci-i-dziadka-serduszko-kocham-cie-dziadku(?:/([0-9-]+))?$ index.php?product=1030&permutation_hash=$1 [L] -RewriteRule ^drewniany-wianek-bozonarodzeniowy-dzwonek(?:/([0-9-]+))?$ index.php?product=1021&permutation_hash=$1 [L] -RewriteRule ^drewniany-wianek-bozonarodzeniowy-kokardka(?:/([0-9-]+))?$ index.php?product=1020&permutation_hash=$1 [L] -RewriteRule ^drewniany-wieszak-z-grawerem-golabki(?:/([0-9-]+))?$ index.php?product=1039&permutation_hash=$1 [L] -RewriteRule ^drewniany-wieszak-z-grawerem-kotek(?:/([0-9-]+))?$ index.php?product=1041&permutation_hash=$1 [L] -RewriteRule ^drewniany-wieszak-z-grawerem-misiek(?:/([0-9-]+))?$ index.php?product=1043&permutation_hash=$1 [L] -RewriteRule ^drewniany-wieszak-z-grawerem-serduszka(?:/([0-9-]+))?$ index.php?product=1044&permutation_hash=$1 [L] -RewriteRule ^drewniany-wieszak-z-grawerem-skrzydelka-aniolka(?:/([0-9-]+))?$ index.php?product=1038&permutation_hash=$1 [L] -RewriteRule ^p-1040-drewniany-wieszak-z-grawerem-skrzydelka-aniolka-kopia(?:/([0-9-]+))?$ index.php?product=1040&permutation_hash=$1 [L] -RewriteRule ^drewniany-wieszak-z-grawerem-stopki(?:/([0-9-]+))?$ index.php?product=1042&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-blush-mushie(?:/([0-9-]+))?$ index.php?product=739&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-cambrige-blue-mushie(?:/([0-9-]+))?$ index.php?product=744&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-cloudy-mauve-mushie(?:/([0-9-]+))?$ index.php?product=748&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-dried-thyme-mushie(?:/([0-9-]+))?$ index.php?product=747&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-natural-mushie(?:/([0-9-]+))?$ index.php?product=746&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-pale-daffodil-mushie(?:/([0-9-]+))?$ index.php?product=742&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-powder-blue-mushie(?:/([0-9-]+))?$ index.php?product=740&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-shifting-sand-mushie(?:/([0-9-]+))?$ index.php?product=743&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-soft-lilac-mushie(?:/([0-9-]+))?$ index.php?product=741&permutation_hash=$1 [L] -RewriteRule ^etui-na-smoczek-do-wozka-kula-stone-mushie(?:/([0-9-]+))?$ index.php?product=745&permutation_hash=$1 [L] -RewriteRule ^gra-memory-dla-dzieci-emoji(?:/([0-9-]+))?$ index.php?product=894&permutation_hash=$1 [L] -RewriteRule ^gra-memory-dla-dzieci-owoce(?:/([0-9-]+))?$ index.php?product=893&permutation_hash=$1 [L] -RewriteRule ^gra-memory-dla-dzieci-zwierzeta(?:/([0-9-]+))?$ index.php?product=892&permutation_hash=$1 [L] -RewriteRule ^grawerowana-rakieta-na-dzien-chlopaka-wzor-4(?:/([0-9-]+))?$ index.php?product=1100&permutation_hash=$1 [L] -RewriteRule ^gryzak-masujcy-mini-blue-matchstick-monkey(?:/([0-9-]+))?$ index.php?product=680&permutation_hash=$1 [L] -RewriteRule ^gryzak-masujcy-mini-green-matchstick-monkey(?:/([0-9-]+))?$ index.php?product=681&permutation_hash=$1 [L] -RewriteRule ^gryzak-masujcy-mini-grey-matchstick-monkey(?:/([0-9-]+))?$ index.php?product=678&permutation_hash=$1 [L] -RewriteRule ^p-683-gryzak-masujacy-mini-light-blue-matchstick-monkey(?:/([0-9-]+))?$ index.php?product=683&permutation_hash=$1 [L] -RewriteRule ^gryzak-masujcy-mini-orange-matchstick-monkey(?:/([0-9-]+))?$ index.php?product=684&permutation_hash=$1 [L] -RewriteRule ^gryzak-masujcy-mini-pink-matchstick-monkey(?:/([0-9-]+))?$ index.php?product=685&permutation_hash=$1 [L] -RewriteRule ^gryzak-masujcy-mini-red-matchstick-monkey(?:/([0-9-]+))?$ index.php?product=682&permutation_hash=$1 [L] -RewriteRule ^gryzak-masujcy-mini-yellow-matchstick-monkey(?:/([0-9-]+))?$ index.php?product=679&permutation_hash=$1 [L] -RewriteRule ^gryzak-silikonowy-bransoletka-bear-dried-thyme-mushie(?:/([0-9-]+))?$ index.php?product=687&permutation_hash=$1 [L] -RewriteRule ^gryzak-silikonowy-bransoletka-bear-natural-mushie(?:/([0-9-]+))?$ index.php?product=688&permutation_hash=$1 [L] -RewriteRule ^gryzak-silikonowy-bransoletka-cat-stone-mushie(?:/([0-9-]+))?$ index.php?product=686&permutation_hash=$1 [L] -RewriteRule ^grzechotka-organiczna-miekka-kroliczek-oskar-niebieski-maud-n-lil(?:/([0-9-]+))?$ index.php?product=689&permutation_hash=$1 [L] -RewriteRule ^grzechotka-organiczna-miekka-kroliczek-oskar-rozowy-maud-n-lil(?:/([0-9-]+))?$ index.php?product=690&permutation_hash=$1 [L] -RewriteRule ^grzechotka-organiczna-miekka-niedzwiadek-cubby-brazowy-maud-n-lil(?:/([0-9-]+))?$ index.php?product=691&permutation_hash=$1 [L] -RewriteRule ^grzechotka-z-gryzakiem-i-szeleszczaca-folia-jednorozec-louise-liliputiens(?:/([0-9-]+))?$ index.php?product=811&permutation_hash=$1 [L] -RewriteRule ^grzechotka-z-gryzakiem-i-szeleszczaca-folia-lew-jack-liliputiens(?:/([0-9-]+))?$ index.php?product=813&permutation_hash=$1 [L] -RewriteRule ^grzechotka-z-gryzakiem-i-szeleszczaca-folia-lisiczka-alice-liliputiens(?:/([0-9-]+))?$ index.php?product=812&permutation_hash=$1 [L] -RewriteRule ^grzechotka-z-gryzakiem-i-szeleszczaca-folia-zyrafa-zia-liliputiens(?:/([0-9-]+))?$ index.php?product=814&permutation_hash=$1 [L] -RewriteRule ^p-1085-indywidualny-projekt(?:/([0-9-]+))?$ index.php?product=1085&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-krolik-z-pisankami(?:/([0-9-]+))?$ index.php?product=887&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-3d-kroliczek(?:/([0-9-]+))?$ index.php?product=879&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-3d-kroliczki(?:/([0-9-]+))?$ index.php?product=881&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-3d-kurczaczek(?:/([0-9-]+))?$ index.php?product=880&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-3d-w-skorupce(?:/([0-9-]+))?$ index.php?product=885&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-gaska(?:/([0-9-]+))?$ index.php?product=1111&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-kroliczek-z-marchewka(?:/([0-9-]+))?$ index.php?product=1109&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-krolis(?:/([0-9-]+))?$ index.php?product=1113&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-3d-kurczaczek-z-pisanka(?:/([0-9-]+))?$ index.php?product=1110&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-kurczaczki(?:/([0-9-]+))?$ index.php?product=1112&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-z-drewna-krolicze-uszy(?:/([0-9-]+))?$ index.php?product=1084&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-z-drewna-kroliczek(?:/([0-9-]+))?$ index.php?product=1078&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-z-drewna-kroliczki(?:/([0-9-]+))?$ index.php?product=1080&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-z-drewna-krolik-z-motylkiem(?:/([0-9-]+))?$ index.php?product=1082&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-z-drewna-kurczaczek(?:/([0-9-]+))?$ index.php?product=1079&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-3d-z-drewna-skorupka(?:/([0-9-]+))?$ index.php?product=1081&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-z-drewna-krolik-uszy(?:/([0-9-]+))?$ index.php?product=888&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-z-drewna-krolik-z-motylkiem(?:/([0-9-]+))?$ index.php?product=886&permutation_hash=$1 [L] -RewriteRule ^jajko-wielkanocne-pisanka-z-drewna-krolik-z-pisankami(?:/([0-9-]+))?$ index.php?product=1083&permutation_hash=$1 [L] -RewriteRule ^kocyk-niemowlaka-groszki-jasna-mieta-srebrny(?:/([0-9-]+))?$ index.php?product=17&permutation_hash=$1 [L] -RewriteRule ^kocyk-niemowlaka-jezyki-mietowe-na-bialym-mietowy(?:/([0-9-]+))?$ index.php?product=128&permutation_hash=$1 [L] -RewriteRule ^kocyk-niemowlaka-koniki-na-biegunach-mietowy(?:/([0-9-]+))?$ index.php?product=76&permutation_hash=$1 [L] -RewriteRule ^kocyk-niemowlaka-puch-szary-srebrny(?:/([0-9-]+))?$ index.php?product=1&permutation_hash=$1 [L] -RewriteRule ^kocyk-niemowlaka-szczeniak-z-balonikiem-fuksja(?:/([0-9-]+))?$ index.php?product=13&permutation_hash=$1 [L] -RewriteRule ^kocyk-niemowlaka-walentynka-rozowa-cukierkowy-roz(?:/([0-9-]+))?$ index.php?product=6&permutation_hash=$1 [L] -RewriteRule ^kocyk-przedszkolaka-kroliki-rajdowe-mietowy(?:/([0-9-]+))?$ index.php?product=14&permutation_hash=$1 [L] -RewriteRule ^kocyk-przedszkolaka-love-fuksja(?:/([0-9-]+))?$ index.php?product=9&permutation_hash=$1 [L] -RewriteRule ^kocyk-przedszkolaka-mama-bear-granatowy(?:/([0-9-]+))?$ index.php?product=2&permutation_hash=$1 [L] -RewriteRule ^kocyk-przedszkolaka-myszki-szaro-amarantowe-fuksja(?:/([0-9-]+))?$ index.php?product=11&permutation_hash=$1 [L] -RewriteRule ^kocyk-przedszkolaka-stella-duo-jasny-szary(?:/([0-9-]+))?$ index.php?product=8&permutation_hash=$1 [L] -RewriteRule ^kocyk-sredniaka-cute-teddy-grafitowy(?:/([0-9-]+))?$ index.php?product=4&permutation_hash=$1 [L] -RewriteRule ^kocyk-sredniaka-cyrkowe-pandy-grafitowy(?:/([0-9-]+))?$ index.php?product=5&permutation_hash=$1 [L] -RewriteRule ^kocyk-sredniaka-kolorowe-kokardki-jasny-blekit(?:/([0-9-]+))?$ index.php?product=40&permutation_hash=$1 [L] -RewriteRule ^kocyk-sredniaka-kroliki-na-hustawkach-na-zielonym-malinowy(?:/([0-9-]+))?$ index.php?product=3&permutation_hash=$1 [L] -RewriteRule ^kocyk-sredniaka-mama-bear-szary(?:/([0-9-]+))?$ index.php?product=10&permutation_hash=$1 [L] -RewriteRule ^kocyk-sredniaka-misie-piraci-z-niebieska-bandanka-granatowy(?:/([0-9-]+))?$ index.php?product=12&permutation_hash=$1 [L] -RewriteRule ^kocyk-sredniaka-sloniki-mietowo-zielone-mietowy(?:/([0-9-]+))?$ index.php?product=171&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-czerwony(?:/([0-9-]+))?$ index.php?product=101&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-fuksja(?:/([0-9-]+))?$ index.php?product=100&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-grafitowy(?:/([0-9-]+))?$ index.php?product=103&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-granatowo/czerwony(?:/([0-9-]+))?$ index.php?product=97&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-jasny-roz(?:/([0-9-]+))?$ index.php?product=95&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-khaki(?:/([0-9-]+))?$ index.php?product=96&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-malinowy(?:/([0-9-]+))?$ index.php?product=104&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-rozowo/bialy(?:/([0-9-]+))?$ index.php?product=98&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-sliwkowy(?:/([0-9-]+))?$ index.php?product=99&permutation_hash=$1 [L] -RewriteRule ^komin-dzieciecy-zolty(?:/([0-9-]+))?$ index.php?product=102&permutation_hash=$1 [L] -RewriteRule ^krem-do-twarzy-lagodzacy-50-ml-sylveco(?:/([0-9-]+))?$ index.php?product=757&permutation_hash=$1 [L] -RewriteRule ^krem-pielegnujacy-do-twarzy-i-ciala-300ml-sylveco(?:/([0-9-]+))?$ index.php?product=758&permutation_hash=$1 [L] -RewriteRule ^kremowy-szampon-i-plyn-do-kapieli-dla-dzieci-300ml-sylveco(?:/([0-9-]+))?$ index.php?product=759&permutation_hash=$1 [L] -RewriteRule ^ksiazeczka-do-kapieli-krokodyl-anatol-liliputiens(?:/([0-9-]+))?$ index.php?product=816&permutation_hash=$1 [L] -RewriteRule ^ksiazeczka-do-kapieli-lemur-george-liliputiens(?:/([0-9-]+))?$ index.php?product=817&permutation_hash=$1 [L] -RewriteRule ^ksiazeczka-do-kapieli-lisiczka-alice-liliputiens(?:/([0-9-]+))?$ index.php?product=815&permutation_hash=$1 [L] -RewriteRule ^ksiazeczka-do-kapieli-harmonijka-fiesta-las-liliputiens(?:/([0-9-]+))?$ index.php?product=819&permutation_hash=$1 [L] -RewriteRule ^ksiazeczka-do-kapieli-harmonijka-safari-dzungla-liliputiens(?:/([0-9-]+))?$ index.php?product=818&permutation_hash=$1 [L] -RewriteRule ^kubek-niekapek-z-uchwytami-i-z-mikserem-do-owocow-230ml-pastelowy-niebieski-twistshake(?:/([0-9-]+))?$ index.php?product=360&permutation_hash=$1 [L] -RewriteRule ^kubek-niekapek-z-uchwytami-i-z-mikserem-do-owocow-230ml-pastelowy-rozowy-twistshake(?:/([0-9-]+))?$ index.php?product=359&permutation_hash=$1 [L] -RewriteRule ^kubek-niekapek-z-uchwytami-i-z-mikserem-do-owocow-230ml-pastelowy-szary-twistshake(?:/([0-9-]+))?$ index.php?product=354&permutation_hash=$1 [L] -RewriteRule ^kubek-niewysypek-blw-gelato-banana-split-bbox(?:/([0-9-]+))?$ index.php?product=775&permutation_hash=$1 [L] -RewriteRule ^kubek-niewysypek-blw-gelato-boysenberry-bbox(?:/([0-9-]+))?$ index.php?product=776&permutation_hash=$1 [L] -RewriteRule ^kubek-niewysypek-blw-gelato-bubblegum-bbox(?:/([0-9-]+))?$ index.php?product=771&permutation_hash=$1 [L] -RewriteRule ^p-772-kubek-niewysypek-blw-gelato-pistachio-bbox(?:/([0-9-]+))?$ index.php?product=772&permutation_hash=$1 [L] -RewriteRule ^kubek-niewysypek-blw-gelato-tutti-frutti-bbox(?:/([0-9-]+))?$ index.php?product=773&permutation_hash=$1 [L] -RewriteRule ^kubek-niewysypek-blw-passion-splash-bbox(?:/([0-9-]+))?$ index.php?product=774&permutation_hash=$1 [L] -RewriteRule ^lagodzaca-zasypka-do-ciala-100-g-sylveco(?:/([0-9-]+))?$ index.php?product=767&permutation_hash=$1 [L] -RewriteRule ^lyzeczka-silikonowa-blue-beaba(?:/([0-9-]+))?$ index.php?product=822&permutation_hash=$1 [L] -RewriteRule ^lyzeczki-silikonowe-czerwono-niebieskie-b-box(?:/([0-9-]+))?$ index.php?product=365&permutation_hash=$1 [L] -RewriteRule ^lyzeczki-silikonowe-rozowo-fioletowe-b-box(?:/([0-9-]+))?$ index.php?product=367&permutation_hash=$1 [L] -RewriteRule ^lyzeczki-silikonowe-zielono-niebieskie-b-box(?:/([0-9-]+))?$ index.php?product=366&permutation_hash=$1 [L] -RewriteRule ^p-1025-magnes-podziekowanie-dla-gosci-na-chrzest-aniolek(?:/([0-9-]+))?$ index.php?product=1025&permutation_hash=$1 [L] -RewriteRule ^magnes-podziekowanie-dla-gosci-na-chrzest-stopa(?:/([0-9-]+))?$ index.php?product=1024&permutation_hash=$1 [L] -RewriteRule ^magnes-z-data-urodzenia-jednorozec(?:/([0-9-]+))?$ index.php?product=863&permutation_hash=$1 [L] -RewriteRule ^medal-dla-przedszkolaka-ucznia-ze-wstazka-dzieci(?:/([0-9-]+))?$ index.php?product=1105&permutation_hash=$1 [L] -RewriteRule ^medal-dla-przedszkolaka-ucznia-ze-wstazka-ksiazka(?:/([0-9-]+))?$ index.php?product=1102&permutation_hash=$1 [L] -RewriteRule ^medal-dla-przedszkolaka-ucznia-ze-wstazka-mis(?:/([0-9-]+))?$ index.php?product=1104&permutation_hash=$1 [L] -RewriteRule ^medal-dla-przedszkolaka-ucznia-ze-wstazka-sowa(?:/([0-9-]+))?$ index.php?product=1103&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-jednorozec(?:/([0-9-]+))?$ index.php?product=860&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-jednorozec-glowa(?:/([0-9-]+))?$ index.php?product=962&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-kotek-na-ksiezycu(?:/([0-9-]+))?$ index.php?product=958&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-kwiatowa(?:/([0-9-]+))?$ index.php?product=1114&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-lew(?:/([0-9-]+))?$ index.php?product=861&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-lisek(?:/([0-9-]+))?$ index.php?product=957&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-raczka(?:/([0-9-]+))?$ index.php?product=1115&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-safari(?:/([0-9-]+))?$ index.php?product=959&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-sowa(?:/([0-9-]+))?$ index.php?product=960&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-sowy(?:/([0-9-]+))?$ index.php?product=961&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-drewniana(?:/([0-9-]+))?$ index.php?product=877&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-magnes-kotek(?:/([0-9-]+))?$ index.php?product=864&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-magnes-lew(?:/([0-9-]+))?$ index.php?product=862&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-magnes-lisek(?:/([0-9-]+))?$ index.php?product=865&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-magnes-slonik(?:/([0-9-]+))?$ index.php?product=866&permutation_hash=$1 [L] -RewriteRule ^metryczka-dla-dziecka-magnes-zyrafka(?:/([0-9-]+))?$ index.php?product=867&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-bobas-w-czapce-misia(?:/([0-9-]+))?$ index.php?product=169&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-dinozaur(?:/([0-9-]+))?$ index.php?product=165&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-helikopter-w-chmurach(?:/([0-9-]+))?$ index.php?product=167&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-jednorozec(?:/([0-9-]+))?$ index.php?product=163&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-jednorozec-w-chmurkach(?:/([0-9-]+))?$ index.php?product=162&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-kot-jednorozec(?:/([0-9-]+))?$ index.php?product=155&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-kotek-ze-spiewajacym-ptaszkiem(?:/([0-9-]+))?$ index.php?product=160&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-kwiatowe-serce(?:/([0-9-]+))?$ index.php?product=156&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-lesne-zwierzeta-z-tipi(?:/([0-9-]+))?$ index.php?product=154&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-lew-w-koronie(?:/([0-9-]+))?$ index.php?product=164&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-lew-w-trawie(?:/([0-9-]+))?$ index.php?product=61&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-mis-koala(?:/([0-9-]+))?$ index.php?product=63&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-mis-marynarz(?:/([0-9-]+))?$ index.php?product=170&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-ze-zdjeciem-mis-w-piorkach(?:/([0-9-]+))?$ index.php?product=153&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-panda-pilot(?:/([0-9-]+))?$ index.php?product=168&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-samolot-w-chmurach(?:/([0-9-]+))?$ index.php?product=166&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-sarenka(?:/([0-9-]+))?$ index.php?product=159&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-slonik-z-ptaszkami(?:/([0-9-]+))?$ index.php?product=158&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-zyrafa-w-kwiatach(?:/([0-9-]+))?$ index.php?product=157&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-ze-zdjeciem-bocian(?:/([0-9-]+))?$ index.php?product=65&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-ze-zdjeciem-chlopczyk-na-ksiezycu(?:/([0-9-]+))?$ index.php?product=64&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-ze-zdjeciem-girlanda-z-gwiazdek(?:/([0-9-]+))?$ index.php?product=67&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-ze-zdjeciem-lisek-indianka(?:/([0-9-]+))?$ index.php?product=161&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-ze-zdjeciem-mis-panda-indianka(?:/([0-9-]+))?$ index.php?product=152&permutation_hash=$1 [L] -RewriteRule ^metryczka-dziecieca-ze-zdjeciem-serduszko-ze-swiatelkami(?:/([0-9-]+))?$ index.php?product=66&permutation_hash=$1 [L] -RewriteRule ^mini-pacynki-na-palec-do-kapieli-rybki-5-el-liliputiens(?:/([0-9-]+))?$ index.php?product=820&permutation_hash=$1 [L] -RewriteRule ^mini-lunchbox-blue-slate-bbox(?:/([0-9-]+))?$ index.php?product=852&permutation_hash=$1 [L] -RewriteRule ^mini-lunchbox-lemon-sherbet-bbox(?:/([0-9-]+))?$ index.php?product=853&permutation_hash=$1 [L] -RewriteRule ^mushie-2-pierwsze-szczoteczki-na-palec-blush-shifting-sand(?:/([0-9-]+))?$ index.php?product=297&permutation_hash=$1 [L] -RewriteRule ^mushie-2-pierwsze-szczoteczki-na-palec-cambrige-blue-shifting-sand(?:/([0-9-]+))?$ index.php?product=298&permutation_hash=$1 [L] -RewriteRule ^mushie-2-pierwsze-szczoteczki-na-palec-clay-shifting-sand(?:/([0-9-]+))?$ index.php?product=299&permutation_hash=$1 [L] -RewriteRule ^mushie-2-pierwsze-szczoteczki-na-palec-stone-tradewinds(?:/([0-9-]+))?$ index.php?product=296&permutation_hash=$1 [L] -RewriteRule ^obraz-azurowy-drewniany-drzewo-zycia(?:/([0-9-]+))?$ index.php?product=1067&permutation_hash=$1 [L] -RewriteRule ^obraz-azurowy-drewniany-natura(?:/([0-9-]+))?$ index.php?product=1068&permutation_hash=$1 [L] -RewriteRule ^obraz-azurowy-drewniany-wilk(?:/([0-9-]+))?$ index.php?product=1066&permutation_hash=$1 [L] -RewriteRule ^odzywka-ulatwiajaca-rozczesywanie-wlosow-150ml-sylveco(?:/([0-9-]+))?$ index.php?product=763&permutation_hash=$1 [L] -RewriteRule ^oliwka-do-ciala-z-betulina-200ml-sylveco(?:/([0-9-]+))?$ index.php?product=762&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-calineczka(?:/([0-9-]+))?$ index.php?product=139&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-groszki-na-granatowym(?:/([0-9-]+))?$ index.php?product=144&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-jezyki-mietowe-na-bialym(?:/([0-9-]+))?$ index.php?product=130&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-kolorowe-sowy-indianki(?:/([0-9-]+))?$ index.php?product=151&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-koniki-na-biegunach(?:/([0-9-]+))?$ index.php?product=149&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-kroliki-na-hustawkach-na-bialym(?:/([0-9-]+))?$ index.php?product=148&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-kroliki-na-hustawkach-na-granatowym(?:/([0-9-]+))?$ index.php?product=147&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-kroliki-na-chustawkach(?:/([0-9-]+))?$ index.php?product=136&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-love(?:/([0-9-]+))?$ index.php?product=143&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-love-rozowo-mietowo-szare-na-bialym(?:/([0-9-]+))?$ index.php?product=150&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-lapacz-snow-z-jaskolka-niebieska-na-bialym-tle(?:/([0-9-]+))?$ index.php?product=131&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-maly-ksiaze(?:/([0-9-]+))?$ index.php?product=138&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-misie-koala-w-drzewkach-na-granatowym(?:/([0-9-]+))?$ index.php?product=145&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-myszki-na-serowych-gwiazdkach(?:/([0-9-]+))?$ index.php?product=133&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-niebieskie-sowy(?:/([0-9-]+))?$ index.php?product=146&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-puch-szary(?:/([0-9-]+))?$ index.php?product=142&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-rowery-sowy(?:/([0-9-]+))?$ index.php?product=140&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-rozowe-sowy(?:/([0-9-]+))?$ index.php?product=137&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-stella-duo(?:/([0-9-]+))?$ index.php?product=129&permutation_hash=$1 [L] -RewriteRule ^opaska-pin-up-spiace-liski-na-granacie(?:/([0-9-]+))?$ index.php?product=141&permutation_hash=$1 [L] -RewriteRule ^pasta-do-zebow-bez-fluoru-dla-dzieci-75ml-sylveco(?:/([0-9-]+))?$ index.php?product=756&permutation_hash=$1 [L] -RewriteRule ^pasta-do-zebow-z-fluorem-dla-dzieci-75ml-sylveco(?:/([0-9-]+))?$ index.php?product=755&permutation_hash=$1 [L] -RewriteRule ^pianka-do-mycia-ciala-i-wlosow-290ml-sylveco(?:/([0-9-]+))?$ index.php?product=764&permutation_hash=$1 [L] -RewriteRule ^pianka-do-rak-borowka-290ml-sylveco(?:/([0-9-]+))?$ index.php?product=766&permutation_hash=$1 [L] -RewriteRule ^pianka-do-rak-malina-290ml-sylveco(?:/([0-9-]+))?$ index.php?product=765&permutation_hash=$1 [L] -RewriteRule ^pierwszy-kubek-150ml-forest-suavinex(?:/([0-9-]+))?$ index.php?product=827&permutation_hash=$1 [L] -RewriteRule ^pierwszy-kubek-forest-150ml-zolty-suavinex(?:/([0-9-]+))?$ index.php?product=828&permutation_hash=$1 [L] -RewriteRule ^plastry-opatrunkowe-30-szt-dinozaury-rex-london(?:/([0-9-]+))?$ index.php?product=850&permutation_hash=$1 [L] -RewriteRule ^plastry-opatrunkowe-30-szt-jednorozec-rex-london(?:/([0-9-]+))?$ index.php?product=846&permutation_hash=$1 [L] -RewriteRule ^plastry-opatrunkowe-30-szt-kosmos-rex-london(?:/([0-9-]+))?$ index.php?product=849&permutation_hash=$1 [L] -RewriteRule ^plastry-opatrunkowe-30-szt-kotek-cookie-rex-london(?:/([0-9-]+))?$ index.php?product=847&permutation_hash=$1 [L] -RewriteRule ^plastry-opatrunkowe-30-szt-panda-miko-rex-london(?:/([0-9-]+))?$ index.php?product=848&permutation_hash=$1 [L] -RewriteRule ^plyn-do-kapieli-z-piana-dla-dzieci-500ml-sylveco(?:/([0-9-]+))?$ index.php?product=760&permutation_hash=$1 [L] -RewriteRule ^podkladki-pod-kubek-dla-babci-galazka(?:/([0-9-]+))?$ index.php?product=945&permutation_hash=$1 [L] -RewriteRule ^podkladki-pod-kubek-dla-babci-kwiaty(?:/([0-9-]+))?$ index.php?product=943&permutation_hash=$1 [L] -RewriteRule ^podkladki-pod-kubek-dla-babci-najlepsza-babcia(?:/([0-9-]+))?$ index.php?product=944&permutation_hash=$1 [L] -RewriteRule ^podkladki-pod-kubek-dla-dziadka-kwiaty(?:/([0-9-]+))?$ index.php?product=946&permutation_hash=$1 [L] -RewriteRule ^podkladki-pod-kubek-dla-dziadka-najlepszy-dziadek(?:/([0-9-]+))?$ index.php?product=947&permutation_hash=$1 [L] -RewriteRule ^podkladki-pod-kubek-dla-dziadka-wasy(?:/([0-9-]+))?$ index.php?product=948&permutation_hash=$1 [L] -RewriteRule ^poduszka-gwiazdka-chmurki-z-drabinkami(?:/([0-9-]+))?$ index.php?product=18&permutation_hash=$1 [L] -RewriteRule ^poduszka-gwiazdka-groszki-na-granatowym(?:/([0-9-]+))?$ index.php?product=38&permutation_hash=$1 [L] -RewriteRule ^poduszka-gwiazdka-konstelacja-zolto-szara-na-szarym(?:/([0-9-]+))?$ index.php?product=39&permutation_hash=$1 [L] -RewriteRule ^poduszka-gwiazdka-korony-z-kropkami(?:/([0-9-]+))?$ index.php?product=37&permutation_hash=$1 [L] -RewriteRule ^poduszka-gwiazdka-zwierzaki-w-drzewach(?:/([0-9-]+))?$ index.php?product=36&permutation_hash=$1 [L] -RewriteRule ^poduszka-niemowlaka-koniki-na-biegunach-beach-glass(?:/([0-9-]+))?$ index.php?product=46&permutation_hash=$1 [L] -RewriteRule ^poduszka-niemowlaka-rozowe-kropki-pudrowy-roz(?:/([0-9-]+))?$ index.php?product=45&permutation_hash=$1 [L] -RewriteRule ^poduszka-niemowlaka-szczeniak-z-balonikiem-fuksja(?:/([0-9-]+))?$ index.php?product=111&permutation_hash=$1 [L] -RewriteRule ^podwojne-etui-na-smoczki-bialy-suavinex(?:/([0-9-]+))?$ index.php?product=826&permutation_hash=$1 [L] -RewriteRule ^podwojne-etui-na-smoczki-hygge-kotek-mietowy-suavinex(?:/([0-9-]+))?$ index.php?product=825&permutation_hash=$1 [L] -RewriteRule ^podziekowanie-dla-gosci-chrzest-magnes-kolko-wzor-golebie(?:/([0-9-]+))?$ index.php?product=884&permutation_hash=$1 [L] -RewriteRule ^podziekowanie-dla-gosci-chrzest-magnes-serce(?:/([0-9-]+))?$ index.php?product=883&permutation_hash=$1 [L] -RewriteRule ^podziekowanie-dla-gosci-komunia-swieta-aniolek(?:/([0-9-]+))?$ index.php?product=1118&permutation_hash=$1 [L] -RewriteRule ^podziekowanie-dla-gosci-komunia-swieta-kielich(?:/([0-9-]+))?$ index.php?product=1119&permutation_hash=$1 [L] -RewriteRule ^pojemnik-na-mleko-w-proszku-babyono(?:/([0-9-]+))?$ index.php?product=793&permutation_hash=$1 [L] -RewriteRule ^pojemnik-na-smoczek-morela-baby-in-world(?:/([0-9-]+))?$ index.php?product=261&permutation_hash=$1 [L] -RewriteRule ^pojemnik-na-smoczek-niebieski-baby-in-world(?:/([0-9-]+))?$ index.php?product=260&permutation_hash=$1 [L] -RewriteRule ^pojemnik-na-smoczek-rozowy-baby-in-world(?:/([0-9-]+))?$ index.php?product=259&permutation_hash=$1 [L] -RewriteRule ^pojemnik-na-smoczek-slonik-niebieski-babyono(?:/([0-9-]+))?$ index.php?product=787&permutation_hash=$1 [L] -RewriteRule ^p-789-pojemnik-na-smoczek-slonik-rozowy-babyono(?:/([0-9-]+))?$ index.php?product=789&permutation_hash=$1 [L] -RewriteRule ^pojemnik-na-smoczek-slonik-szary-babyono(?:/([0-9-]+))?$ index.php?product=788&permutation_hash=$1 [L] -RewriteRule ^pojemniki-na-mleko-w-proszku-green-windy-blue-light-mist-beaba(?:/([0-9-]+))?$ index.php?product=823&permutation_hash=$1 [L] -RewriteRule ^pojemniki-na-mleko-w-proszku-light-/-dark-mist-beaba-kopia(?:/([0-9-]+))?$ index.php?product=824&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestna-aniolek(?:/([0-9-]+))?$ index.php?product=908&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestna-misiek(?:/([0-9-]+))?$ index.php?product=909&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestna-serce(?:/([0-9-]+))?$ index.php?product=895&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestna-serduszko(?:/([0-9-]+))?$ index.php?product=891&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestna-puzzle(?:/([0-9-]+))?$ index.php?product=928&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestna-puzzle-serce(?:/([0-9-]+))?$ index.php?product=927&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestna-tabliczka(?:/([0-9-]+))?$ index.php?product=929&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestnym-aniolek(?:/([0-9-]+))?$ index.php?product=924&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestnym-misiek(?:/([0-9-]+))?$ index.php?product=922&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestnym-serce(?:/([0-9-]+))?$ index.php?product=896&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestnym-serduszko(?:/([0-9-]+))?$ index.php?product=890&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestnym-puzzle(?:/([0-9-]+))?$ index.php?product=926&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestnym-puzzle-serce(?:/([0-9-]+))?$ index.php?product=925&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-chrzestnym-tabliczka(?:/([0-9-]+))?$ index.php?product=930&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-matka-chrzestna-puzzle-3d(?:/([0-9-]+))?$ index.php?product=1073&permutation_hash=$1 [L] -RewriteRule ^prosba-o-bycie-ojcem-chrzestnym-puzzle-3d(?:/([0-9-]+))?$ index.php?product=1072&permutation_hash=$1 [L] -RewriteRule ^rakieta-prezent-na-dzien-chlopaka-wzor-1(?:/([0-9-]+))?$ index.php?product=1097&permutation_hash=$1 [L] -RewriteRule ^rakieta-prezent-na-dzien-chlopaka-wzor-2(?:/([0-9-]+))?$ index.php?product=1098&permutation_hash=$1 [L] -RewriteRule ^rakieta-prezent-na-dzien-chlopaka-wzor-3(?:/([0-9-]+))?$ index.php?product=1099&permutation_hash=$1 [L] -RewriteRule ^rozek-mama-bear-chmurki-mietowe-srebrny(?:/([0-9-]+))?$ index.php?product=127&permutation_hash=$1 [L] -RewriteRule ^p-749-saszetki-do-karmienia-wielorazowe-2szt-chef-zebra-me(?:/([0-9-]+))?$ index.php?product=749&permutation_hash=$1 [L] -RewriteRule ^p-750-saszetki-do-karmienia-wielorazowe-2szt-diver-zebra-me(?:/([0-9-]+))?$ index.php?product=750&permutation_hash=$1 [L] -RewriteRule ^silikonowa-lyzeczka-tiny-spoon-pastelowa-szarosc-ezpz(?:/([0-9-]+))?$ index.php?product=563&permutation_hash=$1 [L] -RewriteRule ^silikonowa-lyzeczka-tiny-spoon-pastelowa-zielen-ezpz(?:/([0-9-]+))?$ index.php?product=564&permutation_hash=$1 [L] -RewriteRule ^silikonowa-lyzeczka-tiny-spoon-pastelowy-roz-ezpz(?:/([0-9-]+))?$ index.php?product=562&permutation_hash=$1 [L] -RewriteRule ^silikonowa-lyzeczka-tiny-spoon-szara-ezpz(?:/([0-9-]+))?$ index.php?product=561&permutation_hash=$1 [L] -RewriteRule ^silikonowa-miseczka-z-przyssawka-grey-beaba(?:/([0-9-]+))?$ index.php?product=560&permutation_hash=$1 [L] -RewriteRule ^silikonowa-miseczka-z-przyssawka-pink-beaba(?:/([0-9-]+))?$ index.php?product=559&permutation_hash=$1 [L] -RewriteRule ^silikonowa-myjka-do-naczyn-pastelowa-szarosc-ezpz(?:/([0-9-]+))?$ index.php?product=809&permutation_hash=$1 [L] -RewriteRule ^silikonowa-myjka-do-naczyn-pastelowa-zielen-ezpz(?:/([0-9-]+))?$ index.php?product=810&permutation_hash=$1 [L] -RewriteRule ^silikonowy-kubeczek-tiny-cup-60ml-pastelowa-szarosc-ezpz(?:/([0-9-]+))?$ index.php?product=806&permutation_hash=$1 [L] -RewriteRule ^silikonowy-kubeczek-tiny-cup-60ml-pastelowa-zielen-ezpz(?:/([0-9-]+))?$ index.php?product=805&permutation_hash=$1 [L] -RewriteRule ^silikonowy-kubeczek-tiny-cup-60ml-pastelowy-roz-ezpz(?:/([0-9-]+))?$ index.php?product=807&permutation_hash=$1 [L] -RewriteRule ^silikonowy-talerzyk-z-podkladka-maly-2w1-mini-mat-ciemny-niebieski-ezpz(?:/([0-9-]+))?$ index.php?product=558&permutation_hash=$1 [L] -RewriteRule ^p-554-silikonowy-talerzyk-z-podkladka-maly-2w1-mini-mat-niebieski-ezpz(?:/([0-9-]+))?$ index.php?product=554&permutation_hash=$1 [L] -RewriteRule ^silikonowy-talerzyk-z-podkladka-maly-2w1-mini-mat-oliwkowy-ezpz(?:/([0-9-]+))?$ index.php?product=808&permutation_hash=$1 [L] -RewriteRule ^silikonowy-talerzyk-z-podkladka-maly-2w1-mini-mat-pastelowa-szarosc-ezpz(?:/([0-9-]+))?$ index.php?product=555&permutation_hash=$1 [L] -RewriteRule ^silikonowy-talerzyk-z-podkladka-maly-2w1-mini-mat-pastelowy-niebieski-ezpz(?:/([0-9-]+))?$ index.php?product=557&permutation_hash=$1 [L] -RewriteRule ^p-556-silikonowy-talerzyk-z-podkladka-maly-2w1-mini-mat-pastelowy-roz-ezpz(?:/([0-9-]+))?$ index.php?product=556&permutation_hash=$1 [L] -RewriteRule ^silikonowy-talerzyk-z-podkladka-maly-2w1-mini-mat-rozowy-ezpz(?:/([0-9-]+))?$ index.php?product=553&permutation_hash=$1 [L] -RewriteRule ^slomki-zapasowe-i-szczoteczka-do-bidonu-bbox-2szt(?:/([0-9-]+))?$ index.php?product=715&permutation_hash=$1 [L] -RewriteRule ^smycz-do-bidonu-lemon-sherbet-b-box(?:/([0-9-]+))?$ index.php?product=368&permutation_hash=$1 [L] -RewriteRule ^smycz-do-bidonu-ocean-breeze-b-box(?:/([0-9-]+))?$ index.php?product=369&permutation_hash=$1 [L] -RewriteRule ^smycz-do-bidonu-pashion-splash-b-box(?:/([0-9-]+))?$ index.php?product=370&permutation_hash=$1 [L] -RewriteRule ^smycz-do-bidonu-strawberry-shake-b-box(?:/([0-9-]+))?$ index.php?product=371&permutation_hash=$1 [L] -RewriteRule ^szampon-i-odzywka-do-wlosow-2w1-dla-dzieci-300ml-sylveco(?:/([0-9-]+))?$ index.php?product=761&permutation_hash=$1 [L] -RewriteRule ^szampon-i-plyn-do-kapieli-oliwka-do-ciala-z-betulina-myjka-do-kapieli-sylveco(?:/([0-9-]+))?$ index.php?product=768&permutation_hash=$1 [L] -RewriteRule ^szczoteczka-do-zebow-dla-niemowlat-na-palec-babyono(?:/([0-9-]+))?$ index.php?product=790&permutation_hash=$1 [L] -RewriteRule ^szczoteczka-do-zebow-dla-niemowlat-na-palec-niebieska-babyono(?:/([0-9-]+))?$ index.php?product=791&permutation_hash=$1 [L] -RewriteRule ^szczoteczka-do-zebow-dla-niemowlat-na-palec-rozowa-babyono(?:/([0-9-]+))?$ index.php?product=792&permutation_hash=$1 [L] -RewriteRule ^szczoteczki-do-dziasel-i-zabkow-3-szt-rozowy-kiokids(?:/([0-9-]+))?$ index.php?product=851&permutation_hash=$1 [L] -RewriteRule ^szczotka-i-grzebien-do-wlosow-dla-dzieci-i-niemowlat-naturalne-miekkie-wlosie-mietowy-babyono(?:/([0-9-]+))?$ index.php?product=837&permutation_hash=$1 [L] -RewriteRule ^szczotka-i-grzebien-do-wlosow-dla-dzieci-i-niemowlat-naturalne-miekkie-wlosie-niebieski-babyono(?:/([0-9-]+))?$ index.php?product=836&permutation_hash=$1 [L] -RewriteRule ^p-566-sztucce-plastikowe-w-etui-grey-beaba(?:/([0-9-]+))?$ index.php?product=566&permutation_hash=$1 [L] -RewriteRule ^p-565-sztucce-plastikowe-w-etui-nude-beaba(?:/([0-9-]+))?$ index.php?product=565&permutation_hash=$1 [L] -RewriteRule ^sliniak-silikonowy-boats-mushie(?:/([0-9-]+))?$ index.php?product=738&permutation_hash=$1 [L] -RewriteRule ^sliniak-silikonowy-daisy-flowers-pink-mushie(?:/([0-9-]+))?$ index.php?product=552&permutation_hash=$1 [L] -RewriteRule ^sliniak-silikonowy-planets-mushie(?:/([0-9-]+))?$ index.php?product=378&permutation_hash=$1 [L] -RewriteRule ^sliniak-silikonowy-powder-pink-confetti-mushie(?:/([0-9-]+))?$ index.php?product=737&permutation_hash=$1 [L] -RewriteRule ^sliniak-silikonowy-rainbows-mushie(?:/([0-9-]+))?$ index.php?product=734&permutation_hash=$1 [L] -RewriteRule ^sliniak-silikonowy-retro-cars-mushie(?:/([0-9-]+))?$ index.php?product=736&permutation_hash=$1 [L] -RewriteRule ^sliniak-silikonowy-safari-light-grey-mushie(?:/([0-9-]+))?$ index.php?product=551&permutation_hash=$1 [L] -RewriteRule ^sliniak-silikonowy-sun-mushie(?:/([0-9-]+))?$ index.php?product=735&permutation_hash=$1 [L] -RewriteRule ^tablica-powitalna-na-chrzest-swiety-golabek(?:/([0-9-]+))?$ index.php?product=1108&permutation_hash=$1 [L] -RewriteRule ^tabliczka-modlitwa-aniele-bozy-strozu-moj-chmurka(?:/([0-9-]+))?$ index.php?product=1058&permutation_hash=$1 [L] -RewriteRule ^tabliczka-serduszko-z-napisem-nasza-milosc(?:/([0-9-]+))?$ index.php?product=1055&permutation_hash=$1 [L] -RewriteRule ^tabliczka-serduszko-z-napisem-i-love-you-to-the-moon-and-back(?:/([0-9-]+))?$ index.php?product=1052&permutation_hash=$1 [L] -RewriteRule ^tabliczka-serduszko-z-napisem-you-are-so-loved(?:/([0-9-]+))?$ index.php?product=1046&permutation_hash=$1 [L] -RewriteRule ^tabliczka-z-modlitwa-dla-dziecka-aniele-bozy-strozu-moj-bobas(?:/([0-9-]+))?$ index.php?product=921&permutation_hash=$1 [L] -RewriteRule ^tabliczka-z-modlitwa-dla-dziecka-aniele-bozy-strozu-moj-dlonie(?:/([0-9-]+))?$ index.php?product=918&permutation_hash=$1 [L] -RewriteRule ^tabliczka-z-modlitwa-dla-dziecka-aniele-bozy-strozu-moj-galazka(?:/([0-9-]+))?$ index.php?product=919&permutation_hash=$1 [L] -RewriteRule ^tabliczka-z-modlitwa-dla-dziecka-aniele-bozy-strozu-moj-skrzydelka(?:/([0-9-]+))?$ index.php?product=920&permutation_hash=$1 [L] -RewriteRule ^tabliczki-z-miesiacami-serduszko(?:/([0-9-]+))?$ index.php?product=1049&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-groszki-jasna-mieta(?:/([0-9-]+))?$ index.php?product=71&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-cute-teddy(?:/([0-9-]+))?$ index.php?product=720&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-cyrkowe-pandy(?:/([0-9-]+))?$ index.php?product=725&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-galaktyka(?:/([0-9-]+))?$ index.php?product=79&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-groszki-na-granatowym(?:/([0-9-]+))?$ index.php?product=70&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-happy-pandy-na-bialym(?:/([0-9-]+))?$ index.php?product=242&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-koniki-na-biegunach(?:/([0-9-]+))?$ index.php?product=78&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-konstelacja-zolto-szara-na-szarym(?:/([0-9-]+))?$ index.php?product=69&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-korony-z-kropkami(?:/([0-9-]+))?$ index.php?product=72&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-kroliki-na-hustawkach-na-granatowym(?:/([0-9-]+))?$ index.php?product=114&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-kroliki-na-hustawkach-na-zielonym(?:/([0-9-]+))?$ index.php?product=721&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-kroliki-rajdowe(?:/([0-9-]+))?$ index.php?product=731&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-lesne-zwierzeta(?:/([0-9-]+))?$ index.php?product=733&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-love(?:/([0-9-]+))?$ index.php?product=724&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-mama-bear-chmurki-mietowe(?:/([0-9-]+))?$ index.php?product=124&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-mama-bear(?:/([0-9-]+))?$ index.php?product=74&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-misie-koala(?:/([0-9-]+))?$ index.php?product=730&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-misie-piraci-z-niebieska-bandanka(?:/([0-9-]+))?$ index.php?product=732&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-myszki-serowe(?:/([0-9-]+))?$ index.php?product=728&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-myszki-szaro-amarantowe(?:/([0-9-]+))?$ index.php?product=77&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-pandy-piloty(?:/([0-9-]+))?$ index.php?product=722&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-puch-szary(?:/([0-9-]+))?$ index.php?product=73&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-rozowe-sowy(?:/([0-9-]+))?$ index.php?product=243&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-sloniki-mietowo-zielone(?:/([0-9-]+))?$ index.php?product=726&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-sowy-indianki(?:/([0-9-]+))?$ index.php?product=723&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-stella-duo(?:/([0-9-]+))?$ index.php?product=729&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-szczeniak-z-balonikiem(?:/([0-9-]+))?$ index.php?product=68&permutation_hash=$1 [L] -RewriteRule ^termofor-dzieciecy-spiace-liski(?:/([0-9-]+))?$ index.php?product=727&permutation_hash=$1 [L] -RewriteRule ^termometr-do-wody-old-pink-beaba(?:/([0-9-]+))?$ index.php?product=821&permutation_hash=$1 [L] -RewriteRule ^termometr-kapielowy-mis-niebieski-babyono(?:/([0-9-]+))?$ index.php?product=799&permutation_hash=$1 [L] -RewriteRule ^termometr-kapielowy-mis-rozowy-babyono(?:/([0-9-]+))?$ index.php?product=797&permutation_hash=$1 [L] -RewriteRule ^termometr-kapielowy-szop-szary-babyono(?:/([0-9-]+))?$ index.php?product=798&permutation_hash=$1 [L] -RewriteRule ^termometr-kapielowy-zyrafka-bialy-babyono(?:/([0-9-]+))?$ index.php?product=796&permutation_hash=$1 [L] -RewriteRule ^termometr-kapielowy-zyrafka-mietowy-babyono(?:/([0-9-]+))?$ index.php?product=794&permutation_hash=$1 [L] -RewriteRule ^termometr-kapielowy-zyrafka-niebieski-babyono(?:/([0-9-]+))?$ index.php?product=804&permutation_hash=$1 [L] -RewriteRule ^termometr-kapielowy-zyrafka-rozowy-babyono(?:/([0-9-]+))?$ index.php?product=803&permutation_hash=$1 [L] -RewriteRule ^termometr-kapielowy-zyrafka-szary-babyono(?:/([0-9-]+))?$ index.php?product=795&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-podwojny-bialy(?:/([0-9-]+))?$ index.php?product=93&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-podwojny-czarno-bialy(?:/([0-9-]+))?$ index.php?product=91&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-podwojny-czarno-szary(?:/([0-9-]+))?$ index.php?product=92&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-podwojny-fuksja(?:/([0-9-]+))?$ index.php?product=87&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-podwojny-granatowo-czerwony(?:/([0-9-]+))?$ index.php?product=85&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-podwojny-jasny-roz(?:/([0-9-]+))?$ index.php?product=83&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-podwojny-khaki(?:/([0-9-]+))?$ index.php?product=84&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-podwojny-sliwkowo-malinowy(?:/([0-9-]+))?$ index.php?product=94&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-pojedynczy-czerwony(?:/([0-9-]+))?$ index.php?product=89&permutation_hash=$1 [L] -RewriteRule ^turban-dzieciecy-pojedynczy-zolty(?:/([0-9-]+))?$ index.php?product=90&permutation_hash=$1 [L] -RewriteRule ^wieszak-z-grawerem-drewniany-kwiatuszki(?:/([0-9-]+))?$ index.php?product=1116&permutation_hash=$1 [L] -RewriteRule ^wieszak-z-grawerem-drewniany-mala-dama(?:/([0-9-]+))?$ index.php?product=1117&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-jednorozec(?:/([0-9-]+))?$ index.php?product=933&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-kotek(?:/([0-9-]+))?$ index.php?product=932&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-krolik(?:/([0-9-]+))?$ index.php?product=937&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-ksiezyc(?:/([0-9-]+))?$ index.php?product=938&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-kwiaty(?:/([0-9-]+))?$ index.php?product=939&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-kwiaty-z-serduszkiem(?:/([0-9-]+))?$ index.php?product=940&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-lew(?:/([0-9-]+))?$ index.php?product=934&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-motyl(?:/([0-9-]+))?$ index.php?product=942&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-panda(?:/([0-9-]+))?$ index.php?product=936&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-piesek(?:/([0-9-]+))?$ index.php?product=931&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-smok(?:/([0-9-]+))?$ index.php?product=935&permutation_hash=$1 [L] -RewriteRule ^zakladka-do-ksiazki-z-grawerem-personalizowana-sowa(?:/([0-9-]+))?$ index.php?product=941&permutation_hash=$1 [L] -RewriteRule ^zaproszenia-na-chrzest-personalizowane-aniolek(?:/([0-9-]+))?$ index.php?product=916&permutation_hash=$1 [L] -RewriteRule ^zaproszenia-na-chrzest-personalizowane-galazka(?:/([0-9-]+))?$ index.php?product=914&permutation_hash=$1 [L] -RewriteRule ^zaproszenia-na-chrzest-personalizowane-golabek(?:/([0-9-]+))?$ index.php?product=915&permutation_hash=$1 [L] -RewriteRule ^zaproszenia-na-chrzest-personalizowane-kwiatek(?:/([0-9-]+))?$ index.php?product=917&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-1(?:/([0-9-]+))?$ index.php?product=349&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-10(?:/([0-9-]+))?$ index.php?product=181&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-14(?:/([0-9-]+))?$ index.php?product=187&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-16(?:/([0-9-]+))?$ index.php?product=189&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-18(?:/([0-9-]+))?$ index.php?product=184&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-19(?:/([0-9-]+))?$ index.php?product=185&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-20(?:/([0-9-]+))?$ index.php?product=191&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-21(?:/([0-9-]+))?$ index.php?product=206&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-22(?:/([0-9-]+))?$ index.php?product=207&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-23(?:/([0-9-]+))?$ index.php?product=208&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-24(?:/([0-9-]+))?$ index.php?product=209&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-25(?:/([0-9-]+))?$ index.php?product=210&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-26(?:/([0-9-]+))?$ index.php?product=227&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-29(?:/([0-9-]+))?$ index.php?product=240&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-30(?:/([0-9-]+))?$ index.php?product=292&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-31(?:/([0-9-]+))?$ index.php?product=295&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-33(?:/([0-9-]+))?$ index.php?product=339&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-34(?:/([0-9-]+))?$ index.php?product=336&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-35(?:/([0-9-]+))?$ index.php?product=372&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-36(?:/([0-9-]+))?$ index.php?product=569&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-37(?:/([0-9-]+))?$ index.php?product=622&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-38(?:/([0-9-]+))?$ index.php?product=634&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-39(?:/([0-9-]+))?$ index.php?product=752&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-4(?:/([0-9-]+))?$ index.php?product=175&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-40(?:/([0-9-]+))?$ index.php?product=753&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-wzor-7(?:/([0-9-]+))?$ index.php?product=178&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-smoczka-niebieska-zolta(?:/([0-9-]+))?$ index.php?product=173&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-1(?:/([0-9-]+))?$ index.php?product=351&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-10(?:/([0-9-]+))?$ index.php?product=193&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-11(?:/([0-9-]+))?$ index.php?product=640&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-12(?:/([0-9-]+))?$ index.php?product=192&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-13(?:/([0-9-]+))?$ index.php?product=637&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-14(?:/([0-9-]+))?$ index.php?product=204&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-15(?:/([0-9-]+))?$ index.php?product=649&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-16(?:/([0-9-]+))?$ index.php?product=646&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-17(?:/([0-9-]+))?$ index.php?product=202&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-18(?:/([0-9-]+))?$ index.php?product=651&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-19(?:/([0-9-]+))?$ index.php?product=194&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-2(?:/([0-9-]+))?$ index.php?product=203&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-20(?:/([0-9-]+))?$ index.php?product=197&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-21(?:/([0-9-]+))?$ index.php?product=709&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-22(?:/([0-9-]+))?$ index.php?product=700&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-23(?:/([0-9-]+))?$ index.php?product=711&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-24(?:/([0-9-]+))?$ index.php?product=708&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-25(?:/([0-9-]+))?$ index.php?product=701&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-26(?:/([0-9-]+))?$ index.php?product=710&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-27(?:/([0-9-]+))?$ index.php?product=241&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-28(?:/([0-9-]+))?$ index.php?product=650&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-29(?:/([0-9-]+))?$ index.php?product=703&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-3(?:/([0-9-]+))?$ index.php?product=205&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-30(?:/([0-9-]+))?$ index.php?product=328&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-31(?:/([0-9-]+))?$ index.php?product=704&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-33(?:/([0-9-]+))?$ index.php?product=345&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-34(?:/([0-9-]+))?$ index.php?product=702&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-35(?:/([0-9-]+))?$ index.php?product=712&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-36(?:/([0-9-]+))?$ index.php?product=706&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-37(?:/([0-9-]+))?$ index.php?product=707&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-38(?:/([0-9-]+))?$ index.php?product=705&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-4(?:/([0-9-]+))?$ index.php?product=195&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-5(?:/([0-9-]+))?$ index.php?product=199&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-6(?:/([0-9-]+))?$ index.php?product=196&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-7(?:/([0-9-]+))?$ index.php?product=201&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-8(?:/([0-9-]+))?$ index.php?product=200&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-wzor-9(?:/([0-9-]+))?$ index.php?product=643&permutation_hash=$1 [L] -RewriteRule ^zawieszka-do-wozka-kokardka-niebieska-zolta(?:/([0-9-]+))?$ index.php?product=221&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-1(?:/([0-9-]+))?$ index.php?product=343&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-10(?:/([0-9-]+))?$ index.php?product=245&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-14(?:/([0-9-]+))?$ index.php?product=317&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-16(?:/([0-9-]+))?$ index.php?product=318&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-18(?:/([0-9-]+))?$ index.php?product=219&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-19(?:/([0-9-]+))?$ index.php?product=316&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-20(?:/([0-9-]+))?$ index.php?product=320&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-21(?:/([0-9-]+))?$ index.php?product=326&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-22(?:/([0-9-]+))?$ index.php?product=217&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-23(?:/([0-9-]+))?$ index.php?product=325&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-24(?:/([0-9-]+))?$ index.php?product=628&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-25(?:/([0-9-]+))?$ index.php?product=327&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-26(?:/([0-9-]+))?$ index.php?product=226&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-29(?:/([0-9-]+))?$ index.php?product=239&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-30(?:/([0-9-]+))?$ index.php?product=293&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-31(?:/([0-9-]+))?$ index.php?product=294&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-33(?:/([0-9-]+))?$ index.php?product=344&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-34(?:/([0-9-]+))?$ index.php?product=337&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-35(?:/([0-9-]+))?$ index.php?product=373&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-36(?:/([0-9-]+))?$ index.php?product=570&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-37(?:/([0-9-]+))?$ index.php?product=623&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-38(?:/([0-9-]+))?$ index.php?product=631&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-4(?:/([0-9-]+))?$ index.php?product=222&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-40(?:/([0-9-]+))?$ index.php?product=754&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-7(?:/([0-9-]+))?$ index.php?product=225&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-biala(?:/([0-9-]+))?$ index.php?product=303&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-biala-zielona(?:/([0-9-]+))?$ index.php?product=174&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-niebieska-biala(?:/([0-9-]+))?$ index.php?product=237&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-niebieska-czarna(?:/([0-9-]+))?$ index.php?product=190&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-niebieska-czerwona(?:/([0-9-]+))?$ index.php?product=177&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-niebieska-szara(?:/([0-9-]+))?$ index.php?product=188&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-rozowa-czerwona(?:/([0-9-]+))?$ index.php?product=183&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-rozowa-fioletowa(?:/([0-9-]+))?$ index.php?product=235&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-rozowa-szara(?:/([0-9-]+))?$ index.php?product=186&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-rozowa-zielona(?:/([0-9-]+))?$ index.php?product=182&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-szara-biala(?:/([0-9-]+))?$ index.php?product=180&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-zielona-biala(?:/([0-9-]+))?$ index.php?product=179&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-do-smoczka-zolta-rozowa(?:/([0-9-]+))?$ index.php?product=176&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-biala(?:/([0-9-]+))?$ index.php?product=353&permutation_hash=$1 [L] -RewriteRule ^zawieszka-z-czerwona-kokardka-wzor-3(?:/([0-9-]+))?$ index.php?product=214&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-niebieska-biala(?:/([0-9-]+))?$ index.php?product=238&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-niebieska-czarna(?:/([0-9-]+))?$ index.php?product=321&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-niebieska-czerwona(?:/([0-9-]+))?$ index.php?product=224&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-niebieska-szara(?:/([0-9-]+))?$ index.php?product=218&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-rozowa-czerwona(?:/([0-9-]+))?$ index.php?product=228&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-rozowa-fioletowa(?:/([0-9-]+))?$ index.php?product=236&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-rozowa-szara(?:/([0-9-]+))?$ index.php?product=216&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-rozowa-zielona(?:/([0-9-]+))?$ index.php?product=244&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-szara-biala(?:/([0-9-]+))?$ index.php?product=215&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-zielona-biala(?:/([0-9-]+))?$ index.php?product=319&permutation_hash=$1 [L] -RewriteRule ^zawieszka-przypinka-z-agrafka-i-czerwona-kokardka-zolta-rozowa(?:/([0-9-]+))?$ index.php?product=223&permutation_hash=$1 [L] -RewriteRule ^zestaw-do-manicure-krolik-niebieski-kiokids(?:/([0-9-]+))?$ index.php?product=844&permutation_hash=$1 [L] -RewriteRule ^zestaw-do-manicure-krolik-rozowy-kiokids(?:/([0-9-]+))?$ index.php?product=845&permutation_hash=$1 [L] -RewriteRule ^zestaw-do-pielegnacji-paznokci-dla-dzieci-i-niemowlat-mietowy-babyono(?:/([0-9-]+))?$ index.php?product=833&permutation_hash=$1 [L] -RewriteRule ^zestaw-do-pielegnacji-paznokci-dla-dzieci-i-niemowlat-rozowy-babyono(?:/([0-9-]+))?$ index.php?product=834&permutation_hash=$1 [L] -RewriteRule ^zestaw-do-pielegnacji-paznokci-dla-dzieci-i-niemowlat-szary-babyono(?:/([0-9-]+))?$ index.php?product=835&permutation_hash=$1 [L] RewriteCond %{REQUEST_URI} ^/home$ RewriteRule ^(.*)$ http://www.marianek.pl/ [R=permanent,L] RewriteCond %{REQUEST_URI} ^/home-1$ @@ -1116,6 +411,9 @@ RewriteRule ^home/1$ home [R=301,L] RewriteRule ^regulamin$ index.php?a=page&id=12&lang=pl&%{QUERY_STRING} [L] RewriteRule ^regulamin/([0-9]+)$ index.php?a=page&id=12&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^regulamin/1$ regulamin [R=301,L] +RewriteRule ^o-nas$ index.php?a=page&id=10&lang=pl&%{QUERY_STRING} [L] +RewriteRule ^o-nas/([0-9]+)$ index.php?a=page&id=10&lang=pl&bs=$1&%{QUERY_STRING} [L] +RewriteRule ^o-nas/1$ o-nas [R=301,L] RewriteRule ^formy-platnosci$ index.php?a=page&id=13&lang=pl&%{QUERY_STRING} [L] RewriteRule ^formy-platnosci/([0-9]+)$ index.php?a=page&id=13&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^formy-platnosci/1$ formy-platnosci [R=301,L] @@ -1143,12 +441,12 @@ RewriteRule ^aspiratory-i-gruszki/1$ aspiratory-i-gruszki [R=301,L] RewriteRule ^szczotki-i-grzebienie-do-wlosow-dla-dzieci$ index.php?a=page&id=111&lang=pl&%{QUERY_STRING} [L] RewriteRule ^szczotki-i-grzebienie-do-wlosow-dla-dzieci/([0-9]+)$ index.php?a=page&id=111&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^szczotki-i-grzebienie-do-wlosow-dla-dzieci/1$ szczotki-i-grzebienie-do-wlosow-dla-dzieci [R=301,L] -RewriteRule ^sztucce$ index.php?a=page&id=86&lang=pl&%{QUERY_STRING} [L] -RewriteRule ^sztucce/([0-9]+)$ index.php?a=page&id=86&lang=pl&bs=$1&%{QUERY_STRING} [L] -RewriteRule ^sztucce/1$ sztucce [R=301,L] RewriteRule ^kontakt$ index.php?a=page&id=5&lang=pl&%{QUERY_STRING} [L] RewriteRule ^kontakt/([0-9]+)$ index.php?a=page&id=5&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^kontakt/1$ kontakt [R=301,L] +RewriteRule ^sztucce$ index.php?a=page&id=86&lang=pl&%{QUERY_STRING} [L] +RewriteRule ^sztucce/([0-9]+)$ index.php?a=page&id=86&lang=pl&bs=$1&%{QUERY_STRING} [L] +RewriteRule ^sztucce/1$ sztucce [R=301,L] RewriteRule ^blog$ index.php?a=page&id=9&lang=pl&%{QUERY_STRING} [L] RewriteRule ^blog/([0-9]+)$ index.php?a=page&id=9&lang=pl&bs=$1&%{QUERY_STRING} [L] RewriteRule ^blog/1$ blog [R=301,L] diff --git a/autoload/admin/controls/class.ShopProduct.php b/autoload/admin/controls/class.ShopProduct.php index d1c9ee6..71e2ba4 100644 --- a/autoload/admin/controls/class.ShopProduct.php +++ b/autoload/admin/controls/class.ShopProduct.php @@ -276,8 +276,7 @@ class ShopProduct $response = [ 'status' => 'error', 'msg' => 'Podczas ładowania produktów wystąpił błąd. Proszę spróbować ponownie.' ]; \S::set_session( 'products_list_current_page', \S::get( 'current_page' ) ); - if ( \S::get( 'query' ) ) - \S::set_session( 'products_list_query', \S::get( 'query' ) ); + \S::set_session( 'products_list_query', \S::get( 'query' ) ); if ( $products = \admin\factory\ShopProduct::ajax_products_list( \S::get_session( 'products_list_current_page' ), \S::get_session( 'products_list_query' ) ) ) { $response = [ @@ -313,12 +312,9 @@ class ShopProduct parse_str( $query, $query_array ); } - if ( \S::get( 'show_xml_data' ) === 'true' ) - { + if ( \S::get( 'show_xml_data' ) === 'true' ) { \S::set_session( 'show_xml_data', true ); - } - else if ( \S::get( 'show_xml_data' ) === 'false' ) - { + } else if ( \S::get( 'show_xml_data' ) === 'false' ) { \S::set_session( 'show_xml_data', false ); } diff --git a/autoload/admin/factory/class.ShopProduct.php b/autoload/admin/factory/class.ShopProduct.php index d915a04..90d5e09 100644 --- a/autoload/admin/factory/class.ShopProduct.php +++ b/autoload/admin/factory/class.ShopProduct.php @@ -701,6 +701,10 @@ class ShopProduct $mdb -> delete( 'pp_shop_products_attributes', ['product_id' => $product_id ] ); $mdb -> delete( 'pp_shop_products', ['id' => $product_id ] ); $mdb -> delete( 'pp_shop_product_sets_products', [ 'product_id' => $product_id ] ); + // pp_routes + $mdb -> delete( 'pp_routes', [ 'product_id' => $product_id ] ); + // pp_redirects + $mdb -> delete( 'pp_redirects', [ 'product_id' => $product_id ] ); \S::delete_dir( '../upload/product_images/product_' . $product_id . '/' ); \S::delete_dir( '../upload/product_files/product_' . $product_id . '/' ); @@ -1055,6 +1059,30 @@ class ShopProduct foreach ( $name as $key => $val ) { if ( $translation_id = $mdb -> get( 'pp_shop_products_langs', 'id', [ 'AND' => [ 'product_id' => $product_id, 'lang_id' => $key ] ] ) ) + { + $current_seo_link = $mdb -> get( 'pp_shop_products_langs', 'seo_link', [ 'id' => $translation_id ] ); + + if ( $seo_link[$key] ) + $new_seo_link = \S::seo( $seo_link[$key] ); + else + $new_seo_link = \S::seo( 'p-' . $product_id . '-' . $name[$key] ); + + if ( $new_seo_link !== $current_seo_link ) + { + if ( !$mdb -> count( 'pp_redirects', [ 'from' => $current_seo_link, 'to' => $new_seo_link, 'lang_id' => $key, 'product_id' => $product_id ] ) ) + { + if ( $mdb -> count( 'pp_redirects', [ 'from' => $new_seo_link, 'to' => $current_seo_link, 'lang_id' => $key, 'product_id' => $product_id ] ) ) + $mdb -> delete( 'pp_redirects', [ 'from' => $new_seo_link, 'to' => $current_seo_link, 'lang_id' => $key, 'product_id' => $product_id ] ); + else + { + if ( \S::canAddRedirect( $current_seo_link, $new_seo_link ) ) + $mdb -> insert( 'pp_redirects', [ 'from' => $current_seo_link, 'to' => $new_seo_link, 'lang_id' => $key, 'product_id' => $product_id ] ); + else + $mdb -> delete( 'pp_redirects', [ 'product_id' => $product_id, 'lang_id' => $key ] ); + } + } + } + $mdb -> update( 'pp_shop_products_langs', [ 'lang_id' => $key, 'name' => '' !== $name[$key] ? $name[$key] : null, @@ -1062,7 +1090,7 @@ class ShopProduct 'description' => '' !== $description[$key] ? $description[$key] : null, 'meta_description' => '' !== $meta_description[$key] ? $meta_description[$key] : null, 'meta_keywords' => '' !== $meta_keywords[$key] ? $meta_keywords[$key] : null, - 'seo_link' => '' !== \S::seo($seo_link[$key]) ? \S::seo($seo_link[$key]) : null, + 'seo_link' => \S::seo( $seo_link[$key] ) != '' ? \S::seo( $seo_link[$key] ) : \S::seo( 'p-' . $product_id . '-' . $name[$key] ), 'copy_from' => '' !== $copy_from[$key] ? $copy_from[$key] : null, 'warehouse_message_zero' => '' !== $warehouse_message_zero[$key] ? $warehouse_message_zero[$key] : null, 'warehouse_message_nonzero' => '' !== $warehouse_message_nonzero[$key] ? $warehouse_message_nonzero[$key] : null, @@ -1076,7 +1104,9 @@ class ShopProduct ], [ 'id' => $translation_id ] ); + } else + { $mdb -> insert( 'pp_shop_products_langs', [ 'product_id' => (int)$product_id, 'lang_id' => $key, @@ -1097,6 +1127,7 @@ class ShopProduct 'meta_title' => '' !== $meta_title[$key] ? $meta_title[$key] : null, 'xml_name' => '' !== $xml_name[$key] ? $xml_name[$key] : null, ] ); + } } $not_in = [0]; diff --git a/autoload/class.S.php b/autoload/class.S.php index 667cb31..71e04c1 100644 --- a/autoload/class.S.php +++ b/autoload/class.S.php @@ -1,6 +1,48 @@ select( 'pp_redirects', '*' ); + + $redirectMap = []; + foreach ( $redirects as $redirect ) + { + $redirectMap[$redirect['from']] = $redirect['to']; + } + + // Dodaj nowe przekierowanie do mapy tymczasowo + $redirectMap[$from] = $to; + + // Funkcja do sprawdzania cyklu za pomocą DFS + $visited = []; + $stack = []; + + function hasCycle($current, $target, &$redirectMap, &$visited) + { + if ($current === $target) { + return true; + } + + if (isset($visited[$current])) { + return false; + } + + $visited[$current] = true; + + if (isset($redirectMap[$current])) { + return hasCycle($redirectMap[$current], $target, $redirectMap, $visited); + } + + return false; + } + + // Sprawdź, czy istnieje ścieżka z $newTo do $newFrom + return !hasCycle($to, $from, $redirectMap, $visited); + } + static public function clear_redis_cache() { $redis = \RedisConnection::getInstance() -> getConnection(); @@ -501,15 +543,19 @@ class S } $results = $mdb -> select( 'pp_langs', [ 'id', 'start' ], [ 'status' => 1, 'ORDER' => [ 'o' => 'ASC' ] ] ); - if ( is_array( $results ) ) { + if ( is_array( $results ) ) + { foreach ( $results as $row ) { !$row['start'] ? $language_link = $row['id'] . '/' : $language_link = ''; $results2 = $mdb -> select( 'pp_shop_products_langs', [ '[><]pp_shop_products' => [ 'product_id' => 'id' ] ], [ 'seo_link', 'name', 'product_id' ], [ 'lang_id' => $row['id'], 'ORDER' => [ 'name' => 'ASC' ] ] ); - if ( is_array( $results2 ) ) { + if ( is_array( $results2 ) ) + { foreach ( $results2 as $row2 ) { + $mdb -> delete( 'pp_routes', [ 'AND' => [ 'product_id' => $row2['product_id'], 'lang_id' => $row['id'] ] ] ); + if ( $row2['name'] ) { $site_map .= '' . PHP_EOL; @@ -524,13 +570,27 @@ class S if ( $row2['seo_link'] ) { - $htaccess_data .= PHP_EOL . 'RewriteRule ^' . $language_link . \S::seo( $row2['seo_link'] ) . '$ index.php?product=' . $row2['product_id'] . ' [L]'; - $htaccess_data .= PHP_EOL . 'RewriteRule ^' . $language_link . \S::seo( $row2['seo_link'] ) . '/([0-9-]+)$ index.php?product=' . $row2['product_id'] . '&permutation_hash=$1 [L]'; + $pattern = '^' . $language_link . \S::seo( $row2['seo_link'] ) . '$'; + $destination = 'index.php?product=' . $row2['product_id']; + + $mdb -> insert( 'pp_routes', [ 'product_id' => $row2['product_id'], 'lang_id' => $row['id'], 'pattern' => $pattern, 'destination' => $destination ] ); + + $pattern = '^' . $language_link . \S::seo( $row2['seo_link'] ) . '/([0-9-]+)$'; + $destination = 'index.php?product=' . $row2['product_id'] . '&permutation_hash=$1'; + + $mdb -> insert( 'pp_routes', [ 'product_id' => $row2['product_id'], 'lang_id' => $row['id'], 'pattern' => $pattern, 'destination' => $destination ] ); } else { - $htaccess_data .= PHP_EOL . 'RewriteRule ^' . $language_link . 'p-' . $row2['product_id'] . '-' . \S::seo( $row2['name'] ) . '$ index.php?product=' . $row2['product_id'] . ' [L]'; - $htaccess_data .= PHP_EOL . 'RewriteRule ^' . $language_link . 'p-' . $row2['product_id'] . '-' . \S::seo( $row2['name'] ) . '/([0-9-]+)$ index.php?product=' . $row2['product_id'] . '&permutation_hash=$1 [L]'; + $pattern = '^' . $language_link . 'p-' . $row2['product_id'] . '-' . \S::seo( $row2['name'] ) . '$'; + $destination = 'index.php?product=' . $row2['product_id']; + + $mdb -> insert( 'pp_routes', [ 'product_id' => $row2['product_id'], 'lang_id' => $row['id'], 'pattern' => $pattern, 'destination' => $destination ] ); + + $pattern = '^' . $language_link . 'p-' . $row2['product_id'] . '-' . \S::seo( $row2['name'] ) . '/([0-9-]+)$'; + $destination = 'index.php?product=' . $row2['product_id'] . '&permutation_hash=$1'; + + $mdb -> insert( 'pp_routes', [ 'product_id' => $row2['product_id'], 'lang_id' => $row['id'], 'pattern' => $pattern, 'destination' => $destination ] ); } } } diff --git a/index.php b/index.php index 7a1a785..870a0ba 100644 --- a/index.php +++ b/index.php @@ -79,6 +79,44 @@ if ( \S::get( 'action' ) == 'htaccess' ) exit; } +// check redirects +$request_uri = substr( $_SERVER[ 'REQUEST_URI' ], 1, strlen( $_SERVER[ 'REQUEST_URI' ] ) ); +if ( $request_uri != '' ) +{ + $new_url = $mdb -> get( 'pp_redirects', 'to', [ 'from' => $request_uri ], [ 'ORDER' => [ 'date_add' => 'DESC' ] ] ); + if ( $new_url['to'] ) + { + header( 'Location: ' . $new_url[ 'to' ], true, 301 ); + exit; + } +} + +// check routes +$request_uri = ltrim( $_SERVER['REQUEST_URI'], '/' ); +if ( $request_uri != '' ) +{ + $matched = false; + + $routes = $mdb -> select( 'pp_routes', '*' ); + foreach ( $routes as $route ) + { + $pattern = $route['pattern']; + $destination = $route['destination']; + + if ( preg_match("#^" . $pattern . "#", $request_uri, $matches ) ) + { + // Replace placeholders in the destination with matches from the request URI + $destination = preg_replace( "#^" . $pattern . "#", $destination, $request_uri ); + + // Parse the destination string to extract GET parameters + parse_str(parse_url($destination, PHP_URL_QUERY), $_GET); + + $matched = true; + break; + } + } +} + if ( \S::get( 'a' ) == 'page' and \S::get( 'id' ) ) { $page = \front\factory\Pages::page_details( \S::get( 'id' ) );