Imad Posted June 19, 2008 Share Posted June 19, 2008 Hi guys, I created this end inserted it into my htaccess file: <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^signup$ /register.php?new_account=true/ [L] </IfModule> I then visited mysite.com/signup and I got a 404 error. Is their something wrong with the code above? Quote Link to comment Share on other sites More sharing options...
jsladek Posted June 19, 2008 Share Posted June 19, 2008 not sure if this will help but I had to add this line to mine. Options -MultiViews Quote Link to comment Share on other sites More sharing options...
Imad Posted June 19, 2008 Author Share Posted June 19, 2008 Thanks for your help. I added it to my .htaccess but it still doesn't work. Best Regards. Quote Link to comment Share on other sites More sharing options...
cooldude832 Posted June 20, 2008 Share Posted June 20, 2008 try <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^.signup$ /register.php?new_account=true/ [L] </IfModule> Quote Link to comment Share on other sites More sharing options...
Imad Posted June 20, 2008 Author Share Posted June 20, 2008 Thanks for your replies guys. I actually figured it out by removing the forward slash before the url to the actual file. Best Regards. 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.