I would like to redirect all users who get sent to:

example.com/browse/this-page

to

example.com/browse

I have tried to put the following in the htaccess file:

redirect 301 /browse/* /browse

But it keeps telling me that there is an infinite loop when I do that.

Can someone please help me forward all pages after /browse/ to /browse?

Thanks.

Comments

samdeskin’s picture

Title: Quck Question about .htaccess and redirecting URLs » Quick Question about .htaccess and redirecting URLs

Sorry ... misspelled Quick.

samdeskin’s picture

I have an additional similar one ...

redirecting people who get sent to:

/*/favicon.ico

to

/favicon.ico

Any thoughts of how to deal with that in htaccess?

samdeskin’s picture

Title: Quick Question about .htaccess and redirecting URLs » favicon.ico being called from subfolders. Help with using .htaccess to redirect.
samdeskin’s picture

Can anyone help with this?

Anonymous’s picture

Status: Active » Closed (fixed)

Hi

I am closing this issue due to old age. Feel free to reopen it.
It seems more like an apache issue. Please look in the apache doku.