Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
I need help with IIS mod_rewrite and CNCat
Old 03-29-2006, 01:23 AM I need help with IIS mod_rewrite and CNCat
Skilled Talker

Posts: 95
Trades: 0
I use IIS mod_rewrite and CNCat 2.1 from cn-software.com.
I use IIS 5.0 and PHP 5.1.2

I want to use Search Friendly Urls but everytime I do that I have to write a whole list of urls to rewrite

like this example:

RewriteRule ^/dir/diritem1/ /index.php?o=0&c=1
RewriteRule ^/dir/diritem1/ /index.php?o=1&c=1
RewriteRule ^/dir/diritem1/ /index.php?o=2&c=1

RewriteRule ^/dir/diritem2/ /index.php?o=0&c=2
RewriteRule ^/dir/diritem2/ /index.php?o=1&c=2
RewriteRule ^/dir/diritem2/ /index.php?o=2&c=2

I want to use this where all I have to do is write this once:

RewriteRule ^/dir/(.*) /sefriendly.php

What I was wondering is how can I make it to where every time I add a category in the admin area the Category works and none of this adding more to the list.

I accidently deleted this list and I don't want to rewrite the list again

How can I make this easier?

Last edited by hyipo; 03-29-2006 at 01:38 AM..
hyipo is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-29-2006, 03:04 AM Re: I need help with IIS mod_rewrite and CNCat
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,516
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Knowing which URL rewriting component you are using would help to get you an answer
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 03-29-2006, 03:44 PM Re: I need help with IIS mod_rewrite and CNCat
Skilled Talker

Posts: 95
Trades: 0
I don't know which could be writing urls. Do you have any sugestions. Could it be sefriendly.php. Does this mean I have to use apache to write urls?
hyipo is offline
Reply With Quote
View Public Profile
 
Old 03-30-2006, 02:11 AM Re: I need help with IIS mod_rewrite and CNCat
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,516
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
To do do "SE Friendly" URIs on IIS normally requires a component to be installed on the server, ISAPI_Rewrite being the most well known.

whatever CNCat is, it probably uses the apache mod_rewrite module.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Reply     « Reply to I need help with IIS mod_rewrite and CNCat
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.93077 seconds with 12 queries