|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
mod_rewrite
Is it possible to use mod_rewrite to make all URLs like
store.cgi?mode=VIDEOGAMES store.cgi?mode=VIDEOGAMES&id=541022 store.cgi?item=B00009WAU9&type=Search show up as store-mode-VIDEOGAMES.html store-VIDEOGAMES-id-541022.html store-item-B00009WAU9-type-Search.html with the stuff in caps, ID number, and B00009WAU9 being what changes? Here's what I got so far. RewriteEngine On RewriteBase /cgi-local/store/ RewriteRule ^store-mode-books$ store.cgi?mode=books RewriteRule ^store-item-0743222245-type-Search$ amazon_store.cgi?item=0743222245&type=Search RewriteRule ^store-mode-books-id-2$ store.cgi?mode=books&id=2 But with this you would have to have a code for every single category and item!!!!
__________________
Get Visitors Quick - FREE!!!
SEO Contests - v7ndotcom Elursrebmem - carcasherdotcom seocontest |
|
#2
|
||||
|
||||
|
I would try posting this on forums.devshed.com in the appropriate forum.
|
|
#3
|
||||
|
||||
|
I got it now!!
RewriteEngine on RewriteBase /cgi-local/amazon/ RewriteRule ^amazon_store\-mode\-(.*)\-id\-(.*).html$ amazon_store.cgi?mode=$1&id=$2 RewriteRule ^amazon_store\-mode\-(.*).html$ amazon_store.cgi?mode=$1 RewriteRule ^amazon_store\-item\-(.*)\-type\-Search.html$ amazon_store.cgi?item=$1&type=Search |
![]() |
| Viewing: SEO Chat Forums > Other > SEO Scripts > mod_rewrite |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|