This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: Just one more left Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Djive
Groupie
Groupie


Joined: 06 June 2006
Online Status: Offline
Posts: 43
Posted: 22 January 2010 at 7:43am | IP Logged Quote Djive

I made rewrite for all sites
but need help for this one..

http://www.parfemi.hr/manufacture.asp?title=armani&code=1

nee d to be

http://www.parfemi.hr/armani/

or http://www.parfemi.hr/proizvodjac/armani/

thank you
Back to Top View Djive's Profile Search for other posts by Djive Visit Djive's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 22 January 2010 at 8:52am | IP Logged Quote Anton

Please try to use something like this:

RewriteRule /manufacture\.asp\?title=([^&]+)&code=1 http\://www.parfemi.hr/proizvodjac/$1 [I,RP]
RewriteRule /proizvodjac/([^/]+) /manufacture.asp\?title=$1&code=1 [I,L]

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 
Djive
Groupie
Groupie


Joined: 06 June 2006
Online Status: Offline
Posts: 43
Posted: 22 January 2010 at 9:06am | IP Logged Quote Djive

OK than you works great :)

And you speed is better that taht :)
Back to Top View Djive's Profile Search for other posts by Djive Visit Djive's Homepage
 
Djive
Groupie
Groupie


Joined: 06 June 2006
Online Status: Offline
Posts: 43
Posted: 03 March 2010 at 2:08pm | IP Logged Quote Djive

Allmost :)

i have links like this

http://www.parfemi.hr/manufacture.asp?title=armani&code=1
http://www.parfemi.hr/manufacture1.asp?title=chanel&code=50
http://www.parfemi.hr/manufacture1.asp?title=givenchy&code=12

nee d to be

http://www.parfemi.hr/armani/

or http://www.parfemi.hr/proizvodjac/armani/

this code=x its code for manufacturer..
that change
i did made some rewrite and  url is ok.. but i allways get  products from first manufacturer..

Please can you help
Back to Top View Djive's Profile Search for other posts by Djive Visit Djive's Homepage
 
Anton
Admin Group
Admin Group


Joined: 30 January 2007
Location: Ukraine
Online Status: Offline
Posts: 10520
Posted: 04 March 2010 at 3:32am | IP Logged Quote Anton

Well, then you need to have SEO-friendly URLs in the following format: http://www.parfemi.hr/proizvodjac/armani/50

The rules will be:

RewriteRule /manufacture\.asp\?title=([^&]+)&code=(\d+) http\://www.parfemi.hr/proizvodjac/$1/$2 [I,RP]
RewriteRule /proizvodjac/([^/]+)/(\d+) /manufacture.asp\?title=$1&code=$2 [I,L]

__________________
Regards,
Anton
Back to Top View Anton's Profile Search for other posts by Anton
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum