Forums / General Questions / Need .htaccess tips - I want to make URL redirects

Need .htaccess tips - I want to make URL redirects

Locked

Views: 785

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
12 Nov 2009, 7:58 AM
#1
xcergy avatar

xcergy

Zen Follower

Join Date:
Feb 2009
Location:
Landrum SC
Posts:
141
Plugin Contributions:
0

Need .htaccess tips - I want to make URL redirects

I need to know how to redirect base category URLs

Problem:

If I redirect
Redirect /catalog/water-bowls-105/ http:[path to URL]

it will work for that

If I add

Redirect /catalog/water-bowls-105/portable-food-water-bowl-407.html http:[path to URL]

then all URLs in that path will crash (404 errors)

If I leave out the category URLs, all of the files work, but I am missing out on the Google/Bing indexed files which now return File Not Found errors [404]

I'm stumped!

12 Nov 2009, 8:02 AM
#2
xcergy avatar

xcergy

Zen Follower

Join Date:
Feb 2009
Location:
Landrum SC
Posts:
141
Plugin Contributions:
0

Re: Need .htaccess tips - I want to make URL redirects

BTW, I found a great website that explains how .htaccess works:

perishablepress.com/press/2006/01/10/stupid-htaccess-tricks/

13 Nov 2009, 6:35 AM
#3
xcergy avatar

xcergy

Zen Follower

Join Date:
Feb 2009
Location:
Landrum SC
Posts:
141
Plugin Contributions:
0

Re: Need .htaccess tips - I want to make URL redirects

help needed for '.htaccess for dummies' student (bump)

15 Nov 2009, 4:02 PM
#4
xcergy avatar

xcergy

Zen Follower

Join Date:
Feb 2009
Location:
Landrum SC
Posts:
141
Plugin Contributions:
0

Re: Need .htaccess tips - I want to make URL redirects

I found the answer.