Redirect all paths

I would like to redirect all paths to /website
Something like:

redir {
  if {path} not /website
  to /website
}

But I’m on a redir loop

Regards,

More or less I did it like:

@pathmatch {             
        not path /website         
        not file {path} {path}/
}        
redir @pathmatch /website   

Thanks

What are you trying to do with this rule?

2 Likes

You’re right, I don’t need it as match is on everything anyway :slight_smile:
Thank you

1 Like

This topic was automatically closed after 30 days. New replies are no longer allowed.