SEO Scripts
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   SEO Chat ForumsOtherSEO Scripts

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread SEO Chat Forums Sponsor:
  #1  
Old June 15th, 2003, 10:09 PM
Noodles Noodles is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: May 2003
Location: New Zealand
Posts: 137 Noodles User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 7 h 51 m 7 sec
Reputation Power: 6
Send a message via ICQ to Noodles
mod rewrite

Hi,

I was reading somewhere the other day about mod rewrite and how it can turn something like index.php/pageID_20/something_2/
into index.php?pageID=20&something=2

I've done some reading and have come across some examples, but they all seem to be limited to a certain number of query string pairs, i was wondering if there was a way to use mod rewrite to do the same for an unspecified number of pairs, so if i had 10 pairs it would still work the same as 1 pair

Hopefully that makes sense
Thanks in advance

Last edited by Noodles : July 1st, 2003 at 05:04 PM.

Reply With Quote
  #2  
Old June 17th, 2003, 03:58 PM
robert's Avatar
robert robert is offline
Contributing User
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Dec 2002
Location: Bucharest / Romania
Posts: 119 robert User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 3 h 30 sec
Reputation Power: 6
Send a message via Yahoo to robert
It is posible to use it however you want.

I used it serveral times. Take a look at: www.cert-accommodation.ro

It's active and running there.

I'm no expert in mod_rewrite, but it seems to have visible results if used

It doesn't matter the number of variables rewriten or the order of them. When such url is caught by the server it is translated according to the RewriteRule(s) appliable.

Somebody suggested somewhere in a tutorial that you could even create virtual hosting with it, meaning to transform : www.domain.com/folder/ into folder.domain.com. Never tried, but they say it works.

Reply With Quote
  #3  
Old June 19th, 2003, 06:19 AM
sarahk's Avatar
sarahk sarahk is offline
iTamer
SEO Chat Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Location: Auckland, New Zealand
Posts: 170 sarahk User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 34 m 28 sec
Reputation Power: 6
Send a message via ICQ to sarahk Send a message via AIM to sarahk Send a message via Yahoo to sarahk Send a message via Google Talk to sarahk Send a message via Skype to sarahk
It shouldn't have a problem but take care designing your site as there is a performance hit ie another process to complete before displaying any page on your site.

If you design it right it can do huge amounts. As an example look at any news site eg http://www.xtramsn.co.nz and see their urls. They must break these up into more than 10 pieces.

Reply With Quote
Reply

Viewing: SEO Chat ForumsOtherSEO Scripts > mod rewrite


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT