Skip to:
Content
Pages
Categories
Search
Top
Bottom

Site Wide Activity and sub domains

  • Profile photo of Jimthedj65
    jimthedj65
    Member

    @jimthedj65

    Hi All,

    I have minor issues with my BP install…. I am slowly getting the admin process worked out….

    I used donncha’s plugin for sub domain redirect and it works a treat (I had to rewrite my brain a little) The only issue I have is that it doesn’t redirect any links from site wide activity to blogs that I host…

    so e.g. http://mysubdomain.domain.com redirect to http://domain.com is ok 301 permanent

    But from my site wide activity the urls are http://mysubdomain.domain.com/2009/posturl and not http://domain.com/2009/posturl

    so what I want is to be able to redirect all links to the http://domain.com/2009/posturl permanent to avoid any duplicate content from sub domain, my target is to have only the http://domain.com accessible full time.

    I have tried to redirect using .htaccess but to no avail, all urls work if I manually type them…

    All assistance and help appreciated in advance…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Profile photo of Trent Adams
    Trent Adams
    Participant

    @trent

    I know what you mean. I am actually in the middle of playing around with Donncha’s plugin for a couple of other reasons and have noticed this one. The reason I think it doesn’t redirect the main blog is because it only sets the domain.com as the siteurl when it has links created. It might mean that instead of using Donncha’s plugin you might have to manually change the blog URL to domain.com and manually update bp blogs tables. It is something that needs to be addressed, but I personally need the original domain of blog.domain.com due to a couple of other reasons and only want the mapped domain up front, not in the dashboard. Different strokes eh? !

    You should be able to manually put something in your .htaccess to convert all links from blog.domain.com to domain.com though as I did this before the domain mapping when I was just using proxy.

    Trent

    Profile photo of Jimthedj65
    jimthedj65
    Member

    @jimthedj65

    trent apologies for the delay in reply, I have been busy rewriting my BP into lighttpd with a lot of success…. I hope you can tell how you did the rewrite, I could get tit to work for top level domain but to get it working for posts proved to be hard…..

    I think the plugin is the way to go as splitting the blogs is a pain and difficult to manage…..

    thanks for your feedback at least am not totally barking mad..

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Site Wide Activity and sub domains’ is closed to new replies.