Hi,
Got a bit of a weird one here
I've trying to make the domain/links/* stuff do a 301 redirect to the main domain. I have the following:
RewriteRule ^links/(.*) [R=301,L]
RewriteRule ^links/?$ [R=301,L]
This works when you goto domain.com/links and domain.com/links/ ...but if you goto domain.com/links/something , I still get a 404 error
Can anyone suggest what I'm doing wrong?
TIA
Andy
Got a bit of a weird one here
I've trying to make the domain/links/* stuff do a 301 redirect to the main domain. I have the following:
RewriteRule ^links/(.*) [R=301,L]
RewriteRule ^links/?$ [R=301,L]
This works when you goto domain.com/links and domain.com/links/ ...but if you goto domain.com/links/something , I still get a 404 error
Can anyone suggest what I'm doing wrong?
TIA
Andy