<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE application/javascript
  AddOutputFilterByType DEFLATE application/rss+xml
  AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
  AddOutputFilterByType DEFLATE application/x-font
  AddOutputFilterByType DEFLATE application/x-font-opentype
  AddOutputFilterByType DEFLATE application/x-font-otf
  AddOutputFilterByType DEFLATE application/x-font-truetype
  AddOutputFilterByType DEFLATE application/x-font-ttf
  AddOutputFilterByType DEFLATE application/x-javascript
  AddOutputFilterByType DEFLATE application/xhtml+xml
  AddOutputFilterByType DEFLATE application/xml
  AddOutputFilterByType DEFLATE font/opentype
  AddOutputFilterByType DEFLATE font/otf
  AddOutputFilterByType DEFLATE font/ttf
  AddOutputFilterByType DEFLATE image/svg+xml
  AddOutputFilterByType DEFLATE image/x-icon
  AddOutputFilterByType DEFLATE text/css
  AddOutputFilterByType DEFLATE text/html
  AddOutputFilterByType DEFLATE text/javascript
  AddOutputFilterByType DEFLATE text/plain
  AddOutputFilterByType DEFLATE text/xml
 </IfModule>


<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType text/css "access plus 14 days"
ExpiresByType text/xml "access plus 0 seconds"
ExpiresByType text/javascript "access plus 14 days"
ExpiresByType application/x-javascript "access plus 14 days"
ExpiresByType image/ico "access plus 14 days"
ExpiresByType image/jpg "access plus 14 days"
ExpiresByType image/jpeg "access plus 14 days"
ExpiresByType image/gif "access plus 14 days"
ExpiresByType image/png "access plus 14 days"
ExpiresByType image/svg+xml "access plus 1 month"
ExpiresByType text/html "access plus 14 days"
ExpiresByType video/ogg "access plus 1 month"
ExpiresByType audio/ogg "access plus 1 month"
ExpiresByType video/mp4 "access plus 1 month"
ExpiresByType video/webm "access plus 1 month"
ExpiresByType application/x-font-woff "access plus 1 month"
ExpiresByType application/vnd.ms-fontobject "access plus 1 month"
ExpiresByType application/xml "access plus 0 seconds"
ExpiresByType application/json "access plus 0 seconds"
ExpiresByType application/rss+xml "access plus 1 hour"
ExpiresByType application/atom+xml "access plus 1 hour"
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType application/javascript "access 1 month"
ExpiresByType application/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 2 days"
</IfModule>

<IfModule mod_headers.c>
  <FilesMatch ".(js|css|xml|gz|html)$">
    Header append Vary: Accept-Encoding
  </FilesMatch>
</IfModule>

<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)(\.gz)?$">
Header set Expires "Sat, 15 Nov 2025 20:00:00 GMT"
Header unset ETag
FileETag None
</FilesMatch>

RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Bot\ mailto:craftbot@yahoo.com [OR]
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR]
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR]
RewriteCond %{HTTP_USER_AGENT} ^DISCo [OR]
RewriteCond %{HTTP_USER_AGENT} ^Download\ Demon [OR]
RewriteCond %{HTTP_USER_AGENT} ^eCatch [OR]
RewriteCond %{HTTP_USER_AGENT} ^EirGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailSiphon [OR]
RewriteCond %{HTTP_USER_AGENT} ^EmailWolf [OR]
RewriteCond %{HTTP_USER_AGENT} ^Express\ WebPictures [OR]
RewriteCond %{HTTP_USER_AGENT} ^ExtractorPro [OR]
RewriteCond %{HTTP_USER_AGENT} ^EyeNetIE [OR]
RewriteCond %{HTTP_USER_AGENT} ^FlashGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetRight [OR]
RewriteCond %{HTTP_USER_AGENT} ^GetWeb! [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go!Zilla [OR]
RewriteCond %{HTTP_USER_AGENT} ^Go-Ahead-Got-It [OR]
RewriteCond %{HTTP_USER_AGENT} ^GrabNet [OR]
RewriteCond %{HTTP_USER_AGENT} ^Grafula [OR]
RewriteCond %{HTTP_USER_AGENT} ^HMView [OR]
RewriteCond %{HTTP_USER_AGENT} HTTrack [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Stripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^Image\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} Indy\ Library [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^InterGET [OR]
RewriteCond %{HTTP_USER_AGENT} ^Internet\ Ninja [OR]
RewriteCond %{HTTP_USER_AGENT} ^JetCar [OR]
RewriteCond %{HTTP_USER_AGENT} ^JOC\ Web\ Spider [OR]
RewriteCond %{HTTP_USER_AGENT} ^larbin [OR]
RewriteCond %{HTTP_USER_AGENT} ^LeechFTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mass\ Downloader [OR]
RewriteCond %{HTTP_USER_AGENT} ^MIDown\ tool [OR]
RewriteCond %{HTTP_USER_AGENT} ^Mister\ PiX [OR]
RewriteCond %{HTTP_USER_AGENT} uuuu7u^Navroad [OR]
RewriteCond %{HTTP_USER_AGENT} ^NearSite [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetAnts [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Net\ Vampire [OR]
RewriteCond %{HTTP_USER_AGENT} ^NetZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Octopus [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Explorer [OR]
RewriteCond %{HTTP_USER_AGENT} ^Offline\ Navigator [OR]
RewriteCond %{HTTP_USER_AGENT} ^PageGrabber [OR]
RewriteCond %{HTTP_USER_AGENT} ^Papa\ Foto [OR]
RewriteCond %{HTTP_USER_AGENT} ^pavuk [OR]
RewriteCond %{HTTP_USER_AGENT} ^pcBrowser [OR]
RewriteCond %{HTTP_USER_AGENT} ^RealDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^ReGet [OR]
RewriteCond %{HTTP_USER_AGENT} ^SiteSnagger [OR]
RewriteCond %{HTTP_USER_AGENT} ^SmartDownload [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperBot [OR]
RewriteCond %{HTTP_USER_AGENT} ^SuperHTTP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Surfbot [OR]
RewriteCond %{HTTP_USER_AGENT} ^tAkeOut [OR]
RewriteCond %{HTTP_USER_AGENT} ^Teleport\ Pro [OR]
RewriteCond %{HTTP_USER_AGENT} ^VoidEYE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Image\ Collector [OR]
RewriteCond %{HTTP_USER_AGENT} ^Web\ Sucker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebAuto [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebCopier [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebFetch [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebGo\ IS [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebLeacher [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebReaper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebSauger [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ eXtractor [OR]
RewriteCond %{HTTP_USER_AGENT} ^Website\ Quester [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebStripper [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebWhacker [OR]
RewriteCond %{HTTP_USER_AGENT} ^WebZIP [OR]
RewriteCond %{HTTP_USER_AGENT} ^Wget [OR]
RewriteCond %{HTTP_USER_AGENT} ^Widow [OR]
RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE [OR]
RewriteCond %{HTTP_USER_AGENT} ^Xaldon\ WebSpider [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus

RewriteRule ^.* - [F,L]
<IfModule mod_headers.c>
Header set Cache-Control "max-age=0,no-store"
</IfModule>

### WWW & HTTPS
# ensure www.
RewriteCond %{HTTP_HOST} !^www\. [NC]
RewriteRule ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# ensure https
RewriteCond %{HTTP:X-Forwarded-Proto} !https
RewriteCond %{HTTPS} off
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
ErrorDocument 404 https://www.chaircraft.in/
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^index\.htm$ index.php
RewriteRule ^photo-gallery\.htm$ gallery.php
RewriteRule ^video-gallery\.htm$ video-gallery.php
RewriteRule ^search\.htm$ search.php
RewriteRule ^weight-calculator\.htm$ weight-calculator.php
RewriteRule ^clientele\.htm$ clients.php
RewriteRule ^rug-care\.htm$ rug-care.php
RewriteRule ^the-craft\.htm$ craft.php
RewriteRule ^the-process\.htm$ process.php
RewriteRule ^custom\.htm$ custom.php
RewriteRule ^certificate\.htm$ certificate.php
RewriteRule ^diet-chart-for-diabetic-patients\.htm$ diet-chart-for-diabetic-patients.php
RewriteRule ^diet-chart-for-kidney-patients\.htm$ kidney-diet-chart.php
RewriteRule ^error\.htm$ error.php
RewriteRule ^market-area\.htm$ market.php
RewriteRule ^blog\.htm$ blog.php
RewriteRule ^blog/([^/]*)\.htm$  blog-details.php?blog_name=$1&caa=$1 [L]
RewriteRule ^about-us\.htm$ about.php
RewriteRule ^testimonials\.htm$ testimonials.php
RewriteRule ^manufacturing\.htm$ manufacturing.php
RewriteRule ^packages\.htm$ packages.php
RewriteRule ^packages/([^/]*)\.htm$  packages-details.php [L]

RewriteRule ^faq\.htm$ faq.php
RewriteRule ^contact-us\.htm$ contact.php
RewriteRule ^privacy-policy\.htm$ privacy-policy.php
RewriteRule ^gallery\.htm$ gallery.php
RewriteRule ^testimonials\.htm$ testimonials.php
RewriteRule ^gallery-products\.htm$ gallery-products.php
RewriteRule ^sitemap\.htm$ sitemap.php
RewriteRule \.htm$ category.php
RewriteRule ^([^/]*)/$ index_sub.php?cid=$1 [L]
RewriteRule ^([^/]*)/([^/]*)\.htm$  category_sub.php?pid=$2&ca=$1 [L]

Redirect 301 /jaipur.html https://www.chaircraft.in/jaipur/
Redirect 301 /ajmer.html https://www.chaircraft.in/ajmer/
Redirect 301 /bhiwandi.html https://www.chaircraft.in/bhiwandi/
Redirect 301 /amravati.html https://www.chaircraft.in/amravati/
Redirect 301 /prayagraj.html https://www.chaircraft.in/prayagraj/
Redirect 301 /gurugram.html https://www.chaircraft.in/gurugram/
Redirect 301 /lucknow.html https://www.chaircraft.in/lucknow/
Redirect 301 /patna.html https://www.chaircraft.in/patna/
Redirect 301 /bareilly.html https://www.chaircraft.in/bareilly/
Redirect 301 /bikaner.html https://www.chaircraft.in/bikaner/
Redirect 301 /faridabad.html https://www.chaircraft.in/faridabad/
Redirect 301 /gwalior.html https://www.chaircraft.in/gwalior/
Redirect 301 /kolkata.html https://www.chaircraft.in/kolkata/
Redirect 301 /vijayawada.html https://www.chaircraft.in/vijayawada/
Redirect 301 /dhanbad.html https://www.chaircraft.in/dhanbad/
Redirect 301 /hyderabad.html https://www.chaircraft.in/hyderabad/
Redirect 301 /bar-table.html https://www.chaircraft.in/bar-table.htm
Redirect 301 /garden-benche.html https://www.chaircraft.in/garden-benche.htm
Redirect 301 /jabalpur.html https://www.chaircraft.in/jabalpur/
Redirect 301 /podium.html https://www.chaircraft.in/podium.htm
Redirect 301 /display-board.html https://www.chaircraft.in/display-board.htm
Redirect 301 /agra.html https://www.chaircraft.in/agra/
Redirect 301 /bar-stool.html https://www.chaircraft.in/bar-stool.htm
Redirect 301 /cafeteria-furniture.html https://www.chaircraft.in/cafeteria-furniture.htm
Redirect 301 /bar-furniture.html https://www.chaircraft.in/bar-furniture.htm
Redirect 301 /aurangabad.html https://www.chaircraft.in/aurangabad/
Redirect 301 /bengaluru.html https://www.chaircraft.in/bengaluru/
Redirect 301 /harora.html https://www.chaircraft.in/harora/
Redirect 301 /outdoor-loungers.html https://www.chaircraft.in/outdoor-loungers.htm
Redirect 301 /banquet-table.html https://www.chaircraft.in/banquet-table.htm
Redirect 301 /garden-loungers.html https://www.chaircraft.in/garden-loungers.htm
Redirect 301 /cuttack.html https://www.chaircraft.in/cuttack/
Redirect 301 /center-table.html https://www.chaircraft.in/center-table.htm
Redirect 301 /lounge-sofa.html https://www.chaircraft.in/lounge-sofa.htm
Redirect 301 /meerut.html https://www.chaircraft.in/meerut/
Redirect 301 /banquet-chair.html https://www.chaircraft.in/banquet-chair.htm
Redirect 301 /restaurant-furniture.html https://www.chaircraft.in/restaurant-furniture.htm
Redirect 301 /company-profile.html https://www.chaircraft.in/company-profile.htm
Redirect 301 /chandigarh.html https://www.chaircraft.in/chandigarh/
Redirect 301 /Aluminium-Chair.html https://www.chaircraft.in/Aluminium-Chair.htm
Redirect 301 /nashik.html https://www.chaircraft.in/nashik/
Redirect 301 /que-manager.html https://www.chaircraft.in/que-manager.htm
Redirect 301 /ghaziabad.html https://www.chaircraft.in/ghaziabad/
Redirect 301 /visakhapatnam.html https://www.chaircraft.in/visakhapatnam/
Redirect 301 /nagpur.html https://www.chaircraft.in/nagpur/
Redirect 301 /bhubaneswar.html https://www.chaircraft.in/bhubaneswar/
Redirect 301 /coimbatore.html https://www.chaircraft.in/coimbatore/
Redirect 301 /outdoor-benches.html https://www.chaircraft.in/outdoor-benches.htm
Redirect 301 /bhopal.html https://www.chaircraft.in/bhopal/
Redirect 301 /surat.html https://www.chaircraft.in/surat/
Redirect 301 /hotel-trolley.html https://www.chaircraft.in/hotel-trolley.htm
Redirect 301 /chair-trolley.html https://www.chaircraft.in/chair-trolley.htm
Redirect 301 /kolhapur.html https://www.chaircraft.in/kolhapur/
Redirect 301 /luggage-rack.html https://www.chaircraft.in/luggage-rack.htm
Redirect 301 /mumbai.html https://www.chaircraft.in/mumbai/
Redirect 301 /rajkot.html https://www.chaircraft.in/rajkot/
Redirect 301 /garden-chair.html https://www.chaircraft.in/garden-chair.htm
Redirect 301 /hotel-sofa.html https://www.chaircraft.in/hotel-sofa.htm
Redirect 301 /karnataka.html https://www.chaircraft.in/karnataka/
Redirect 301 /modesty-table.html https://www.chaircraft.in/modesty-table.htm
Redirect 301 /gulbarga.html https://www.chaircraft.in/gulbarga/
Redirect 301 /pune.html https://www.chaircraft.in/pune/
Redirect 301 /kanpur.html https://www.chaircraft.in/kanpur/
Redirect 301 /garden-furniture.html https://www.chaircraft.in/garden-furniture.htm
Redirect 301 /hotel-utilities.html https://www.chaircraft.in/hotel-utilities.htm
Redirect 301 /glass-restaurant-table.html https://www.chaircraft.in/glass-restaurant-table.htm
Redirect 301 /Wooden-hotel-table.html https://www.chaircraft.in/Wooden-hotel-table.htm
Redirect 301 /chamber-maid-trolley.html https://www.chaircraft.in/chamber-maid-trolley.htm
Redirect 301 /folding-restaurant-table.html https://www.chaircraft.in/folding-restaurant-table.htm
Redirect 301 /cafe-chair.html https://www.chaircraft.in/cafe-chair.htm
Redirect 301 /bar-trolley.html https://www.chaircraft.in/bar-trolley.htm
Redirect 301 /hotel-chair.html https://www.chaircraft.in/hotel-chair.htm
Redirect 301 /tent-house-chair.html https://www.chaircraft.in/tent-house-chair.htm
Redirect 301 /modern-hotel-table.html https://www.chaircraft.in/modern-hotel-table.htm
Redirect 301 /banquet-furniture.html https://www.chaircraft.in/banquet-furniture.htm
Redirect 301 /rattan-wicker-dining.html https://www.chaircraft.in/rattan-wicker-dining.htm
Redirect 301 /market-area.html https://www.chaircraft.in/market-area.htm
Redirect 301 /banquet-sofa.html https://www.chaircraft.in/banquet-sofa.htm
Redirect 301 /designer-lounge-sofa.html https://www.chaircraft.in/designer-lounge-sofa.htm
Redirect 301 /cafe-table.html https://www.chaircraft.in/cafe-table.htm
Redirect 301 /total-room-trolley.html https://www.chaircraft.in/total-room-trolley.htm
Redirect 301 /designer-center-table.html https://www.chaircraft.in/designer-center-table.htm
Redirect 301 /rattan-wicker-furniture.html https://www.chaircraft.in/rattan-wicker-furniture.htm
Redirect 301 /outdoor-sofa-set.html https://www.chaircraft.in/outdoor-sofa-set.htm
Redirect 301 /sofa-center-table.html https://www.chaircraft.in/sofa-center-table.htm
Redirect 301 /modern-cafe-table.html https://www.chaircraft.in/modern-cafe-table.htm
Redirect 301 /metal-hotel-chair.html https://www.chaircraft.in/metal-hotel-chair.htm
Redirect 301 /rattan-wicker-chair.html https://www.chaircraft.in/rattan-wicker-chair.htm
Redirect 301 /maharaja-trolley.html https://www.chaircraft.in/maharaja-trolley.htm
Redirect 301 /bar-chair.html https://www.chaircraft.in/bar-chair.htm
Redirect 301 /outdoor-hotel-table.html https://www.chaircraft.in/outdoor-hotel-table.htm
Redirect 301 /garland-stand.html https://www.chaircraft.in/garland-stand.htm
Redirect 301 /Aluminium-banquet-chair.html https://www.chaircraft.in/Aluminium-banquet-chair.htm
Redirect 301 /room-service-trolley.html https://www.chaircraft.in/room-service-trolley.htm
Redirect 301 /wood-hotel-chair.html https://www.chaircraft.in/wood-hotel-chair.htm
Redirect 301 /outdoor-dining-set.html https://www.chaircraft.in/outdoor-dining-set.htm
Redirect 301 /sitemap.html https://www.chaircraft.in/sitemap.htm
Redirect 301 /glass-cafe-table.html https://www.chaircraft.in/glass-cafe-table.htm
Redirect 301 /wooden-center-table.html https://www.chaircraft.in/wooden-center-table.htm
Redirect 301 /modern-lounge-sofa.html https://www.chaircraft.in/modern-lounge-sofa.htm
Redirect 301 /hotel-sofa-chair.html https://www.chaircraft.in/hotel-sofa-chair.htm
Redirect 301 /folding-cafe-table.html https://www.chaircraft.in/folding-cafe-table.htm
Redirect 301 /wooden-cafe-chair.html https://www.chaircraft.in/wooden-cafe-chair.htm
Redirect 301 /glass-center-table.html https://www.chaircraft.in/glass-center-table.htm
Redirect 301 /jammu-and-kashmir.html https://www.chaircraft.in/jammu-and-kashmir/
Redirect 301 /garden-dining-set.html https://www.chaircraft.in/garden-dining-set.htm
Redirect 301 /garden-sofa-set.html https://www.chaircraft.in/garden-sofa-set.htm
Redirect 301 /hotel-furniture.html https://www.chaircraft.in/hotel-furniture.htm
Redirect 301 /movable-folding-step-raiser.html https://www.chaircraft.in/movable-folding-step-raiser.htm
Redirect 301 /rattan-wicker-sofa-set.html https://www.chaircraft.in/rattan-wicker-sofa-set.htm
Redirect 301 /our-products.html https://www.chaircraft.in/our-products.htm
Redirect 301 /contact-us.html https://www.chaircraft.in/contact-us.htm

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
