MMCT TEAM
Server IP : 103.53.40.154  /  Your IP : 3.145.63.148
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/thegloriousadventure.com/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home2/ppcad7no/thegloriousadventure.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 ^ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Check if the request is using HTTPS.
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{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 ^booking\.html$ booking.php [L]
RewriteRule ^all-locations\.html$ all-locations.php [L]
RewriteRule ^tours\.html$ tour-listing.php [L]
RewriteRule ^services\.html$ services.php [L]
RewriteRule ^blog-listing\.html$ blog-listing.php [L]
# RewriteRule ^tour/(.*)\.html$ tour-detail.php/$1 [L]
RewriteRule ^blog/(.*)\.html$ blog-details.php/$1 [L]
RewriteRule ^tour-cat/(.*)\.html$ tour-cat.php/$1 [L]
RewriteRule ^project\.html$ project.php [L]
RewriteRule ^gallery\.html$ gallery.php [L]
RewriteRule ^pay-now\.html$ payment.php [L]
RewriteRule ^sitemap\.html$ sitemap.php [L]
RewriteRule ^terms-condition\.html$ terms-condition.php [L]
RewriteRule ^privacy-policy\.html$ privacy-policy.php [L]
RewriteRule ^shipping-and-delivery\.html$ shipping-and-delivery.php [L]
RewriteRule ^cancellation-refund-policy\.html$ cancellation-refund-policy.php [L]

# RewriteRule ^([a-zA-Z0-9-]+)$ index.php?loc_slug=$1 [L]
RewriteRule ^([^/]*).html$ tour-detail.php?slug_url=$1 [L]
# RewriteRule ^([^/]*)/([^/]*).html$ tour-detail.php?loc_slug=$1&slug_url=$2 [L]

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


MMCT - 2023