Hey everyone, I needed a bit of help regarding a .htaccess file I was making.
Basically, I wanted all my URL's on my site to look nicer. So what I did was made this:
The thing is, if I go to signup.html, it's all fine, but I want index.php?c=user&m=signup to show as signup.html.
Can someone please help be do that?
Also the last one just wont work, I want index.php?c=myuploader&m=searchMyshare&link=80 to show as file-80.html but I can't seem to do so.
Thanks.
Basically, I wanted all my URL's on my site to look nicer. So what I did was made this:
Code:
RewriteEngine On
RewriteRule ^uploadfinished.html$ index.php?c=myuploader&m=uploadFiles
RewriteRule ^signup.html$ index.php?c=user&m=signup
RewriteRule ^index.html$ index.php?c=home&m=main
RewriteRule ^myshare.html$ index.php?c=user&m=myShare1
RewriteRule ^myshare1.html$ index.php?c=user&m=myshare1
RewriteRule ^remoteupload.html$ index.php?c=myuploader&m=remoteUpload
RewriteRule ^upload.html$ index.php?c=myuploader&m=main
RewriteRule ^reportabuse.html$ index.php?c=home&m=contact&p=abuse
RewriteRule ^terms.html$ index.php?c=home&m=condition
RewriteRule ^faq.html$ index.php?c=home&m=faq
RewriteRule ^contact.html$ index.php?c=home&m=contact&p=contact
RewriteRule ^file([0-9]*)\.html$ index.php?c=myuploader&m=searchMyshare&link=([0-9]*)
The thing is, if I go to signup.html, it's all fine, but I want index.php?c=user&m=signup to show as signup.html.
Can someone please help be do that?
Also the last one just wont work, I want index.php?c=myuploader&m=searchMyshare&link=80 to show as file-80.html but I can't seem to do so.
Thanks.






