Hello Guys,
I have tried to find an ultimate solution to my problem but I had no luck.
Basically I am asking if someone would kindly do a .htaccess file for me that Rewrites like this:

1) If the url has www. remove it.
2) When the user access any URL (mydomain.com/one/two/three) the URL would be:
index.php?site=one&var2=two&var3=three and so it would still works with $GET_['']; (If $GET_['var3']; is used then three would be the value of it)
3) Also so it would work for the current folder only. (Does not affect child folders)

Is it possible for someone to do a .htaccess file for me which would work in this way?
Thank you.

Recommended Answers

All 2 Replies

Member Avatar
Thanks that worked :)
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.