Can anyone help with a nginx rewrite rules that redirect all urls of the form
site.com/forum/threads/hedge-fund-or-investment-bank-internship.559/
into
site.com/threads/hedge-fund-or-investment-bank-internship.559/
I have XF installed on root and the first type of url was the result of XF previously being in /forum/ folder.
I have now moved it to root but Google reports thousands of 404 so I like to redirect them.
site.com/forum/threads/hedge-fund-or-investment-bank-internship.559/
into
site.com/threads/hedge-fund-or-investment-bank-internship.559/
I have XF installed on root and the first type of url was the result of XF previously being in /forum/ folder.
I have now moved it to root but Google reports thousands of 404 so I like to redirect them.