I'm working on a php website . I heard we can change the htaccess to identify whether it is home page, post page or search page.
Currently I'm using the below details.
RewriteCond %{REQUEST_URI} ^/index\.(html|php)
RewriteRule ^(.*) /home.php
Where the Index.php gets the url and identifies whether it is home page , search page or url page.
Is there an easy way to do it?
Thanks a lot for your suggestions .