Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > PHP How-To
|
PHP How-To Post your "How do I do this with PHP?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the PHP How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 5th, 2007, 06:00 AM
Registered User
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to make url like example.com/news

how to make url like

example.com/news
example.com/forum
example.com/gallery

using one index.php page.

i know we can do
example.com?page=news
example.com?page=forum

i would like to hide "?page=" .... and make more frindly irl

thank you in advance

regards
thiru
 
Old March 13th, 2007, 01:04 AM
Authorized User
 
Join Date: Feb 2007
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi piran,

U have to use mod_rewrite i.e. .httaccess feature

Please view URL : http://www.sitepoint.com/article/guide-url-rewriting

i hope this will help u.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Separating news from the articles and add news pic Isaak BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 December 12th, 2006 11:25 AM
News Ticker dangerduck BOOK: Professional Ajax ISBN: 978-0-471-77778-6 8 April 21st, 2006 07:09 AM
extract URL from Favorites (.URL Files) PhilHawks VB.NET 2002/2003 Basics 2 November 2nd, 2004 04:35 AM
news tool alitoday Javascript 3 July 15th, 2004 03:57 AM
News database gtmm9 Access ASP 0 October 9th, 2003 12:52 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.