HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Redirect old URLs from PunBB to Vanilla

Hello.

I'm trying to redirect old URLs from a PunBB board with custom paths, but I can't do it.

I tried the following code in htaccess, but it does not work :

RedirectMatch permanent /topic(.*) https://www.example.net/discussion/$1/

My old URLs use the following pattern:

https://www.example.net/topic123-keyword.html

Thank you for your help.

Comments

Sign In or Register to comment.