# Create pretty URLs
# End: Create pretty URLs

# Specific redirections
if ($args ~* ^start=6$){ rewrite ^/vidy-bambuka\.html$ /vidy-bambuka_start-6.html? permanent; }
if ($args ~* ^start=12$){ rewrite ^/vidy-bambuka\.html$ /vidy-bambuka_start-12.html? permanent; }
if ($args ~* ^start=18$){ rewrite ^/vidy-bambuka\.html$ /vidy-bambuka_start-18.html? permanent; }
if ($args ~* ^start=24$){ rewrite ^/vidy-bambuka\.html$ /vidy-bambuka_start-24.html? permanent; }
if ($args ~* ^start=30$){ rewrite ^/vidy-bambuka\.html$ /vidy-bambuka_start-30.html? permanent; }
if ($args ~* ^start=36$){ rewrite ^/vidy-bambuka\.html$ /vidy-bambuka_start-36.html? permanent; }
if ($args ~* ^start=42$){ rewrite ^/vidy-bambuka\.html$ /vidy-bambuka_start-42.html? permanent; }
if ($args ~* ^start=48$){ rewrite ^/vidy-bambuka\.html$ /vidy-bambuka_start-48.html? permanent; }
if ($args ~* ^start=54$){ rewrite ^/vidy-bambuka\.html$ /vidy-bambuka_start-54.html? permanent; }
if ($args ~* ^start=6$){ rewrite ^/gigantskij-bambuk\.html$ /gigantskij-bambuk_start-6.html? permanent; }
if ($args ~* ^start=6$){ rewrite ^/vysokij-bambuk\.html$ /vysokij-bambuk_start-6.html? permanent; }
if ($args ~* ^start=12$){ rewrite ^/vysokij-bambuk\.html$ /vysokij-bambuk_start-12.html? permanent; }
if ($args ~* ^start=18$){ rewrite ^/vysokij-bambuk\.html$ /vysokij-bambuk_start-18.html? permanent; }
if ($args ~* ^start=6$){ rewrite ^/srednij-bambuk\.html$ /srednij-bambuk_start-6.html? permanent; }
if ($args ~* ^start=12$){ rewrite ^/srednij-bambuk\.html$ /srednij-bambuk_start-12.html? permanent; }
if ($args ~* ^start=18$){ rewrite ^/srednij-bambuk\.html$ /srednij-bambuk_start-18.html? permanent; }
if ($args ~* ^start=6$){ rewrite ^/nizkij-bambuk\.html$ /nizkij-bambuk_start-6.html? permanent; }
if ($args ~* ^start=6$){ rewrite ^/vyrashhivanie-i-uhod-za-bambukom\.html$ /vyrashhivanie-i-uhod-za-bambukom_start-6.html? permanent; }
if ($args ~* ^start=5$){ rewrite ^/21-rastenie-bambuk\.html$ /21-rastenie-bambuk_start-5.html? permanent; }
rewrite ^/%3C/script$ /-/script.html? permanent;
if ($args ~* ^Itemid=142$){ rewrite ^/$ /Itemid-142.html? permanent; }
if ($args ~* ^option=com_mailto&tmpl=component&link=aHR0cDovL21pcmJhbWJ1a2EuY29tL21hZ2F6aW4tbWlyLWJhbWJ1a2Evc2F6aGVudHNpLXNhZG92b2dvLW1vcm96b3N0b3lrb2dvLWJhbWJ1a2Eta3VwaXQuaHRtbA==$){ rewrite ^/index\.php$ /index_option-com_mailto-tmpl-component-link-aHR0cDovL21pcmJhbWJ1a2EuY29tL21hZ2F6aW4tbWlyLWJhbWJ1a2Evc2F6aGVudHNpLXNhZG92b2dvLW1vcm96b3N0b3lrb2dvLWJhbWJ1a2Eta3VwaXQuaHRtbA.html? permanent; }
if ($args ~* ^option=com_mailto&tmpl=component&link=aHR0cDovL21pcmJhbWJ1a2EuY29tL21pci1iYW1idWthL21pci1iYW1idWthLXBsZWQuaHRtbA==$){ rewrite ^/index\.php$ /index_option-com_mailto-tmpl-component-link-aHR0cDovL21pcmJhbWJ1a2EuY29tL21pci1iYW1idWthL21pci1iYW1idWthLXBsZWQuaHRtbA.html? permanent; }
if ($args ~* ^option=com_mailto&tmpl=component&link=aHR0cDovL21pcmJhbWJ1a2EuY29tL2JhbWJ1ay12LWxhbmRzaGFmdGUvZWt6b3RpY2hlc2tvZS1yYXN0ZW5pZS1iYW1idWstdi1sYW5kc2hhZnRub20tZGl6YXluZS5odG1s$){ rewrite ^/index\.php$ /index_option-com_mailto-tmpl-component-link-aHR0cDovL21pcmJhbWJ1a2EuY29tL2JhbWJ1ay12LWxhbmRzaGFmdGUvZWt6b3RpY2hlc2tvZS1yYXN0ZW5pZS1iYW1idWstdi1sYW5kc2hhZnRub20tZGl6YXluZS5odG1s.html? permanent; }
if ($args ~* ^option=com_mailto&tmpl=component&link=aHR0cDovL21pcmJhbWJ1a2EuY29tL2JhbWJ1ay1iYW1ib28vc2F6aGVudHNpLXNhZG92b2dvLW1vcm96b3N0b3lrb2dvLWJhbWJ1a2Eta3VwaXQuaHRtbA==$){ rewrite ^/index\.php$ /index_option-com_mailto-tmpl-component-link-aHR0cDovL21pcmJhbWJ1a2EuY29tL2JhbWJ1ay1iYW1ib28vc2F6aGVudHNpLXNhZG92b2dvLW1vcm96b3N0b3lrb2dvLWJhbWJ1a2Eta3VwaXQuaHRtbA.html? permanent; }
if ($args ~* ^option=com_mailto&tmpl=component&link=aHR0cDovL21pcmJhbWJ1a2EuY29tL3ZpcmFzY2hpdmFuaWUtYmFtYnVrYS91Y2hvZC16YS1kZWtvcmF0aXZuaW0taS1zYWRvdmltLWJhbWJ1a29tLmh0bWw=$){ rewrite ^/index\.php$ /index_option-com_mailto-tmpl-component-link-aHR0cDovL21pcmJhbWJ1a2EuY29tL3ZpcmFzY2hpdmFuaWUtYmFtYnVrYS91Y2hvZC16YS1kZWtvcmF0aXZuaW0taS1zYWRvdmltLWJhbWJ1a29tLmh0bWw.html? permanent; }
if ($args ~* ^option=com_mailto&tmpl=component&link=aHR0cDovL21pcmJhbWJ1a2EuY29tL3ZpcmFzY2hpdmFuaWUtYmFtYnVrYS9rYWstdmlyYXNjaGl2YXQtYmFtYnVrLmh0bWw=$){ rewrite ^/index\.php$ /index_option-com_mailto-tmpl-component-link-aHR0cDovL21pcmJhbWJ1a2EuY29tL3ZpcmFzY2hpdmFuaWUtYmFtYnVrYS9rYWstdmlyYXNjaGl2YXQtYmFtYnVrLmh0bWw.html? permanent; }
if ($args ~* ^option=com_mailto&tmpl=component&link=aHR0cDovL21pcmJhbWJ1a2EuY29tL3ZpcmFzY2hpdmFuaWUtYmFtYnVrYS9rYWstdmlyYXNjaGl2YXQtYmFtYnVrLXYta29udGV5bmVyYWNoLmh0bWw=$){ rewrite ^/index\.php$ /index_option-com_mailto-tmpl-component-link-aHR0cDovL21pcmJhbWJ1a2EuY29tL3ZpcmFzY2hpdmFuaWUtYmFtYnVrYS9rYWstdmlyYXNjaGl2YXQtYmFtYnVrLXYta29udGV5bmVyYWNoLmh0bWw.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%C2\%A0\+\%D0\%BE\%D0\%BE\%D0\%BD$){ rewrite ^/search\.html$ /search_ordering-newest-searchword--оон.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%C2\%BA\+\%D1\%82\%D0\%B8\%D0\%BF$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-º-тип.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B1\%D0\%B0\%D0\%BC\%D0\%B1\%D1\%83\%D0\%BA\%D0\%B0$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-бамбука.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B1\%D0\%B0\%D1\%80\%D1\%8C\%D0\%B5\%D1\%80\%D0\%B0$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-барьера.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B1\%D1\%83\%D0\%B4\%D0\%B5\%D1\%82$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-будет.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B1\%D1\%8B\%D1\%81\%D1\%82\%D1\%80\%D0\%BE$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-быстро.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B2\%D0\%B8\%D0\%B4\%D0\%BE\%D0\%B2$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-видов.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B2\%D0\%B8\%D0\%B4\+\%D0\%B1\%D1\%8B\%D0\%BB$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-вид-был.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B2\%D0\%BE\%D0\%B4\%D1\%8B$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-воды.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B2\%D0\%BE\%D0\%BB\%D0\%BE\%D0\%BA\%D0\%BD\%D0\%B0$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-волокна.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B2\%D1\%80\%D0\%B5\%D0\%BC\%D1\%8F$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-время.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B2\%D1\%8B\%D1\%81\%D0\%BE\%D1\%82\%D0\%B0$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-высота.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B3\%D0\%BE\%D0\%B4\+\%C2\%A0$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-год-.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B4\%D0\%BE\%C2\%A0\+22\%C2\%B0$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-до-22°.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B4\%D0\%BE\%C2\%A0\+25\%C2\%B0$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-до-25°.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B4\%D1\%83\%D0\%B1\%D0\%B0\+120$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-дуба-120.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B6\%D0\%B8\%D0\%B2\%D1\%8B\%D0\%B5$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-живые.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B7\%D0\%B5\%D0\%BB\%D0\%B5\%D0\%BD\%D1\%8B\%D0\%B5$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-зеленые.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B7\%D0\%BE\%D0\%BD\%D0\%B0$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-зона.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B8\%D0\%B7\%D0\%B4\%D0\%B5\%D0\%BB\%D0\%B8\%D1\%8F$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-изделия.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%B8\%D0\%BC\%D0\%B5\%D0\%B5\%D1\%82$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-имеет.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%BA\%D0\%B8\%D1\%82\%D0\%B0\%D0\%B9$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-китай.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%BB\%D0\%B5\%D1\%81\%D0\%B0\+80$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-леса-80.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%BB\%D0\%B8\%D1\%81\%D1\%82\%D1\%8C\%D1\%8F$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-листья.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%BC\%D0\%B5\%D0\%BD\%D0\%B5\%D0\%B5\+120$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-менее-120.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%BC\%D0\%B5\%D1\%82\%D1\%80\%D0\%BE\%D0\%B2$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-метров.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%BC\%D0\%B8\%D1\%80\%D0\%B5$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-мире.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%BD\%D0\%BE\%D1\%81\%D0\%BA\%D0\%B8$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-носки.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%BF\%D0\%BE\%D0\%B1\%D0\%B5\%D0\%B3\%D0\%B8$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-побеги.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D0\%BF\%D0\%BE\%D1\%81\%D0\%B0\%D0\%B4\%D0\%BA\%D0\%B8$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-посадки.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%80\%D0\%B0\%D1\%81\%D1\%82\%D0\%B5\%D1\%82$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-растет.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%81\%D0\%B0\%D0\%B4\%D0\%B0$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-сада.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%81\%D0\%B0\%D0\%B4\%D0\%B0\+agm$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-сада-agm.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%81\%D0\%B0\%D0\%B4\%D1\%83$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-саду.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%81\%D0\%B0\%D0\%B6\%D0\%B5\%D0\%BD\%D1\%86\%D1\%8B$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-саженцы.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%81\%D0\%B0\%D0\%B7\%D0\%B0\+sasa$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-саза-sasa.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%81\%D0\%B0\%D0\%BD\%D1\%82\%D0\%B8\%D0\%BC$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-сантим.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%81\%D0\%BC\+liter$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-см-liter.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%81\%D0\%BE\%D0\%BB\%D0\%BD\%D1\%86\%D0\%B5$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-солнце.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%81\%D1\%82\%D0\%B5\%D0\%B1\%D0\%BB\%D0\%B8$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-стебли.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%82\%D0\%BA\%D0\%B0\%D0\%BD\%D0\%B8$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-ткани.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%85\%D0\%BE\%D1\%80\%D0\%BE\%D1\%88\%D0\%BE$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-хорошо.html? permanent; }
if ($args ~* ^ordering=newest&searchword=\%D1\%8D\%D1\%82\%D0\%BE\%D0\%BC$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-этом.html? permanent; }
if ($args ~* ^ordering=newest&searchword=00\+\%D0\%B3\%D1\%80\%D0\%B2$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-00-грв.html? permanent; }
if ($args ~* ^ordering=newest&searchword=00\+fargesia$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-00-fargesia.html? permanent; }
if ($args ~* ^ordering=newest&searchword=120\+\%D0\%BB\%D0\%B5\%D1\%82$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-120-лет.html? permanent; }
if ($args ~* ^ordering=newest&searchword=5-6\+\%D0\%BB\%D0\%B5\%D1\%82$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-5-6-лет.html? permanent; }
if ($args ~* ^ordering=newest&searchword=70-80\+\%D0\%BB\%D0\%B5\%D1\%82$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-70-80-лет.html? permanent; }
if ($args ~* ^ordering=newest&searchword=f\+lacrima-deae$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-f-lacrima-deae.html? permanent; }
if ($args ~* ^ordering=newest&searchword=fargesia$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-fargesia.html? permanent; }
if ($args ~* ^ordering=newest&searchword=fargesia\+rufa$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-fargesia-rufa.html? permanent; }
if ($args ~* ^ordering=newest&searchword=great\+wall$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-great-wall.html? permanent; }
if ($args ~* ^ordering=newest&searchword=green\+perfume$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-green-perfume.html? permanent; }
if ($args ~* ^ordering=newest&searchword=jumbo\+fargesia$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-jumbo-fargesia.html? permanent; }
if ($args ~* ^ordering=newest&searchword=murielae$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-murielae.html? permanent; }
if ($args ~* ^ordering=newest&searchword=nigra\+henonis$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-nigra-henonis.html? permanent; }
if ($args ~* ^ordering=newest&searchword=nitida\+great$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-nitida-great.html? permanent; }
if ($args ~* ^ordering=newest&searchword=phyllostachys$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-phyllostachys.html? permanent; }
if ($args ~* ^ordering=newest&searchword=robusta\+pingwu$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-robusta-pingwu.html? permanent; }
if ($args ~* ^ordering=newest&searchword=sasa\+palmata$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-sasa-palmata.html? permanent; }
if ($args ~* ^ordering=newest&searchword=sasa\+veitchii$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-sasa-veitchii.html? permanent; }
if ($args ~* ^ordering=newest&searchword=super\+jumbo$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-super-jumbo.html? permanent; }
if ($args ~* ^ordering=newest&searchword=trong\+nghia$){ rewrite ^/search\.html$ /search_ordering-newest-searchword-trong-nghia.html? permanent; }
if ($args ~* ^option=com_ccnewsletter&view=ccnewsletter$){ rewrite ^/index\.php$ /index_option-com_ccnewsletter-view-ccnewsletter.html? permanent; }
if($is_args = ''){ rewrite ^/index\.php$ /index_php.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
