Reputation: 196
I want my URL index to work with or without parameter at the end:
mysite.com need to works exactly the same as mysite.com/test
Because I need to get the test
variable with GET. But the site needs to behave equally with or without this parameter. I try:
RewriteRule (.*) index.php?var=$1
But it breaks the links to the exters files (css, jquery, etc.).
Upvotes: 0
Views: 178