RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f

RewriteRule ^(.*)$ $1.php
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301,NE]
DirectoryIndex login.php luck.php index.php index.html

RewriteRule ^([^/]*)/$ shop/cp/pages/show?item=$1 [L]
RewriteRule ^show/([^/]*)/$ shop/cp/pages/show2?item=$1 [L]
RewriteRule ^cart/$ pages/cart.php [L]
RewriteRule ^login/$ pages/login.php [L]
RewriteRule ^verify_mobile/$ verify_mobile.php [L]
RewriteRule ^forgot_password/$ forgot_password.php [L]

RewriteRule ^regloginorder/([^/]*)$ pages/reglogins.php?urlback=$1  [L]

RewriteRule ^regloginorder/([^/]*)/$ pages/reglogins.php?urlback=$1  [L]

RewriteRule ^blog/([^/]*)/$ blog/index.php?item=$1 [L]

RewriteRule ^blog/$ blog/index.php [L]

RewriteRule ^employ/([^/]*)/$ pages/hamkari.php?item=$1 [L]


RewriteRule ^rule/([^/]*)/$ pages/rule.php?item=92 [L]

RewriteRule ^Complaint-form/$ pages/form.php?item=$1  [L]


RewriteRule ^collction/([^/]*)/$ pages/collction.php?item=$1 [L]

RewriteRule ^order/$ pages/sabt.php [L]

RewriteRule ^order$ pages/sabt.php [L]

RewriteRule ^collctiononline/([^/]*)/$ pages/collctiononline.php?item=$1 [L]


RewriteRule ^ButikDetay/([^/]*)/([^/]*)/$ pages/ButikDetay.php?item=$1&ButikId=$2 [L]

RewriteRule ^ButikDetayonline/([^/]*)/([^/]*)/$ pages/ButikDetayonline.php?item=$1&ButikId=$2 [L]

RewriteRule ^ButikDetayonline/([^/]*)/([^/]*)/([^/]*)/$ pages/ButikDetayonline.php?item=$1&ButikId=$2&BoutiqueType=$3 [L]


RewriteRule ^product/([^/]*)/([^/]*)/([^/]*)/([^/]*)/$ pages/product.php?item=$1&ButikId=$2&ProductId=$3&id=$4 [L]

RewriteRule ^productonline/([^/]*)/([^/]*)/([^/]*)/([^/]*)/$ pages/productonline.php?item=$1&ButikId=$2&ProductId=$3&id=$4 [L]


RewriteRule ^product2/([^/]*)/([^/]*)/([^/]*)/([^/]*)/$ pages/product2.php?item=$1&ButikId=$2&ProductId=$3&id=$4 [L]




RewriteRule ^contact/([^/]*)/$ pages/contact.php?item=$1 [L]

RewriteRule ^report/([^/]*)/$ pages/report.php?item=$1 [L]

RewriteRule ^aboutus/([^/]*)/$ pages/aboutus.php?item=$1 [L]

RewriteRule ^workus/([^/]*)/$ pages/workus.php?item=$1 [L]

#ErrorDocument 404 /errorr/404.php
#ErrorDocument 401 /errorr/401.php
#ErrorDocument 403 /errorr/403.php
#ErrorDocument 500 /index

# BEGIN cPanel-generated php ini directives, do not edit
# Manual editing of this file may result in unexpected behavior.
# To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
# For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
<IfModule php7_module>
   php_flag display_errors Off
   php_value max_execution_time 3000
   php_value max_input_time 60000
   php_value max_input_vars 1000000
   php_value memory_limit 1024M
   php_value post_max_size 80M
   php_value session.gc_maxlifetime 14400
   php_value upload_max_filesize 20M
   php_flag zlib.output_compression On
</IfModule>
<IfModule lsapi_module>
   php_flag display_errors Off
   php_value max_execution_time 3000
   php_value max_input_time 60000
   php_value max_input_vars 1000000
   php_value memory_limit 1024M
   php_value post_max_size 80M
   php_value session.gc_maxlifetime 14400
   php_value upload_max_filesize 20M
   php_flag zlib.output_compression On
</IfModule>
# END cPanel-generated php ini directives, do not edit

# 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
