Skip to:
Content
Pages
Categories
Search
Top
Bottom

Rewrites for upgrade (v1.03 to v2.2.1)


  • spwestwood
    Participant

    @spwestwood

    Hi,

    I’m upgrading my forum from a standalone installation to the newer wordpress plugin. The URL structure is a bit different:

    Old bbPres (v1.03):
    Main page: domain.com/forum
    Forum pages: domain.com/forum/forum/{forum-name}
    Subforum pages: domain.com/forum/forum/{forum-name}
    Topic pages: domain.com/forum/topic/{topic-name}

    New bbPress (v2.2.1)
    Main page: domain.com/blog/forums
    Forum page: domain.com/blog/forums/forum/{forum-name}
    Sub-forum page: domain.com/blog/forums/forum/{parent-forum}/{forum-name}
    Topic pages: domain.com/blog/forums/topic/{topic-name}

    So the main issue I have is that the forum is now in the wordpress directory, whereas I’d rather it was outside. The other issue is that now sub-forums have the parent forum in the url.

    I’d like to do two things:

    -> Remove the /blog/ from the forums url
    -> Redirect old sub-forums to the newer domains.

    Does anyone know the htaccess/mod_rewrite to do this?

    • This topic was modified 11 years, 12 months ago by spwestwood.
  • You must be logged in to reply to this topic.
Skip to toolbar