Mod Rewrite Problems Is this correct? help me pls

mandy0

New Member
Messages
32
Reaction score
0
Points
0
HI
Today i just uploaded my web on the server. Actually i want to make my web search engine friendly so was trying to use mod_rewrite concept.
http://???/site/index.php?name=about us << i want to convert it to
http://???/index/name/about us/ << so for that i used the rewrite generator and got code:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteRule index/(.*)/(.*)/$ /site/index.php?$1=$2
which is not working for me... another thing i tried was
http://???/about us.html << this kind of out put.

Code:
RewriteEngine On
RewriteRule ^([^/]*)\.html$ /site/index.php?name=$1 [L]
None of this is working. I tried for 2-3 hours.. finally i thought asking help from someone who is using mod re-write here.
I also have a link which is to be converted
eg.
http://??/site/tut.php?name=java&id=2&title=Features Of Java
to
some thing like
http://??/site/tut.php/java/2/features of java

what kind of code is to be written. I read all the material available from apache etcs. but i couldn't understand it how i should.. So if you would help me i will be really thankful :)

Excepting a quick reply :D thank you in advance.
Sorry for any grammar mistakes etcs..
 
Top