How hard is it to import let's say a section of your current xenForo forum to a whole new xenForo forum? And only import users that have posts from that forum? Also would it be easy to redirect the URLs?
Got it to work and was able to export the thread IDs into excel, now I just need to some how format them in the required manner which I have no clue on how to do
Got it to work and was able to export the thread IDs into excel, now I just need to some how format them in the required manner which I have no clue on how to do
Used it, that's pretty awesome actually. Anyway, I first tried to copy paste all my thread ID's got a server 500 error misconfiguration. Then I tried just a few, and it worked, then I tried half, and it gave me the same error. Seems like this method can't handle a lot of IDs? In total I have 7000 threads that need to be redirected, so 7000 IDs, it couldn't handle about 3500.
Here is a pastebin of the code I used, this is with about half the IDs
You could forward all threads/ requests to a PHP script that checks the ids. Or extend the threads route to check the ids before the request goes to the controller.
This whole thing is nasty, but you are asking the question so...
You could forward all threads/ requests to a PHP script that checks the ids. Or extend the threads route to check the ids before the request goes to the controller.
This whole thing is nasty, but you are asking the question so...
I was able to use the same trick that you posted with some modification in excel to come up with the aforementioned redirect for all the ids. The only problem that I think I will have is the use of the asterisk, and I am not really sure if that's even correct.
How can I say to redirect any name in that code, will the asterisk work?
But remember that method was causing my server to throw out errors.
I was able to use this rewrite rule outside of mod_rewrite and it worked perfectly. Just had to repeat it about 7000 times, which apparently wasn't as bad as the other method as the server is running fine.
The problem wasn't the use of RewriteRule. The problem was the length of the regular expression. You can use multiple rewrite rules, one per thread_id. Or use RedirectMatch. Same difference.