2
Hello;
I’m trying to create friendly Urls for a site, but I’m not succeeding in several examples I’ve tried online. I think my problem is in the way I should redirect the structure of my site, I own the page company.php that is within other subfolders, having this path: website/pageswebsite/empresa.php
.
I am trying that the URL can be triggered only through: www.site.com/empresa
as follows:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^empresa/?$ website/pageswebsite/empresa.php [NC,L]
</IfModule>
I have tried in various ways, but I have not succeeded, I ask for help from the forum even because I did not know much about .htaccess
, now that I’m starting to work with the same;