Here is a little problem that I cant get my head around with:
I have the rewrite engine on in .htaccess to turn every page that ends with /username into /profile?login=username
In the profile page, I have a form that I want the action to be “username”. However the problem is that the _Post doesn’t seem to get data when the rewrite engine is on. I am guessing when the server does a url redirect, the data is discarded.
What I ultimately want is:
- don’t let the user see profile?login=username at all
- get _post working properly.
I solved this problem. The rewrite rule was kinda weird so that it didn’t work on my localhost but works on my website.