ErrorDocument 404 /index.php
Turn Rewrite Engine On
#RewriteEngine on
Rewrite for projects.php
#RewriteRule home$ index.php [NC,L]
NC makes the rule non case sensitive
L makes this the last rule that this specific condition will match
$ in the regular expression makes the matching stop so that "customblah" will not work
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .*$ n.php?n=$1 [QSA,L]
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule .*$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
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
This is code , what should i write in URL rewrite ?