
RewriteOptions inherit
<IfModule mod_headers.c>
Header set Cache-Control "max-age=0,no-store"
</IfModule>

<IfModule mod_deflate.c>
 # Compress HTML, CSS, JavaScript, Text, XML and fonts
 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

 # Remove browser bugs (only needed for really old browsers)
 BrowserMatch ^Mozilla/4 gzip-only-text/html
 BrowserMatch ^Mozilla/4\.0[678] no-gzip
 BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
 Header append Vary User-Agent
</IfModule>

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

#AddType application/x-httpd-php5 .htm .html .php  .php5 .php4 .php .php3 .php2 .phtml

RewriteEngine on
### WWW & HTTPS
#download prevention code

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>
# 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.triconsteel.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$ photo-gallery.php
RewriteRule ^video-gallery\.htm$ video-gallery.php
RewriteRule ^search\.htm$ search.php
RewriteRule ^clients\.htm$ clients.php
RewriteRule ^certificates\.htm$ certificates.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 ^quality\.htm$ quality.php
RewriteRule ^technical\.htm$ technical.php
RewriteRule ^packages\.htm$ packages.php
RewriteRule ^packages/([^/]*)\.htm$  packages-details.php [L]

RewriteRule ^faq\.htm$ faq.php
RewriteRule ^contact-us\.htm$ contacts.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 /stainless-steel-pipe-316h-316ti.htm https://www.triconsteel.in/316h-stainless-steel-pipe.htm
Redirect 301 /singapore/stainless-steel-pipe-316h-316ti.htm https://www.triconsteel.in/singapore/316h-stainless-steel-pipe.htm  
Redirect 301 /iran/stainless-steel-pipe-316h-316ti.htm https://www.triconsteel.in/iran/316h-stainless-steel-pipe.htm       
Redirect 301 /uae/stainless-steel-pipe-316h-316ti.htm https://www.triconsteel.in/uae/316h-stainless-steel-pipe.htm       
Redirect 301 /canada/stainless-steel-pipe-316h-316ti.htm https://www.triconsteel.in/canada/316h-stainless-steel-pipe.htm      
Redirect 301 /kuwait/stainless-steel-pipe-316h-316ti.htm https://www.triconsteel.in/kuwait/316h-stainless-steel-pipe.htm
Redirect 301 /stainless-steel-pipe-309h.htm https://www.triconsteel.in/309h-stainless-steel-pipe.htm
Redirect 301 /chennai/stainless-steel-pipe-309h.htm https://www.triconsteel.in/chennai/309h-stainless-steel-pipe.htm   
Redirect 301 /bihar/stainless-steel-pipe-309h.htm https://www.triconsteel.in/bihar/309h-stainless-steel-pipe.htm   
Redirect 301 /zambia/stainless-steel-pipe-309h.htm https://www.triconsteel.in/zambia/309h-stainless-steel-pipe.htm   
Redirect 301 /bahrain/stainless-steel-pipe-309h.htm https://www.triconsteel.in/bahrain/309h-stainless-steel-pipe.htm   
Redirect 301 /jakarta/stainless-steel-pipe-309h.htm https://www.triconsteel.in/jakarta/309h-stainless-steel-pipe.htm   
Redirect 301 /kuwait/stainless-steel-pipe-309h.htm https://www.triconsteel.in/kuwait/309h-stainless-steel-pipe.htm   
Redirect 301 /singapore/stainless-steel-pipe-309h.htm https://www.triconsteel.in/singapore/309h-stainless-steel-pipe.htm   
Redirect 301 /zimbabwe/stainless-steel-pipe-309h.htm https://www.triconsteel.in/zimbabwe/309h-stainless-steel-pipe.htm
Redirect 301 /chrome-moly-16mo3-alloy-steel-pipe.htm https://www.triconsteel.in/chrome-moly-alloy-steel-pipe.htm
Redirect 301 /singapore/chrome-moly-16mo3-alloy-steel-pipe.htm https://www.triconsteel.in/singapore/chrome-moly-alloy-steel-pipe.htm
Redirect 301 /sudan/chrome-moly-16mo3-alloy-steel-pipe.htm https://www.triconsteel.in/sudan/chrome-moly-alloy-steel-pipe.htm   
Redirect 301 /bihar/chrome-moly-16mo3-alloy-steel-pipe.htm https://www.triconsteel.in/bihar/chrome-moly-alloy-steel-pipe.htm   
Redirect 301 /ireland/chrome-moly-16mo3-alloy-steel-pipe.htm https://www.triconsteel.in/ireland/chrome-moly-alloy-steel-pipe.htm   
Redirect 301 /kuwait/chrome-moly-16mo3-alloy-steel-pipe.htm https://www.triconsteel.in/kuwait/chrome-moly-alloy-steel-pipe.htm
Redirect 301 /duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /kuwait/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/kuwait/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /bahrain/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/bahrain/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /brazil/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/brazil/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /uttarakhand/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/uttarakhand/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /dammam/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/dammam/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /singapore/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/singapore/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /hyderabad/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/hyderabad/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /indonesia/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/indonesia/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /noida/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/noida/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /chandigarh/duplex-steel-pipe-31803-32205.htm https://www.triconsteel.in/chandigarh/duplex-steel-uns-s31803-pipe.htm
Redirect 301 /super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/s32750-super-duplex-steel-pipe.htm
Redirect 301 /malaysia/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/malaysia/s32750-super-duplex-steel-pipe.htm
Redirect 301 /uae/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/uae/s32750-super-duplex-steel-pipe.htm 
Redirect 301 /singapore/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/singapore/s32750-super-duplex-steel-pipe.htm  
Redirect 301 /france/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/france/s32750-super-duplex-steel-pipe.htm 
Redirect 301 /bahrain/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/bahrain/s32750-super-duplex-steel-pipe.htm 
Redirect 301 /dubai/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/dubai/s32750-super-duplex-steel-pipe.htm 
Redirect 301 /kuwait/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/kuwait/s32750-super-duplex-steel-pipe.htm 
Redirect 301 /indonesia/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/indonesia/s32750-super-duplex-steel-pipe.htm 
Redirect 301 /rajkot/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/rajkot/s32750-super-duplex-steel-pipe.htm 
Redirect 301 /canada/super-duplex-steel-pipe-32750-32760.htm https://www.triconsteel.in/canada/s32750-super-duplex-steel-pipe.htm
Redirect 301 /astm-a671-cc60-carbon-steel-pipe.htm https://www.triconsteel.in/astm-a671-carbon-steel-pipe.htm
Redirect 301 /tanzania/astm-a671-cc60-carbon-steel-pipe.htm https://www.triconsteel.in/tanzania/astm-a671-carbon-steel-pipe.htm
Redirect 301 /bahrain/astm-a671-cc60-carbon-steel-pipe.htm https://www.triconsteel.in/bahrain/astm-a671-carbon-steel-pipe.htm
Redirect 301 /vietnam/astm-a671-cc60-carbon-steel-pipe.htm https://www.triconsteel.in/vietnam/astm-a671-carbon-steel-pipe.htm
Redirect 301 /kuwait/astm-a671-cc60-carbon-steel-pipe.htm https://www.triconsteel.in/kuwait/astm-a671-carbon-steel-pipe.htm
Redirect 301 /api-5l-x42-x46-x52-x60-x65-pipe.htm https://www.triconsteel.in/carbon-steel-api-5l-x42-x46-x52-x60-x65-pipe.htm      
Redirect 301 /vietnam/api-5l-x42-x46-x52-x60-x65-pipe.htm https://www.triconsteel.in/vietnam/carbon-steel-api-5l-x42-x46-x52-x60-x65-pipe.htm      
Redirect 301 /dubai/api-5l-x42-x46-x52-x60-x65-pipe.htm https://www.triconsteel.in/dubai/carbon-steel-api-5l-x42-x46-x52-x60-x65-pipe.htm      
Redirect 301 /malaysia/api-5l-x42-x46-x52-x60-x65-pipe.htm https://www.triconsteel.in/malaysia/carbon-steel-api-5l-x42-x46-x52-x60-x65-pipe.htm      
Redirect 301 /uae/api-5l-x42-x46-x52-x60-x65-pipe.htm https://www.triconsteel.in/uae/carbon-steel-api-5l-x42-x46-x52-x60-x65-pipe.htm      
Redirect 301 /singapore/api-5l-x42-x46-x52-x60-x65-pipe.htm https://www.triconsteel.in/singapore/carbon-steel-api-5l-x42-x46-x52-x60-x65-pipe.htm      
Redirect 301 /kuwait/api-5l-x42-x46-x52-x60-x65-pipe.htm https://www.triconsteel.in/kuwait/carbon-steel-api-5l-x42-x46-x52-x60-x65-pipe.htm      
Redirect 301 /rajkot/api-5l-x42-x46-x52-x60-x65-pipe.htm https://www.triconsteel.in/rajkot/carbon-steel-api-5l-x42-x46-x52-x60-x65-pipe.htm

Redirect 301 /contact.php https://www.triconsteel.in/contact-us.htm

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "https\:\/\/www\.alloysteelspipe\.com\/" [R=301,L]
