i have project in localhost , i apply the rewrite simple rule , it's work fine in localhost .when i upload in cpanel .Rewrite url (htaccess) work only for one page but not for others . means its give me 500 internal error. i convert Profile.php to domain.com/profile and about-us.php to domain.com/about-us but it give me 500 error
# Turn Rewrite Engine On
RewriteEngine on
RewriteRule ^profile$ Profile.php [NC,L]
RewriteRule ^profile-setting$ User-Profile.php [NC,L]
RewriteRule ^checkout$ checkout.php [NC,L]
RewriteRule ^summer-store$ product.php [NC,L]
only last product.php page work in both localhost and cpanel , but other only work on localhost not in cpanel(500 error) .Where is the Problem Exist.Many Thanks in Advance