Rename index.php and include in header links (Pages in WordPress Admin)
-
I am working on the site https://www.giantmango.com/news.php.
I renamed my index.php to news.php and tried linking the header links (permalink of Pages in WordPress Admin) “News” to news.php, but it is not working. When this is completed, I would like index.php to point to the header link “Home” too.
I have renamed index.php to news.php and updated my .htaccess file to
RewriteRule ^news\.php$ – [L]
RewriteRule . /news.php [L]but I cannot update the header links (permalink of Pages in WordPress Admin) to news.php. Can someone please tell me if I am doing this correctly or if there is a better way without using plugins?
Thank you so much in advance.
- The topic ‘Rename index.php and include in header links (Pages in WordPress Admin)’ is closed to new replies.