This is what I'm trying to do with the htaccess:
- Force remove the www from the url
- Be able to use http://website.com/site/ to get to http://website.com/site.php, and force the last slash even if it's not added by the user. So if i write http://website.com/site it will be converted to http://website.com/site/
- Also translate http://website.com/download.php?=file.exe to http://website.com/download/file.exe. Also http://website.com/news.php?article=43532 into http://website.com/news/article/43532
The htaccess code should not have to contain the domain it's going to be used on.
I've been trying to find something like this on the net for ages, but I only find each part and they don't work together.
Can anyone help me with this?