# Create pretty URLs
# End: Create pretty URLs

# Specific redirections
if($is_args = ''){ rewrite ^/index\.php$ /index_php.html? permanent; }
if ($args ~* ^cat=Ecksitzgruppen$){ rewrite ^/catArt\.php$ /catArt_cat-Ecksitzgruppen.html? permanent; }
if ($args ~* ^cat=Schlafzimmer$){ rewrite ^/catArt\.php$ /catArt_cat-Schlafzimmer.html? permanent; }
if ($args ~* ^cat=Esszimmer$){ rewrite ^/catArt\.php$ /catArt_cat-Esszimmer.html? permanent; }
if ($args ~* ^cat=Wohnwände$){ rewrite ^/catArt\.php$ /catArt_cat-Wohnwände.html? permanent; }
if ($args ~* ^cat=Couchtische$){ rewrite ^/catArt\.php$ /catArt_cat-Couchtische.html? permanent; }
if ($args ~* ^cat=Jugendzimmer$){ rewrite ^/catArt\.php$ /catArt_cat-Jugendzimmer.html? permanent; }
if ($args ~* ^cat=Stockbetten$){ rewrite ^/catArt\.php$ /catArt_cat-Stockbetten.html? permanent; }
if ($args ~* ^cat=Babyzimmer$){ rewrite ^/catArt\.php$ /catArt_cat-Babyzimmer.html? permanent; }
if ($args ~* ^cat=Matratzen$){ rewrite ^/catArt\.php$ /catArt_cat-Matratzen.html? permanent; }
if ($args ~* ^cat=Kleiderschränke$){ rewrite ^/catArt\.php$ /catArt_cat-Kleiderschränke.html? permanent; }
if ($args ~* ^cat=Garderoben$){ rewrite ^/catArt\.php$ /catArt_cat-Garderoben.html? permanent; }
if ($args ~* ^cat=KÜCHE$){ rewrite ^/catArt\.php$ /catArt_cat-KÜCHE.html? permanent; }
if ($args ~* ^cat=Badezimmer$){ rewrite ^/catArt\.php$ /catArt_cat-Badezimmer.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/$ /lang-de.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/$ /lang-tr.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/$ /lang-en.html? permanent; }
if ($args ~* ^username=$){ rewrite ^/profile\.php$ /profile_username.html? permanent; }
if ($args ~* ^product=5$){ rewrite ^/orderAngebot\.php$ /orderAngebot_product-5.html? permanent; }
if ($args ~* ^topic=5$){ rewrite ^/aArticle\.php$ /aArticle_topic-5.html? permanent; }
if ($args ~* ^product=4$){ rewrite ^/orderAngebot\.php$ /orderAngebot_product-4.html? permanent; }
if ($args ~* ^topic=4$){ rewrite ^/aArticle\.php$ /aArticle_topic-4.html? permanent; }
if ($args ~* ^product=3$){ rewrite ^/orderAngebot\.php$ /orderAngebot_product-3.html? permanent; }
if ($args ~* ^topic=3$){ rewrite ^/aArticle\.php$ /aArticle_topic-3.html? permanent; }
if ($args ~* ^product=472$){ rewrite ^/orderNew\.php$ /orderNew_product-472.html? permanent; }
if ($args ~* ^topic=472$){ rewrite ^/nArticle\.php$ /nArticle_topic-472.html? permanent; }
if ($args ~* ^product=471$){ rewrite ^/orderNew\.php$ /orderNew_product-471.html? permanent; }
if ($args ~* ^topic=471$){ rewrite ^/nArticle\.php$ /nArticle_topic-471.html? permanent; }
if ($args ~* ^product=470$){ rewrite ^/orderNew\.php$ /orderNew_product-470.html? permanent; }
if ($args ~* ^topic=470$){ rewrite ^/nArticle\.php$ /nArticle_topic-470.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/catArt\.php$ /catArt.php/lang-de.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/catArt\.php$ /catArt.php/lang-tr.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/catArt\.php$ /catArt.php/lang-en.html? permanent; }
if ($args ~* ^topic=312$){ rewrite ^/nArticle\.php$ /nArticle_topic-312.html? permanent; }
if ($args ~* ^topic=311$){ rewrite ^/nArticle\.php$ /nArticle_topic-311.html? permanent; }
if ($args ~* ^topic=309$){ rewrite ^/nArticle\.php$ /nArticle_topic-309.html? permanent; }
if ($args ~* ^topic=307$){ rewrite ^/nArticle\.php$ /nArticle_topic-307.html? permanent; }
if ($args ~* ^topic=303$){ rewrite ^/nArticle\.php$ /nArticle_topic-303.html? permanent; }
if ($args ~* ^topic=300$){ rewrite ^/nArticle\.php$ /nArticle_topic-300.html? permanent; }
if ($args ~* ^topic=298$){ rewrite ^/nArticle\.php$ /nArticle_topic-298.html? permanent; }
if ($args ~* ^topic=297$){ rewrite ^/nArticle\.php$ /nArticle_topic-297.html? permanent; }
if ($args ~* ^topic=296$){ rewrite ^/nArticle\.php$ /nArticle_topic-296.html? permanent; }
if ($args ~* ^topic=294$){ rewrite ^/nArticle\.php$ /nArticle_topic-294.html? permanent; }
if ($args ~* ^topic=293$){ rewrite ^/nArticle\.php$ /nArticle_topic-293.html? permanent; }
if ($args ~* ^topic=292$){ rewrite ^/nArticle\.php$ /nArticle_topic-292.html? permanent; }
if ($args ~* ^topic=270$){ rewrite ^/nArticle\.php$ /nArticle_topic-270.html? permanent; }
if ($args ~* ^topic=269$){ rewrite ^/nArticle\.php$ /nArticle_topic-269.html? permanent; }
if ($args ~* ^product=246$){ rewrite ^/orderNew\.php$ /orderNew_product-246.html? permanent; }
if ($args ~* ^topic=246$){ rewrite ^/nArticle\.php$ /nArticle_topic-246.html? permanent; }
if ($args ~* ^topic=308$){ rewrite ^/nArticle\.php$ /nArticle_topic-308.html? permanent; }
if ($args ~* ^topic=305$){ rewrite ^/nArticle\.php$ /nArticle_topic-305.html? permanent; }
if ($args ~* ^topic=299$){ rewrite ^/nArticle\.php$ /nArticle_topic-299.html? permanent; }
if ($args ~* ^topic=287$){ rewrite ^/nArticle\.php$ /nArticle_topic-287.html? permanent; }
if ($args ~* ^topic=284$){ rewrite ^/nArticle\.php$ /nArticle_topic-284.html? permanent; }
if ($args ~* ^topic=278$){ rewrite ^/nArticle\.php$ /nArticle_topic-278.html? permanent; }
if ($args ~* ^product=257$){ rewrite ^/orderNew\.php$ /orderNew_product-257.html? permanent; }
if ($args ~* ^topic=257$){ rewrite ^/nArticle\.php$ /nArticle_topic-257.html? permanent; }
if ($args ~* ^product=254$){ rewrite ^/orderNew\.php$ /orderNew_product-254.html? permanent; }
if ($args ~* ^topic=254$){ rewrite ^/nArticle\.php$ /nArticle_topic-254.html? permanent; }
if ($args ~* ^product=252$){ rewrite ^/orderNew\.php$ /orderNew_product-252.html? permanent; }
if ($args ~* ^topic=252$){ rewrite ^/nArticle\.php$ /nArticle_topic-252.html? permanent; }
if ($args ~* ^product=242$){ rewrite ^/orderNew\.php$ /orderNew_product-242.html? permanent; }
if ($args ~* ^topic=242$){ rewrite ^/nArticle\.php$ /nArticle_topic-242.html? permanent; }
if ($args ~* ^topic=413$){ rewrite ^/nArticle\.php$ /nArticle_topic-413.html? permanent; }
if ($args ~* ^topic=412$){ rewrite ^/nArticle\.php$ /nArticle_topic-412.html? permanent; }
if ($args ~* ^topic=411$){ rewrite ^/nArticle\.php$ /nArticle_topic-411.html? permanent; }
if ($args ~* ^topic=334$){ rewrite ^/nArticle\.php$ /nArticle_topic-334.html? permanent; }
if ($args ~* ^topic=182$){ rewrite ^/nArticle\.php$ /nArticle_topic-182.html? permanent; }
if ($args ~* ^topic=181$){ rewrite ^/nArticle\.php$ /nArticle_topic-181.html? permanent; }
if ($args ~* ^topic=180$){ rewrite ^/nArticle\.php$ /nArticle_topic-180.html? permanent; }
if ($args ~* ^topic=410$){ rewrite ^/nArticle\.php$ /nArticle_topic-410.html? permanent; }
if ($args ~* ^topic=325$){ rewrite ^/nArticle\.php$ /nArticle_topic-325.html? permanent; }
if ($args ~* ^topic=324$){ rewrite ^/nArticle\.php$ /nArticle_topic-324.html? permanent; }
if ($args ~* ^topic=322$){ rewrite ^/nArticle\.php$ /nArticle_topic-322.html? permanent; }
if ($args ~* ^topic=351$){ rewrite ^/nArticle\.php$ /nArticle_topic-351.html? permanent; }
if ($args ~* ^topic=195$){ rewrite ^/nArticle\.php$ /nArticle_topic-195.html? permanent; }
if ($args ~* ^topic=194$){ rewrite ^/nArticle\.php$ /nArticle_topic-194.html? permanent; }
if ($args ~* ^topic=193$){ rewrite ^/nArticle\.php$ /nArticle_topic-193.html? permanent; }
if ($args ~* ^topic=192$){ rewrite ^/nArticle\.php$ /nArticle_topic-192.html? permanent; }
if ($args ~* ^topic=191$){ rewrite ^/nArticle\.php$ /nArticle_topic-191.html? permanent; }
if ($args ~* ^topic=190$){ rewrite ^/nArticle\.php$ /nArticle_topic-190.html? permanent; }
if ($args ~* ^topic=189$){ rewrite ^/nArticle\.php$ /nArticle_topic-189.html? permanent; }
if ($args ~* ^topic=178$){ rewrite ^/nArticle\.php$ /nArticle_topic-178.html? permanent; }
if ($args ~* ^topic=177$){ rewrite ^/nArticle\.php$ /nArticle_topic-177.html? permanent; }
if ($args ~* ^topic=176$){ rewrite ^/nArticle\.php$ /nArticle_topic-176.html? permanent; }
if ($args ~* ^topic=175$){ rewrite ^/nArticle\.php$ /nArticle_topic-175.html? permanent; }
if ($args ~* ^product=174$){ rewrite ^/orderNew\.php$ /orderNew_product-174.html? permanent; }
if ($args ~* ^topic=174$){ rewrite ^/nArticle\.php$ /nArticle_topic-174.html? permanent; }
if ($args ~* ^topic=173$){ rewrite ^/nArticle\.php$ /nArticle_topic-173.html? permanent; }
if ($args ~* ^topic=172$){ rewrite ^/nArticle\.php$ /nArticle_topic-172.html? permanent; }
if ($args ~* ^topic=171$){ rewrite ^/nArticle\.php$ /nArticle_topic-171.html? permanent; }
if ($args ~* ^topic=170$){ rewrite ^/nArticle\.php$ /nArticle_topic-170.html? permanent; }
if ($args ~* ^topic=169$){ rewrite ^/nArticle\.php$ /nArticle_topic-169.html? permanent; }
if ($args ~* ^cat=Jugendzimmer&page=2$){ rewrite ^/catArt\.php$ /catArt_cat-Jugendzimmer-page-2.html? permanent; }
if ($args ~* ^topic=232$){ rewrite ^/nArticle\.php$ /nArticle_topic-232.html? permanent; }
if ($args ~* ^topic=231$){ rewrite ^/nArticle\.php$ /nArticle_topic-231.html? permanent; }
if ($args ~* ^topic=230$){ rewrite ^/nArticle\.php$ /nArticle_topic-230.html? permanent; }
if ($args ~* ^topic=229$){ rewrite ^/nArticle\.php$ /nArticle_topic-229.html? permanent; }
if ($args ~* ^topic=228$){ rewrite ^/nArticle\.php$ /nArticle_topic-228.html? permanent; }
if ($args ~* ^topic=227$){ rewrite ^/nArticle\.php$ /nArticle_topic-227.html? permanent; }
if ($args ~* ^topic=226$){ rewrite ^/nArticle\.php$ /nArticle_topic-226.html? permanent; }
if ($args ~* ^topic=223$){ rewrite ^/nArticle\.php$ /nArticle_topic-223.html? permanent; }
if ($args ~* ^topic=222$){ rewrite ^/nArticle\.php$ /nArticle_topic-222.html? permanent; }
if ($args ~* ^topic=221$){ rewrite ^/nArticle\.php$ /nArticle_topic-221.html? permanent; }
if ($args ~* ^topic=220$){ rewrite ^/nArticle\.php$ /nArticle_topic-220.html? permanent; }
if ($args ~* ^topic=219$){ rewrite ^/nArticle\.php$ /nArticle_topic-219.html? permanent; }
if ($args ~* ^topic=217$){ rewrite ^/nArticle\.php$ /nArticle_topic-217.html? permanent; }
if ($args ~* ^topic=215$){ rewrite ^/nArticle\.php$ /nArticle_topic-215.html? permanent; }
if ($args ~* ^topic=214$){ rewrite ^/nArticle\.php$ /nArticle_topic-214.html? permanent; }
if ($args ~* ^topic=213$){ rewrite ^/nArticle\.php$ /nArticle_topic-213.html? permanent; }
if ($args ~* ^topic=212$){ rewrite ^/nArticle\.php$ /nArticle_topic-212.html? permanent; }
if ($args ~* ^topic=211$){ rewrite ^/nArticle\.php$ /nArticle_topic-211.html? permanent; }
if ($args ~* ^topic=333$){ rewrite ^/nArticle\.php$ /nArticle_topic-333.html? permanent; }
if ($args ~* ^topic=332$){ rewrite ^/nArticle\.php$ /nArticle_topic-332.html? permanent; }
if ($args ~* ^topic=331$){ rewrite ^/nArticle\.php$ /nArticle_topic-331.html? permanent; }
if ($args ~* ^topic=330$){ rewrite ^/nArticle\.php$ /nArticle_topic-330.html? permanent; }
if ($args ~* ^topic=164$){ rewrite ^/nArticle\.php$ /nArticle_topic-164.html? permanent; }
if ($args ~* ^topic=163$){ rewrite ^/nArticle\.php$ /nArticle_topic-163.html? permanent; }
if ($args ~* ^topic=162$){ rewrite ^/nArticle\.php$ /nArticle_topic-162.html? permanent; }
if ($args ~* ^topic=469$){ rewrite ^/nArticle\.php$ /nArticle_topic-469.html? permanent; }
if ($args ~* ^topic=468$){ rewrite ^/nArticle\.php$ /nArticle_topic-468.html? permanent; }
if ($args ~* ^topic=467$){ rewrite ^/nArticle\.php$ /nArticle_topic-467.html? permanent; }
if ($args ~* ^topic=466$){ rewrite ^/nArticle\.php$ /nArticle_topic-466.html? permanent; }
if ($args ~* ^topic=465$){ rewrite ^/nArticle\.php$ /nArticle_topic-465.html? permanent; }
if ($args ~* ^topic=464$){ rewrite ^/nArticle\.php$ /nArticle_topic-464.html? permanent; }
if ($args ~* ^topic=463$){ rewrite ^/nArticle\.php$ /nArticle_topic-463.html? permanent; }
if ($args ~* ^topic=462$){ rewrite ^/nArticle\.php$ /nArticle_topic-462.html? permanent; }
if ($args ~* ^topic=461$){ rewrite ^/nArticle\.php$ /nArticle_topic-461.html? permanent; }
if ($args ~* ^topic=460$){ rewrite ^/nArticle\.php$ /nArticle_topic-460.html? permanent; }
if ($args ~* ^topic=459$){ rewrite ^/nArticle\.php$ /nArticle_topic-459.html? permanent; }
if ($args ~* ^topic=458$){ rewrite ^/nArticle\.php$ /nArticle_topic-458.html? permanent; }
if ($args ~* ^topic=457$){ rewrite ^/nArticle\.php$ /nArticle_topic-457.html? permanent; }
if ($args ~* ^topic=456$){ rewrite ^/nArticle\.php$ /nArticle_topic-456.html? permanent; }
if ($args ~* ^topic=455$){ rewrite ^/nArticle\.php$ /nArticle_topic-455.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/angebot\.php$ /angebot.php/lang-de.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/angebot\.php$ /angebot.php/lang-tr.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/angebot\.php$ /angebot.php/lang-en.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/newArticle\.php$ /newArticle.php/lang-de.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/newArticle\.php$ /newArticle.php/lang-tr.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/newArticle\.php$ /newArticle.php/lang-en.html? permanent; }
if ($args ~* ^page=2$){ rewrite ^/newArticle\.php$ /newArticle.php/page-2.html? permanent; }
if ($args ~* ^page=3$){ rewrite ^/newArticle\.php$ /newArticle.php/page-3.html? permanent; }
if ($args ~* ^page=4$){ rewrite ^/newArticle\.php$ /newArticle.php/page-4.html? permanent; }
if ($args ~* ^page=5$){ rewrite ^/newArticle\.php$ /newArticle.php/page-5.html? permanent; }
if ($args ~* ^page=6$){ rewrite ^/newArticle\.php$ /newArticle.php/page-6.html? permanent; }
if ($args ~* ^page=7$){ rewrite ^/newArticle\.php$ /newArticle.php/page-7.html? permanent; }
if ($args ~* ^page=16$){ rewrite ^/newArticle\.php$ /newArticle.php/page-16.html? permanent; }
if ($args ~* ^page=17$){ rewrite ^/newArticle\.php$ /newArticle.php/page-17.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/gallery\.php$ /gallery.php/lang-de.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/gallery\.php$ /gallery.php/lang-tr.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/gallery\.php$ /gallery.php/lang-en.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/contact\.php$ /contact.php/lang-de.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/contact\.php$ /contact.php/lang-tr.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/contact\.php$ /contact.php/lang-en.html? permanent; }
if ($args ~* ^cat=Ranzalar$){ rewrite ^/catArt\.php$ /catArt_cat-Ranzalar.html? permanent; }
if ($args ~* ^cat=Bathroom$){ rewrite ^/catArt\.php$ /catArt_cat-Bathroom.html? permanent; }
if ($args ~* ^cat=Bedrooms$){ rewrite ^/catArt\.php$ /catArt_cat-Bedrooms.html? permanent; }
if ($args ~* ^cat=Beds$){ rewrite ^/catArt\.php$ /catArt_cat-Beds.html? permanent; }
if ($args ~* ^cat=KITCHEN$){ rewrite ^/catArt\.php$ /catArt_cat-KITCHEN.html? permanent; }
if ($args ~* ^cat=Mattresses$){ rewrite ^/catArt\.php$ /catArt_cat-Mattresses.html? permanent; }
if ($args ~* ^cat=Wardrobes$){ rewrite ^/catArt\.php$ /catArt_cat-Wardrobes.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/impresium\.php$ /impresium.php/lang-de.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/impresium\.php$ /impresium.php/lang-tr.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/impresium\.php$ /impresium.php/lang-en.html? permanent; }
if ($args ~* ^cat=Couchtisch$){ rewrite ^/catArt\.php$ /catArt_cat-Couchtisch.html? permanent; }
if ($args ~* ^product=24$){ rewrite ^/orderNew\.php$ /orderNew_product-24.html? permanent; }
if ($args ~* ^topic=24$){ rewrite ^/nArticle\.php$ /nArticle_topic-24.html? permanent; }
if ($args ~* ^product=12$){ rewrite ^/orderNew\.php$ /orderNew_product-12.html? permanent; }
if ($args ~* ^topic=12$){ rewrite ^/nArticle\.php$ /nArticle_topic-12.html? permanent; }
if ($args ~* ^product=256$){ rewrite ^/orderNew\.php$ /orderNew_product-256.html? permanent; }
if ($args ~* ^topic=256$){ rewrite ^/nArticle\.php$ /nArticle_topic-256.html? permanent; }
if ($args ~* ^product=255$){ rewrite ^/orderNew\.php$ /orderNew_product-255.html? permanent; }
if ($args ~* ^topic=255$){ rewrite ^/nArticle\.php$ /nArticle_topic-255.html? permanent; }
if ($args ~* ^product=253$){ rewrite ^/orderNew\.php$ /orderNew_product-253.html? permanent; }
if ($args ~* ^topic=253$){ rewrite ^/nArticle\.php$ /nArticle_topic-253.html? permanent; }
if ($args ~* ^product=251$){ rewrite ^/orderNew\.php$ /orderNew_product-251.html? permanent; }
if ($args ~* ^topic=251$){ rewrite ^/nArticle\.php$ /nArticle_topic-251.html? permanent; }
if ($args ~* ^product=250$){ rewrite ^/orderNew\.php$ /orderNew_product-250.html? permanent; }
if ($args ~* ^topic=250$){ rewrite ^/nArticle\.php$ /nArticle_topic-250.html? permanent; }
if ($args ~* ^product=249$){ rewrite ^/orderNew\.php$ /orderNew_product-249.html? permanent; }
if ($args ~* ^topic=249$){ rewrite ^/nArticle\.php$ /nArticle_topic-249.html? permanent; }
if ($args ~* ^product=248$){ rewrite ^/orderNew\.php$ /orderNew_product-248.html? permanent; }
if ($args ~* ^topic=248$){ rewrite ^/nArticle\.php$ /nArticle_topic-248.html? permanent; }
if ($args ~* ^product=247$){ rewrite ^/orderNew\.php$ /orderNew_product-247.html? permanent; }
if ($args ~* ^topic=247$){ rewrite ^/nArticle\.php$ /nArticle_topic-247.html? permanent; }
if ($args ~* ^product=245$){ rewrite ^/orderNew\.php$ /orderNew_product-245.html? permanent; }
if ($args ~* ^topic=245$){ rewrite ^/nArticle\.php$ /nArticle_topic-245.html? permanent; }
if ($args ~* ^product=243$){ rewrite ^/orderNew\.php$ /orderNew_product-243.html? permanent; }
if ($args ~* ^topic=243$){ rewrite ^/nArticle\.php$ /nArticle_topic-243.html? permanent; }
if ($args ~* ^product=241$){ rewrite ^/orderNew\.php$ /orderNew_product-241.html? permanent; }
if ($args ~* ^topic=241$){ rewrite ^/nArticle\.php$ /nArticle_topic-241.html? permanent; }
if ($args ~* ^product=240$){ rewrite ^/orderNew\.php$ /orderNew_product-240.html? permanent; }
if ($args ~* ^topic=240$){ rewrite ^/nArticle\.php$ /nArticle_topic-240.html? permanent; }
if ($args ~* ^page=12$){ rewrite ^/newArticle\.php$ /newArticle.php/page-12.html? permanent; }
if ($args ~* ^page=13$){ rewrite ^/newArticle\.php$ /newArticle.php/page-13.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/imageGallery\.php$ /imageGallery.php/lang-de.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/imageGallery\.php$ /imageGallery.php/lang-tr.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/imageGallery\.php$ /imageGallery.php/lang-en.html? permanent; }
if ($args ~* ^page=2$){ rewrite ^/imageGallery\.php$ /imageGallery.php/page-2.html? permanent; }
if ($args ~* ^page=3$){ rewrite ^/imageGallery\.php$ /imageGallery.php/page-3.html? permanent; }
if ($args ~* ^page=4$){ rewrite ^/imageGallery\.php$ /imageGallery.php/page-4.html? permanent; }
if ($args ~* ^page=5$){ rewrite ^/imageGallery\.php$ /imageGallery.php/page-5.html? permanent; }
if ($args ~* ^page=6$){ rewrite ^/imageGallery\.php$ /imageGallery.php/page-6.html? permanent; }
if ($args ~* ^page=7$){ rewrite ^/imageGallery\.php$ /imageGallery.php/page-7.html? permanent; }
if ($args ~* ^page=8$){ rewrite ^/imageGallery\.php$ /imageGallery.php/page-8.html? permanent; }
if ($args ~* ^page=9$){ rewrite ^/imageGallery\.php$ /imageGallery.php/page-9.html? permanent; }
if ($args ~* ^product=119$){ rewrite ^/orderNew\.php$ /orderNew_product-119.html? permanent; }
if ($args ~* ^topic=119$){ rewrite ^/nArticle\.php$ /nArticle_topic-119.html? permanent; }
if ($args ~* ^product=118$){ rewrite ^/orderNew\.php$ /orderNew_product-118.html? permanent; }
if ($args ~* ^topic=118$){ rewrite ^/nArticle\.php$ /nArticle_topic-118.html? permanent; }
if ($args ~* ^product=117$){ rewrite ^/orderNew\.php$ /orderNew_product-117.html? permanent; }
if ($args ~* ^topic=117$){ rewrite ^/nArticle\.php$ /nArticle_topic-117.html? permanent; }
if ($args ~* ^product=116$){ rewrite ^/orderNew\.php$ /orderNew_product-116.html? permanent; }
if ($args ~* ^topic=116$){ rewrite ^/nArticle\.php$ /nArticle_topic-116.html? permanent; }
if ($args ~* ^product=115$){ rewrite ^/orderNew\.php$ /orderNew_product-115.html? permanent; }
if ($args ~* ^topic=115$){ rewrite ^/nArticle\.php$ /nArticle_topic-115.html? permanent; }
if ($args ~* ^topic=7$){ rewrite ^/nArticle\.php$ /nArticle_topic-7.html? permanent; }
if ($args ~* ^cat=Essgruppen$){ rewrite ^/catArt\.php$ /catArt_cat-Essgruppen.html? permanent; }
if ($args ~* ^cat=Esstisch$){ rewrite ^/catArt\.php$ /catArt_cat-Esstisch.html? permanent; }
if ($args ~* ^cat=Stühlen$){ rewrite ^/catArt\.php$ /catArt_cat-Stühlen.html? permanent; }
if ($args ~* ^cat=Babybetten$){ rewrite ^/catArt\.php$ /catArt_cat-Babybetten.html? permanent; }
if ($args ~* ^page=1$){ rewrite ^/$ /page-1.html? permanent; }
if ($args ~* ^page=7$){ rewrite ^/$ /page-7.html? permanent; }
if ($args ~* ^topic=6$){ rewrite ^/aArticle\.php$ /aArticle_topic-6.html? permanent; }
if ($args ~* ^topic=7$){ rewrite ^/aArticle\.php$ /aArticle_topic-7.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/angebot\.php$ /angebot_lang-de.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/angebot\.php$ /angebot_lang-en.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/angebot\.php$ /angebot_lang-tr.html? permanent; }
if ($args ~* ^cat=Avantgarde\+Sitzgruppe$){ rewrite ^/catArt\.php$ /catArt_cat-Avantgarde-Sitzgruppe.html? permanent; }
if ($args ~* ^cat=Betten\+und\+Polsterbetten$){ rewrite ^/catArt\.php$ /catArt_cat-Betten-und-Polsterbetten.html? permanent; }
if ($args ~* ^cat=K\%EF\%BF\%BD\%EF\%BF\%BDCHE$){ rewrite ^/catArt\.php$ /catArt_cat-K��CHE.html? permanent; }
if ($args ~* ^cat=Kleiderschr\%EF\%BF\%BD\%EF\%BF\%BDnke$){ rewrite ^/catArt\.php$ /catArt_cat-Kleiderschr��nke.html? permanent; }
if ($args ~* ^cat=Moderne\+Sitzgruppen$){ rewrite ^/catArt\.php$ /catArt_cat-Moderne-Sitzgruppen.html? permanent; }
if ($args ~* ^cat=Tische\%20und\%20St\%EF\%BF\%BD\%EF\%BF\%BDhle$){ rewrite ^/catArt\.php$ /catArt_cat-TischeundSt��hle.html? permanent; }
if ($args ~* ^cat=Tische\+und\+St\%C3\%BChle$){ rewrite ^/catArt\.php$ /catArt_cat-Tische-und-Stühle.html? permanent; }
if ($args ~* ^cat=Wohnw\%EF\%BF\%BD\%EF\%BF\%BDnde$){ rewrite ^/catArt\.php$ /catArt_cat-Wohnw��nde.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/catArt\.php$ /catArt_lang-de.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/catArt\.php$ /catArt_lang-en.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/catArt\.php$ /catArt_lang-tr.html? permanent; }
if ($args ~* ^page=3&grid_list$){ rewrite ^/collections/esszimmer$ /collections/esszimmer_page-3-grid_list.html? permanent; }
if ($args ~* ^page=4&grid_list$){ rewrite ^/collections/esszimmer$ /collections/esszimmer_page-4-grid_list.html? permanent; }
if ($args ~* ^page=2&grid_list$){ rewrite ^/collections/travertin-couchtische$ /collections/travertin-couchtische_page-2-grid_list.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/contact\.php$ /contact_lang-en.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/contact\.php$ /contact_lang-tr.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/gallery\.php$ /gallery_lang-de.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/gallery\.php$ /gallery_lang-en.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/gallery\.php$ /gallery_lang-tr.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/imageGallery\.php$ /imageGallery_lang-de.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/imageGallery\.php$ /imageGallery_lang-en.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/imageGallery\.php$ /imageGallery_lang-tr.html? permanent; }
if ($args ~* ^page=2$){ rewrite ^/imageGallery\.php$ /imageGallery_page-2.html? permanent; }
if ($args ~* ^page=3$){ rewrite ^/imageGallery\.php$ /imageGallery_page-3.html? permanent; }
if ($args ~* ^page=4$){ rewrite ^/imageGallery\.php$ /imageGallery_page-4.html? permanent; }
if ($args ~* ^page=5$){ rewrite ^/imageGallery\.php$ /imageGallery_page-5.html? permanent; }
if ($args ~* ^page=6$){ rewrite ^/imageGallery\.php$ /imageGallery_page-6.html? permanent; }
if ($args ~* ^page=7$){ rewrite ^/imageGallery\.php$ /imageGallery_page-7.html? permanent; }
if ($args ~* ^page=8$){ rewrite ^/imageGallery\.php$ /imageGallery_page-8.html? permanent; }
if ($args ~* ^page=9$){ rewrite ^/imageGallery\.php$ /imageGallery_page-9.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/impresium\.php$ /impresium_lang-de.html? permanent; }
if ($args ~* ^lang=en$){ rewrite ^/impresium\.php$ /impresium_lang-en.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/impresium\.php$ /impresium_lang-tr.html? permanent; }
if ($args ~* ^topic=105$){ rewrite ^/nArticle\.php$ /nArticle_topic-105.html? permanent; }
if ($args ~* ^topic=106$){ rewrite ^/nArticle\.php$ /nArticle_topic-106.html? permanent; }
if ($args ~* ^topic=107$){ rewrite ^/nArticle\.php$ /nArticle_topic-107.html? permanent; }
if ($args ~* ^topic=108$){ rewrite ^/nArticle\.php$ /nArticle_topic-108.html? permanent; }
if ($args ~* ^topic=109$){ rewrite ^/nArticle\.php$ /nArticle_topic-109.html? permanent; }
if ($args ~* ^topic=110$){ rewrite ^/nArticle\.php$ /nArticle_topic-110.html? permanent; }
if ($args ~* ^topic=111$){ rewrite ^/nArticle\.php$ /nArticle_topic-111.html? permanent; }
if ($args ~* ^topic=112$){ rewrite ^/nArticle\.php$ /nArticle_topic-112.html? permanent; }
if ($args ~* ^topic=113$){ rewrite ^/nArticle\.php$ /nArticle_topic-113.html? permanent; }
if ($args ~* ^topic=114$){ rewrite ^/nArticle\.php$ /nArticle_topic-114.html? permanent; }
if ($args ~* ^topic=120$){ rewrite ^/nArticle\.php$ /nArticle_topic-120.html? permanent; }
if ($args ~* ^topic=121$){ rewrite ^/nArticle\.php$ /nArticle_topic-121.html? permanent; }
if ($args ~* ^topic=122$){ rewrite ^/nArticle\.php$ /nArticle_topic-122.html? permanent; }
if ($args ~* ^topic=123$){ rewrite ^/nArticle\.php$ /nArticle_topic-123.html? permanent; }
if ($args ~* ^topic=137$){ rewrite ^/nArticle\.php$ /nArticle_topic-137.html? permanent; }
if ($args ~* ^topic=187$){ rewrite ^/nArticle\.php$ /nArticle_topic-187.html? permanent; }
if ($args ~* ^topic=188$){ rewrite ^/nArticle\.php$ /nArticle_topic-188.html? permanent; }
if ($args ~* ^topic=233$){ rewrite ^/nArticle\.php$ /nArticle_topic-233.html? permanent; }
if ($args ~* ^topic=244$){ rewrite ^/nArticle\.php$ /nArticle_topic-244.html? permanent; }
if ($args ~* ^topic=93$){ rewrite ^/nArticle\.php$ /nArticle_topic-93.html? permanent; }
if ($args ~* ^topic=99$){ rewrite ^/nArticle\.php$ /nArticle_topic-99.html? permanent; }
if ($args ~* ^lang=de$){ rewrite ^/newArticle\.php$ /newArticle_lang-de.html? permanent; }
if ($args ~* ^lang=tr$){ rewrite ^/newArticle\.php$ /newArticle_lang-tr.html? permanent; }
if ($args ~* ^page=12$){ rewrite ^/newArticle\.php$ /newArticle_page-12.html? permanent; }
if ($args ~* ^page=13$){ rewrite ^/newArticle\.php$ /newArticle_page-13.html? permanent; }
if ($args ~* ^page=16$){ rewrite ^/newArticle\.php$ /newArticle_page-16.html? permanent; }
if ($args ~* ^page=17$){ rewrite ^/newArticle\.php$ /newArticle_page-17.html? permanent; }
if ($args ~* ^page=2$){ rewrite ^/newArticle\.php$ /newArticle_page-2.html? permanent; }
if ($args ~* ^page=3$){ rewrite ^/newArticle\.php$ /newArticle_page-3.html? permanent; }
if ($args ~* ^page=4$){ rewrite ^/newArticle\.php$ /newArticle_page-4.html? permanent; }
if ($args ~* ^page=5$){ rewrite ^/newArticle\.php$ /newArticle_page-5.html? permanent; }
if ($args ~* ^page=6$){ rewrite ^/newArticle\.php$ /newArticle_page-6.html? permanent; }
if ($args ~* ^page=7$){ rewrite ^/newArticle\.php$ /newArticle_page-7.html? permanent; }
if ($args ~* ^product=7$){ rewrite ^/orderAngebot\.php$ /orderAngebot_product-7.html? permanent; }
if ($args ~* ^product=6$){ rewrite ^/orderAngebot\.php$ /orderAngebot_product-6.html? permanent; }
if ($args ~* ^product=106$){ rewrite ^/orderNew\.php$ /orderNew_product-106.html? permanent; }
if ($args ~* ^product=107$){ rewrite ^/orderNew\.php$ /orderNew_product-107.html? permanent; }
if ($args ~* ^product=108$){ rewrite ^/orderNew\.php$ /orderNew_product-108.html? permanent; }
if ($args ~* ^product=109$){ rewrite ^/orderNew\.php$ /orderNew_product-109.html? permanent; }
if ($args ~* ^product=110$){ rewrite ^/orderNew\.php$ /orderNew_product-110.html? permanent; }
if ($args ~* ^product=111$){ rewrite ^/orderNew\.php$ /orderNew_product-111.html? permanent; }
if ($args ~* ^product=112$){ rewrite ^/orderNew\.php$ /orderNew_product-112.html? permanent; }
if ($args ~* ^product=113$){ rewrite ^/orderNew\.php$ /orderNew_product-113.html? permanent; }
if ($args ~* ^product=114$){ rewrite ^/orderNew\.php$ /orderNew_product-114.html? permanent; }
if ($args ~* ^product=120$){ rewrite ^/orderNew\.php$ /orderNew_product-120.html? permanent; }
if ($args ~* ^product=121$){ rewrite ^/orderNew\.php$ /orderNew_product-121.html? permanent; }
if ($args ~* ^product=122$){ rewrite ^/orderNew\.php$ /orderNew_product-122.html? permanent; }
if ($args ~* ^product=123$){ rewrite ^/orderNew\.php$ /orderNew_product-123.html? permanent; }
if ($args ~* ^product=244$){ rewrite ^/orderNew\.php$ /orderNew_product-244.html? permanent; }

# Redirect all extensions to html
if ($is_args = ''){
	rewrite ^([^.]*)\.shtml$ $1.html permanent;
	rewrite ^([^.]*)\.phtml$ $1.html permanent;
	rewrite ^([^.]*)\.jhtml$ $1.html permanent;
	rewrite ^([^.]*)\.htm$ $1.html permanent;
	rewrite ^([^.]*)\.php$ $1.html permanent;
	rewrite ^([^.]*)\.aspx$ $1.html permanent;
	rewrite ^([^.]*)\.asp$ $1.html permanent;
	rewrite ^([^.]*)\.jsp$ $1.html permanent;
	rewrite ^([^.]*)\.apk$ $1.html permanent;
}
# End: Redirect all extensions to html
