Using mod rewrite to create search engine friendly URL's

New to mod_rewrite? This is a good place to start.

Using mod rewrite to create search engine friendly URL's

Postby Guest » Tue May 20, 2003 3:03 am

Hello everyone,

I am creating a website for a travel agency and they are eager to get good search engine rankings (As any e-commerce website wants to).

In a bid to improve their ranking and get their destination descriptions indexed, I have decided I will use search engine friendly URL's by taking advantage of ModRewrite.

Oh boy talk about putting my head into the fire!! After about an hour I gave up in sheer fustration.

So realizing I am not yet a ModRewrite master, I was wondering if anyone could help me with the following problem.

What I wish to do is have a database generated URL such as this...

/blah.html?session=7644662&location=america&holidaytype=fullboard

Be referenced as something similar to one of these in our markup...

/blah.html/session/7644662/location/america/holidaytype/fullboard

/blah.html/session=7644662/location=america/holidaytype=fullboard

...that way a spider would crawl them and they would show in the listing.

If anyone can show me a way to do this or even give me some pointers I would be very grateful to you.

Many many thanks.

Keffa
Guest
 

Postby matt » Thu Jun 12, 2003 5:28 pm

check out this thread
viewtopic.php?t=73
matt
 


Return to Beginner's Corner

Who is online

Users browsing this forum: No registered users and 33 guests

cron