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 20th, 2003, 08:04 PM
Nintendo's Avatar
Nintendo Nintendo is offline
King of da Wackos
SEO Chat Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Planet Zeekois
Posts: 680 Nintendo User rank is Private First Class (20 - 50 Reputation Level)Nintendo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 2 h 37 m 30 sec
Reputation Power: 6
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!!!!

Reply With Quote
  #2  
Old June 20th, 2003, 09:16 PM
Jcaputo's Avatar
Jcaputo Jcaputo is offline
Kiss My Converse!
SEO Chat Beginner (1000 - 1499 posts)
 
Join Date: Jun 2003
Posts: 1,190 Jcaputo User rank is Corporal (100 - 500 Reputation Level)Jcaputo User rank is Corporal (100 - 500 Reputation Level)Jcaputo User rank is Corporal (100 - 500 Reputation Level)Jcaputo User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 6 Days 13 h 57 m
Reputation Power: 9
I would try posting this on forums.devshed.com in the appropriate forum.

Reply With Quote
  #3  
Old June 20th, 2003, 11:45 PM
Nintendo's Avatar
Nintendo Nintendo is offline
King of da Wackos
SEO Chat Novice (500 - 999 posts)
 
Join Date: Jan 2003
Location: Planet Zeekois
Posts: 680 Nintendo User rank is Private First Class (20 - 50 Reputation Level)Nintendo User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 2 h 37 m 30 sec
Reputation Power: 6
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

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 3 hosted by Hostway
Stay green...Green IT