My .htaccess is messing up a few select URL in an add-on but since the redirect rule was for xenforo, I think it's somehow related to this.
RewriteRule ^[^/]+/.+-([0-9]+)/$ index.php?threads/$1/ [R=301,L]
I don't remember exactly what this even does.
All my xencarta URL were fine but I recently upgraded to xenforo 1.2.4 and noticed that a few links in xencarta now returned the wrong URL. Removing this rewriterule fixed it but I haven't a clue why. I used to have vb3.8 and vbseo.
As an example, the wrong returned URL looks like this: home/ my vps account name/ and the rest as shown below with either /1, 2, 3, etc. Any idea why this is happening? This .htaccess is in my forum root.
http://www.example.com/home/vpsaccountname/public_html/index.php?threads/3/
RewriteRule ^[^/]+/.+-([0-9]+)/$ index.php?threads/$1/ [R=301,L]
I don't remember exactly what this even does.
All my xencarta URL were fine but I recently upgraded to xenforo 1.2.4 and noticed that a few links in xencarta now returned the wrong URL. Removing this rewriterule fixed it but I haven't a clue why. I used to have vb3.8 and vbseo.
As an example, the wrong returned URL looks like this: home/ my vps account name/ and the rest as shown below with either /1, 2, 3, etc. Any idea why this is happening? This .htaccess is in my forum root.
http://www.example.com/home/vpsaccountname/public_html/index.php?threads/3/