[RESOLVED].htaccess rewrite rule and _post conflict

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:

  1. don’t let the user see profile?login=username at all
  2. 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.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.