AI Assistant
Notifications
Clear all

[Solved] All redirects goes to root of forum

3 Posts
2 Users
0 Reactions
6,970 Views
(@vogelsang)
Posts: 4
Active Member
Topic starter
Translate β–Ό
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 
[#4823]

I just migrated from bbpress to wpforo. I have tested the wpforo and migration quite a lot. After the migration it turns out that the bbpress URLs all directs to the new forum root.

For instance:

old-forum/topic/topic-name/#post-60989 goes to Β new-forum/#post-60989

It leaves out the topic and post part. I can't figure out why. I have tried to turn off other plugins, but without any luck so far (got a redirect and permanentlink plugin running)

Thanks for a nice forum πŸ™‚


 
Posted : 12/08/2017 1:20 am
Robert
(@robert)
Posts: 10721
Support Team Admin
Translate β–Ό
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Make sure the wpForo base URL is not the same bbPress /forums/ . Also please note, the slugs (last part of permalinks) are the same when you do migration from bbPress to wpForo. So wpForo rewrite rule automatically redirects to wpForo forums and topics. You should disable bbPress once wpForo is activated.


 
Posted : 12/08/2017 1:47 pm
(@vogelsang)
Posts: 4
Active Member
Topic starter
Translate β–Ό
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Thanks for the answer. It is very usefull.

Β 

I am still challenges by getting wpforo's URL structure:

/community/forum-name/topic-name/

To match the one from bbpress

/forums/topic/topic-name/

I don't know how to get the fixed "topic" name to match the variable wpforo forum name. I prefer to keep the bbpress URL's for SEO reasons.


 
Posted : 12/08/2017 11:30 pm
(@vogelsang)
Posts: 4
Active Member
Topic starter
Translate β–Ό
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

It seems like the hard coded forum slug in bbpress is the problem. I added a bit of code to the the redirect plugin (locally) and it seems to work now. I am basically getting the forumid for the topic and then finds the forum url. Afterwards, I concatenate the forum and the topic slug. The script takes care of the rest.

The replies are not migrated. I guess that is possible, but probably ok not to do that.


 
Posted : 13/08/2017 8:25 pm
Share: