# invoke rewrite engine
RewriteEngine On
RewriteBase /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/

Options -Indexes
<IfModule mod_negotiation.c>
	Options -MultiViews
</IfModule>

# Prevent scraping from archive for free demo
RewriteCond %{HTTP_USER_AGENT} (ia_archiver) [NC]
RewriteRule . - [F,L]

# Add a trailing slash (/) to a URL
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\.[A-Za-z0-9]*$
RewriteRule .*[^/]$ %{REQUEST_URI}/ [L,R=301]

# Specific redirections
RewriteRule ^index\.html$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/ [L,R=301]
RewriteCond %{QUERY_STRING} ^page_id=62$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/page_id-62/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^page_id=62$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/page_id-62/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^post_type=product$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/post_type-product/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^post_type=product$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/post_type-product/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=5-meo-dmt-2$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-5-meo-dmt-2/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=alacabenzi$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-alacabenzi/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=changa-dmt$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-changa-dmt/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=blue-meanies-panaeolus-cyanescens$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-blue-meanies-panaeolus-cyanescens/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=albino-a$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-albino-a/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=daddy-long-legs$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-daddy-long-legs/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=psilocybe-cubensis-mexicana$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-psilocybe-cubensis-mexicana/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=ecuador-psilocybe-cubensis$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-ecuador-psilocybe-cubensis/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=psilocybe-cubensis-b$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-psilocybe-cubensis-b/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=golden-teacher$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-golden-teacher/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=albino-penis-envy-ape$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-albino-penis-envy-ape/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=blue-meanies-2$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-blue-meanies-2/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=blue-meanies$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-blue-meanies/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=golden-teacher-mushroom$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-golden-teacher-mushroom/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=liberty-caps$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-liberty-caps/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=magic-mushrooms$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-magic-mushrooms/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=psilocybe-cubensis$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-psilocybe-cubensis/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=psilocybe-azurescens$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-psilocybe-azurescens/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=psilocybe-gymnopilus$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-psilocybe-gymnopilus/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=mdma-pills$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-mdma-pills/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=mdma-powder$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-mdma-powder/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=uncategorized$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-uncategorized/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=dmt$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-dmt/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=dmt-carts$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-dmt-carts/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=ketamine$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-ketamine/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=lsd$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-lsd/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=magic-mushroom-grow-kits$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-magic-mushroom-grow-kits/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=magic-mushrooms$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-magic-mushrooms/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=magic-truffles$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-magic-truffles/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=mdma$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-mdma/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=mescaline$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-mescaline/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=mushroom-capsules$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-mushroom-capsules/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=mushroom-chocolate-bars$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-mushroom-chocolate-bars/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=mushroom-stimulants$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-mushroom-stimulants/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=mushroom-supplements$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-mushroom-supplements/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=plant-medicines$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-plant-medicines/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=powder$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-powder/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product_cat=psilocybin$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product_cat-psilocybin/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=magic-mushroom-grow-kit-golden-teacher-2$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-magic-mushroom-grow-kit-golden-teacher-2/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=dmt-1ml-800mg-dmt-vape-mushrooms-canada$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-dmt-1ml-800mg-dmt-vape-mushrooms-canada/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=happy-cap-brain-e$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-happy-cap-brain-e/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=4-meo-dmt$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-4-meo-dmt/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=5-magic-mushroom-grow-kit-discount-pack$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-5-magic-mushroom-grow-kit-discount-pack/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=5-meo-dmt$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-5-meo-dmt/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=5-meo-dmt-5ml-150mg-mushrooms-canada$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-5-meo-dmt-5ml-150mg-mushrooms-canada/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=5-meo-dmtcartridge-and-battery-5ml-deadhead-chemist$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-5-meo-dmtcartridge-and-battery-5ml-deadhead-chemist/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=5-meo-dmtcartridge-5ml-mmd-cosmo$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-5-meo-dmtcartridge-5ml-mmd-cosmo/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=5-meo-dmtcartridge-1ml-deadhead-chemist$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-5-meo-dmtcartridge-1ml-deadhead-chemist/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^post_type=product&paged=2$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/post_type-product-paged-2/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^post_type=product&paged=3$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/post_type-product-paged-3/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^post_type=product&paged=4$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/post_type-product-paged-4/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^post_type=product&paged=10$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/post_type-product-paged-10/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^post_type=product&paged=11$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/post_type-product-paged-11/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^post_type=product&paged=12$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/post_type-product-paged-12/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=lsd-gelatin-blotters$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-lsd-gelatin-blotters/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=organic-reishi-mushroom-60-capsules$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-organic-reishi-mushroom-60-capsules/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=dmt-powder-2$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-dmt-powder-2/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=dmt-cartridge-and-battery-1ml-deadhead-chemist$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-dmt-cartridge-and-battery-1ml-deadhead-chemist/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=fractal-storm$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-fractal-storm/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=magic-truffles-galindoi-mushrocks$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-magic-truffles-galindoi-mushrocks/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=wavy-chocolate-bar$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-wavy-chocolate-bar/ [L,R=301,QSD]
RewriteCond %{QUERY_STRING} ^product=puff-boyz-nn-dmt-5ml400mg-cartridge-grape$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-puff-boyz-nn-dmt-5ml400mg-cartridge-grape/ [L,R=301,QSD]

RewriteCond %{QUERY_STRING} ^product=5-meo-dmt-2$
RewriteRule ^/?$ /scraping/files/demo/texasmushroomsstore.com_gr3051362_gmail.com_dcexckungo/product-5-meo-dmt-2/ [L,R=301,QSD]

# Create pretty URLs
RewriteRule ^([^/]+)/$ $1.html [S=9]
RewriteRule ^([^/]+)/([^/]+)/$ $1/$2.html [S=8]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/$ $1/$2/$3.html [S=7]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ $1/$2/$3/$4.html [S=6]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ $1/$2/$3/$4/$5.html [S=5]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ $1/$2/$3/$4/$5/$6.html [S=4]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ $1/$2/$3/$4/$5/$6/$7.html [S=3]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ $1/$2/$3/$4/$5/$6/$7/$8.html [S=2]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ $1/$2/$3/$4/$5/$6/$7/$8/$9.html [S=1]
RewriteRule ^([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/([^/]+)/$ $1/$2/$3/$4/$5/$6/$7/$8/$9/$10.html
# End: Create pretty URLs

# Redirect all extensions to html
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.shtml$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.phtml$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.jhtml$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.htm$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.php$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.aspx$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.asp$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.jsp$ $1.html [L,NC,R=301]
RewriteCond %{QUERY_STRING} ^$
RewriteRule ^(.*)\.apk$ $1.html [L,NC,R=301]
# End: Redirect all extensions to html
