I’m trying to get a .htaccess file to work, here is what I need
domain.com/some-slug-url should point to my_folder/display.php?page_url=$1
and
domain.com/some-other-url.html should point other specific rules
Also there is an admin side so I would also need to have something like
domain.com/admin – load admin folder
I think there should be a condition like
if url does not end with .html or is not admin .. then my_folder/display.php?page_url=$1
The problem is that I am not an expert in .htaccess files, but I have tried to do this but with no luck, I know it’s not that complicated but somewhere along the line I lose it and everything works except the /some-slug-url
Thank you
I’ve wasted a lot of time on this trying to get it going.
Note the use of the
[l]parameter, which states that if that rule is matched, htaccess will not loop throught any other conditions.