0

Hello,
I want to make my php based script's url search engin friendly,as i know nothing about .htaccess, can anyone one hints me about the code in the .htaccess file.

http://127.0.0.1/one/index?base=one&script=comment

ignore 127.0.0.1/one/

the actual url is index?default&base=one&script=comment where "one" is the folder name and comment
is the script on that folder.default is fixed all time. so those url parse in a functin and base and script variable i caught via request in a file which inlude in the very begining of the execution.

So suppose i want visitor to type
http://127.0.0.1/one/comment
but it's actual url is
http://127.0.0.1/one/index?base=one&script=comment

and another one like

http://127.0.0.1/one/profile

but it's actual url is

http://127.0.0.1/one/index?base=system&script=profile

Do i have to change anything in the cpanel to work with the htaccess file and where i have to place it.
can anyone hinst me about the htaccess code for this along
with the regular expression

thank you all

2
Contributors
1
Reply
3
Views
7 Years
Discussion Span
Last Post by cwarn23
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.