chantown Posted November 11, 2007 Share Posted November 11, 2007 For example, I have this URL and passing this Variable www.domain.com/index.php?username=hellokitty How do people make it so that you can do: www.domain.com/hellokitty and it does that? Thanks! Quote Link to comment Share on other sites More sharing options...
marcus Posted November 11, 2007 Share Posted November 11, 2007 mod rewrite within htaccess .htaccess RewriteEngine On RewriteRule ^([^-]*)$ /index.php?username=$1 [L] Quote Link to comment Share on other sites More sharing options...
chantown Posted November 20, 2007 Author Share Posted November 20, 2007 thanks, I tried that, but it gave me a 500 internal error Is something wrong? Quote Link to comment Share on other sites More sharing options...
chantown Posted November 20, 2007 Author Share Posted November 20, 2007 Will the above code to this:? www.istage6.com/index.php?code=12345 to www.istage6.com/12345 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.