In a folder (named it) on the site I have a home.php file
I would like the address to be https://xxxxx.com/newtext instead of being https://xxxxx.com/it/home.php when opening the page
i tried to use route, but it doesn’t work.
The setting is:
I have done this several times and besides the .htaccess file has been modified on the server. Maybe the problem is that the home.php file is in the it folder, while the htaccess file is in the site root folder?
Teodor
maybe I didn’t quite understand the function of the route, but with the setting I configured I expect https: // xxxxxxxxxx / newtest to appear in the browser address. Instead it always appears https: //xxxxxxxx/it/home.php
Now actually if I type https: // mysite / en / newtext it opens the page
But I would also like that if you type https: //mysite/it/home.php it would automatically redirect to newtext
Marzio, routing is not working like that. It does not do redirects.
You define a path and a page to be loaded on that path. It's not creating any redirects.