I have a website, and when i display any page the url will change to: https://www.asdgsdgsd.nl/index.php or about.php or contact.php etc...
I have seen that you can create 'Clean urls' with .htaccess, but there the links were: https://www.asdgsdgsd.nl/index.php?page=$1.
is it possible for me to create clean urls?
i have tried this in a .htaccess document on my root folder:
RewriteEngine On RewriteRule ^([a-zA-Z0-9]+)$ index.php
Some one who can help me please?? you need some more information? just ask and i wil answer it!!
You have the idea by using the rewrite rule, but you have missed out of the last bit.
$1will take the first varable entered so you can have
/index/exampleand the word example can be pulled as a
You can create multipule in this way:
and so on.
If you just want to make the URL look nicer follow this link and read up on all the different ways of using the rewrite rule.
You can change
To look more like this:
If thats what you are looking for then the rule you want to use is: