logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Url Rewriting using htaccess
Author
Syam



Joined: 19 Sep 2016
Posts: 1
Location: India

PostPosted: Mon 19 Sep '16 15:38    Post subject: Url Rewriting using htaccess Reply with quote

Currently i'm working on this. I would like to change my url from

http://www.demo.com/userhome.php?view=prsnl_pge&pge_id=12
to
http://www.demo.com/(value of page id)

and

http://www.demo.com/userhome.php?view=cms_pge&pge_id=12
to
http://www.demo.com/(value of page id)

and

http://www.demo.com/userhome.php?view=ecom_pge&pge_id=12
to
http://www.demo.com/(value of page id)
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Tue 20 Sep '16 16:32    Post subject: Reply with quote

Do you want the pge_id parameter still to be send to userhome.php ? What about the view parameter?
What about urls that doesn't contain a pge_id paramter?
Back to top


Reply to topic   Topic: Url Rewriting using htaccess View previous topic :: View next topic
Post new topic   Forum Index -> Apache