|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
||||
|
||||
|
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. |
|
#3
|
||||
|
||||
|
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. |
![]() |
| Viewing: SEO Chat Forums > Other > SEO Scripts > mod rewrite |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|