Page 1 of 1

change the address

Posted: Fri Apr 29, 2011 6:20 am
by amirbwb
hello if anyone can help me by telling me how to change the text of the address ... example :

like in wordpress when u enter an to a page it doesn't show you
www.domain.com/index.php?pageid=1

but it shows you this :
www.domain.com/the_page_name/

or

www.domain.com/the_page_name.html so the $_GET form is translated as a the title of the search or the page or whatever ...

mmm who's the intelligent that will help me with thiss ??!! ;)
and i think this question is interesting for many php coder ... thank you waiting your answers ...

Re: change the address

Posted: Fri Apr 29, 2011 7:44 am
by oscardog
Using .htaccess and mod_rewrite. There are a million and one tutorials on the subject, plus mod_rewrite generators for simple rewrites.

Re: change the address

Posted: Fri Apr 29, 2011 11:06 am
by amirbwb
I don't know what i should google so can u post me some links here ... thank you

Re: change the address

Posted: Fri Apr 29, 2011 4:47 pm
by califdon
Use the terms oscardog showed you.