I'm starting in the world and I've been trying to do several things with my Urls for several weeks:
1st Remove extension from my home page index.php
2nd remove the .html and .php
There is a lot of info on the web and more than clarifying I made a mess.
I specify that yes I have managed to clean them by renaming this I do not know very well what it is but I think that is where the calls are made (the header menu of each page or something like that):
I simply remove the extension .php and .html to all the files and with a directive in the .htaccess so that I can recognize the urls without these extensions, it allows me to do so.
But I waste too much time touching all the code of each of the pages continuously ... I need a universal rule that prevents me from doing this in the file. I clarify that I use a wysiwyg type editor and that when I make any changes and upload the files, I upload it with the .php and .html extensions (and once I upload them to the server I have to modify them right there).
My question is: Is there some code for the htcaccess to hide any index.php from the home page and any file extension .php or .html from any web that I host in my public_html? Something like a general guideline.
Guys I need help, I'm a long-term unemployed with family and I'm fighting like a big belly cat to get out of the crisos, so I'm learning on my own because I have no money to pay for any course or any programmer. If someone can help me, I will greatly appreciate it (because something else I do not have). Many thanks in advance to anyone who offers his hand.