homepage Welcome to WebmasterWorld Guest from 54.167.177.180
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Url rewriting
vk1154



 
Msg#: 4547743 posted 5:23 am on Feb 22, 2013 (gmt 0)

I have a couple of urls like the following

www.mydomain.com/subfolder/file1.php?id=1&title=trust

I want this url to be like
www.mydomain.com/subfolder/title/1.htm


and then I have another url like
www.mydomain.com/subfolder/file1.php?hot=abc&map=india

I want this url to be like
www.mydomain.com/subfolder/title/abc/india.html

Remember there is a link between 1st url and 2nd url in that

www.mydomain.com/subfolder/title/1.htm
www.mydomain.com/subfolder/title/abc/india.html

The second url should come under the "title" directory created by the first url.

What RewriteRule will help me achieve this. I am in urgent need to this.

Please help

 

lucy24

WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month



 
Msg#: 4547743 posted 6:15 am on Feb 22, 2013 (gmt 0)

I am in urgent need to this.

In that case I hope you have cross-posted in one of the forums that writes people's code for them.

:)

vk1154



 
Msg#: 4547743 posted 7:56 am on Feb 22, 2013 (gmt 0)

can you redirect me to that post.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved