Reputation: 89
We have URLs that contains #!
in their structure. I would like them to be redirected.
From:
/#!/about/
/#!/about/example/
To:
/about/
/about/example/
I tried this rule, but it didn't work:
rewrite ^([\/][#][!][\/])(.+[\/])(.+[\/])$ /$2$3 permanent;
Upvotes: 2
Views: 6393