PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
amirbwb
Forum Commoner
Posts: 89 Joined: Sat Oct 30, 2010 6:10 pm
Post
by amirbwb » Fri Apr 29, 2011 6:20 am
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 ...
oscardog
Forum Contributor
Posts: 245 Joined: Thu Oct 23, 2008 4:43 pm
Post
by oscardog » Fri Apr 29, 2011 7:44 am
Using .htaccess and mod_rewrite. There are a million and one tutorials on the subject, plus mod_rewrite generators for simple rewrites.
amirbwb
Forum Commoner
Posts: 89 Joined: Sat Oct 30, 2010 6:10 pm
Post
by amirbwb » Fri Apr 29, 2011 11:06 am
I don't know what i should google so can u post me some links here ... thank you
califdon
Jack of Zircons
Posts: 4484 Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA
Post
by califdon » Fri Apr 29, 2011 4:47 pm
Use the terms oscardog showed you.