MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 18.223.213.76
Web Server : Apache
System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
User : ppcad7no ( 715)
PHP Version : 8.2.25
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0750) :  /home2/ppcad7no/arelectricalcontrol.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/arelectricalcontrol.com/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L]
</IfModule>

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
#Gzip
<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript text/javascript
</ifmodule>
#End Gzip

Options +FollowSymLinks

# Disable Directory Browsing
Options All -Indexes

RewriteEngine On

# Ensure "www" subdomain
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Redirect HTTPS to HTTP
RewriteCond %{HTTPS} on
RewriteRule ^ http://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]


# ErrorDocument 404 /404.php
RewriteRule ^index\.html$ index.php [L]
RewriteRule ^about\.html$ about.php [L]
RewriteRule ^contact\.html$ contact.php [L]
RewriteRule ^services\.html$ services.php [L]
RewriteRule ^faq\.html$ faq.php [L]
RewriteRule ^gallery\.html$ gallery.php [L]
RewriteRule ^blogs\.html$ blogs.php [L]
RewriteRule ^enquiry\.html$ enquiry.php [L]
RewriteRule ^sitemap\.html$ sitemap.php [L] 
RewriteRule ^testimonial\.html$ testimonial.php [L]
RewriteRule ^terms-and-conditions\.html$ terms-and-conditions.php [L]
RewriteRule ^photo-gallery\.html$ photo-gallery.php [L]
RewriteRule ^privacy-policy\.html$ privacy-policy.php [L]
RewriteRule ^return-policy\.html$ return-policy.php [L]
RewriteRule ^product-lisiting\.html$ product-lisiting.php [L]
RewriteRule ^blog/(.*)\.html$ blogs-details.php/$1 [L]
RewriteRule ^category/(.*)\.html$ product-category.php/$1 [L]
RewriteRule ^product/(.*)\.html$ product-details.php/$1 [L]
RewriteRule ^project\.html$ project.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ 404.php [L,QSA]

# RewriteRule ^([^/]*).html$ tour-listing.php?spots_url=$1 [L]
# RewriteRule ^service-detail/(.*)\.html$ service-detail.php/$1 [L]

MMCT - 2023