Other Need htaccess writing

cjwinternet

Active member
We're currently moving from XF1 to XF2. Testing is complete but we have problems with urls being written differently.

We used the Shorter Routes by Waindigo plugin. The former developer can't be bothered to reply, and the current owner wasn't helpful whatsoever.


Currently our urls look like this...

XF1.4... https://www.28dayslater.co.uk/weston-point-power-station-runcorn-may-2011.t60571

But after the upgrade they look like this...

XF2... https://www.28dayslater.co.uk/threads/weston-point-power-station-runcorn-may-2011.60571/

There's three small differences in the url.


What we need is an htaccess 301 redirect or an XF2 plugin to change all incoming requests to the XF2 standard. The existing plugin also changes posts / members etc but not bothered about them.

If you can help, please leave a reply.

Cheers

Chris
 
Last edited:
Add this in your .htaccess file.

Code:
RewriteRule ^/(.*)[.]t([0-9]*)$ /threads/$1.$2 [R=301,L]
 
Top Bottom