View Single Post
  #5  
Old 02-20-2006, 10:55 AM
sparrowhawk's Avatar
sparrowhawk sparrowhawk is offline
SEO Junior and a half
 
Join Date: Feb 2006
Location: NH (US)
Posts: 44 sparrowhawk is on a distinguished road
Quote:
Originally Posted by Paz
Hi,

That htaccess is really horrible.... haha sorry!

I'll have more one try before I go to bed, then we'll have to do it tomorrow.

Yes, it's important to redirect the urls as well as re-write them, but adding the r=301 should do that.

If you use just this below (and I've made some changes so cut and paste this please

RewriteEngine on
Options +FollowSymlinks
RewriteBase /
RewriteRule ^tb-(.*).html$ thomasville-bedding-ensembles.php?id=$1 [R=300, L]
RewriteRule ^cat-(.*).html$ categories.php?cat=$1 [R=300, L]


You say it doesn't "serve up the content", but what exactly do you see?

Cheers,
Paz.

I get an internal server error message with this syntax.

I looks like the rule you have set up would forward requests for tb-1234.html to the page thomasville-bedding-ensembles.php?id=1234. Isn't that the opposite of what I want to accomplish?

Thanks for your help and patience. I am a newbie in the world of mod rewrite and I know your time is important.
Reply With Quote