<?php
// .htaccess for clean URLs
RewriteEngine On
RewriteBase /nexshop/

# Redirect index.php, product.php, cart.php, etc. to clean URLs
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9-]+)/?$ $1.php [L]
