Server : LiteSpeed System : Linux nl-srv-web1396.main-hosting.eu 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64 User : u107206879 ( 107206879) PHP Version : 7.2.34 Disable Function : NONE Directory : /home/u107206879/domains/escort46.de/public_html/en/ |
RewriteEngine on
RewriteCond %{THE_REQUEST} ^.*/index
RewriteRule ^(.*)index$ http://www.en.escort46.de/$1 [R=301,L]
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.en.escort46.de [NC]
RewriteRule ^(.*)$ https://en.escort46.de/$1 [L,R=301,NC]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /
## hide .php extension
# To externally redirect /dir/foo.php to /dir/foo
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php
RewriteRule ^ %1 [R=301,L,NC]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
RewriteRule ^(search)/?$ search.php [L,QSA]
RewriteRule ^(search)/([^/]+)?$ search.php/$2 [L,QSA]
RewriteRule ^(search)/([^/]+)/?$ search.php?search=$2 [L,QSA]
RewriteRule ^(search)/([^/]+)/?$ index.php?search=$2 [L,QSA]
RewriteRule ^user_detail/([0-9]+)/([^/]+)/?$ user_detail.php?profile_id=$1&title=$2
RewriteRule ^events/([0-9]+)/([^/]+)/?$ user_detail.php?profile_id=$1&title=$2
RewriteRule ^editad/([0-9]+)/?$ editad.php?profile_id=$1
RewriteRule ^editevent/([0-9]+)/?$ editevent.php?event_id=$1
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php [NC,L]
RewriteCond %{REQUEST_URI} (escort|massage-clinics|escort-agencies|thai-massage|events) [NC]
RewriteCond %{REQUEST_URI} !(search) [NC]
RewriteRule ^(escort|massage-clinics|escort-agencies|thai-massage|events)/?$ category.php?category=$1 [L,QSA]
RewriteRule ^(escort|massage-clinics|escort-agencies|thai-massage|events)/([^/]+)$ cities.php?category=$1&city=$2 [L,QSA]
RewriteRule ^([^/]+)-(escort|massage-clinics|escort-agencies|thai-massage|events)$ nationalities.php?nationality=$1&category=$2 [L,QSA]
RewriteRule ^(?!search)([^/]+)/(escort|massage-clinics|escort-agencies|thai-massage|events)$ adservices.php?adservice=$1&category=$2 [L,QSA]
ErrorDocument 404 /404.php
## EXPIRES CACHING ##
<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 text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>