How can I change the URL of my home page in Wordpress?

1

I have a website in WordPress, when accessing it it gets dominio.com , but I want only the index of it to change to www.dominio.com/home .

That is, when accessing www.dominio.com , change to www.dominio.com/home (That is, only when accessing the home page, the other pages remain as they are).

    
asked by anonymous 07.04.2018 / 22:50

1 answer

2

Just put this snippet in .htaccess :

<IfModule mod_rewrite.c>

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^([^/]+)/$ $1.php
DirectoryIndex home.php

</IfModule>

Thus home.php will have priority over your files and will not display the file extension .php

    
07.04.2018 / 23:08