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%20us << i want to convert it to
http://???/index/name/about us/ << so for that i used the rewrite generator and got code:
which is not working for me... another thing i tried wasCode:Options +FollowSymLinks RewriteEngine on RewriteRule index/(.*)/(.*)/$ /site/index.php?$1=$2
http://???/about%20us.html << this kind of out put.
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.Code:RewriteEngine On RewriteRule ^([^/]*)\.html$ /site/index.php?name=$1 [L]
I also have a link which is to be converted
eg.
http://??/site/tut.php?name=java&id=...es%20Of%20Java
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..


LinkBack URL
About LinkBacks

Reply With Quote
