SEO problem in BuddyPress
-
An important SEO problem for Buddypress is that redirects our principal WordPress MU blog (id=1) into directory /blog/
Before BuddyPress is installed the posts of principal WordPress Mu (id=1 are…
mydomain.com/2009/03/13/hello-world/
After BuddyPress is installed the posts of principal WordPress Mu (id=1) are …
mydomain.com/blog/2009/03/13/hello-world/
In the situation that we have more than 5.000 posts positioned in Google it is a hard SEO problem because we can lost an important number of visits.
¿any solution?
-
Are you sure? try to remove blog to the url and refresh the page
Never had this problem.. I’ve bp in bp-dev.org and i don’t user /blog
Update us
I don’t think there is a way around this.
Your posts should still be at http://mydomain.com/whatever/post. The url http://mydomain.com uses the home.php template in bp. That overrides index.php that is used if home.php doesn’t exist. If home.php exists in the theme directory the only way to run index.php is to trap something like ‘blog’ and then load that index.php template.
This is normal behavior for any wp theme that uses home.php. bp doesn’t change the permalink structure of your blog.
You can not use home.php if you like by deleting it from the theme directory or renaming it to something like home.php.off
That will get you index.php being used.
WordPress has always allowed for multiple ways to access a specific post, even if your permalink structure is setup in a specific way.
Categories
http://www.thelifeofjohn.com/rants/
http://www.thelifeofjohn.com/category/rants/
Posts
http://www.thelifeofjohn.com/2009/03/the-web-world-has-gone-unordered-list-crazy/
http://www.thelifeofjohn.com/rants/the-web-world-has-gone-unordered-list-crazy/
More than one way to get to the same link, and both are valid, and both could lead Google down different paths to the same destination. Granted, this is on a non-MU install, but MU suffers the same fate, only with multiple blogs.
Without having
/blog
or/news
or/something
there, now you’re opening up the risk of having overlapping post/page slugs. If you write a blog entry named “members” what would you want to happen? Goto the blog post, or BuddyPress’s members page? Multiple that times 100 individual minds blogging outside of your control, and you see how that can be dangerous.Trust me when I say that I understand what you’re saying, I do, and I can see how this could be something to consider when making the move to use MU and/or BuddyPress, but Google can recover quickly and so can your 5000 posts if they’re important and relevant.
Also, just for fun, lets goto…
http://delsolownersclub.com/blog/2009/02/09/del-sol-mugen-side-steps/
and then…
http://delsolownersclub.com/2009/02/09/del-sol-mugen-side-steps/
Looks like both take you where you need to be?
Not quite ready to mark this one green, but it looks like a correctly installed BuddyPress/MU won’t give you this problem…
Thanks Burtadsit.
your solution is not vialbe
If I delete home.php I get the same structure…
mydomain.com/blog/2009/03/13/hello-world/
not the old structure that I want …
mydomain.com/2009/03/13/hello-world/
johnjamesjacoby
the problem is that if you install buddypress plugin automatly transform the permalink structure
OLD STRUCTURE OF WORDPRESS MU (BlogID=1)
mydomain.com/2009/03/13/hello-world/
NEW Structure
mydomain.com/blog/2009/03/13/hello-world/
I want to mantain the OLD structure and when you install buddypress, if you go to SETTINGS -> PERMALINK SETTING is impossible to delete /blog/ for custom permalink Structure.
¿how can I change this for the old structure?
You simply can’t do it, but the old posts should still direct you to their new locations.
Well, I suppose you could change the
/blog
to/
but I’d hate to see what kind of havoc that could cause.Proceed at your own risk...
Site Admin->Blogs->Edit your main blog
Change "Path" to "/" and "Permalink Structure" to remove "/blog" and see what happens.My guess is dogs and cats, living together, mass hysteria. :X
thanks johnjamesjacoby.
I already tried that.
I go to Site Admin->Blogs
My main blog (id=1) have path “/” but in the momment that Buddypress is installed it force my permalink Structure to “/blog/” …
This is only if you install the BuddyPress home theme. It should not do this if you just use your existing theme.
thanks apeatling, but I can’t find that I must change in the BuddyPress home theme for get it
The ideal for not change my old permalink structure of Principal Blog is …
(Blog Id 1) in “/” not in “/blog/”
(Social Network) in “/socialnetwork/” not in “/”
People let me say this clearly: BP DOES NOT CHANGE THE PERMALINK STRUCTURE OF ANY BLOG!
There is no instance of the global object $wp_rewrite in any bp code or any call to $wp_rewrite->set_permalink_structure()
Not in the member theme, not in the home theme and not in any bp plugin.
bp is not changing the permalink structure. The only thing bp does is hijack the word ‘blog’ and load the index.php template. That’s it.
@pietro28, what version of bp and wpmu are you using? Did you install wpmu in the directory mysite.com/blog ?
I’m posting from my blackberry so someone can confirm, but I think Andy is saying that the functions.php in the BuddyPress Home theme is what hijacks the url and makes this happen? If I remember correctly? Sorry don’t have the source in front of me at the moment…
pietro28 is saying that his permalink structure changed. It can’t by simply installing bp.
The proof of this is in wp-admin/options-permalink.php, where “/blog” is permanently placed in front of the permalink url on lines 82, 92, and 102.
The function I was thinking of in functions.php was bp_show_home_blog(), but it doesn’t do exactly what I thought it did the way I thought it did it.
I see that spot in wpmu code. What does something hard coded in wpmu have to do with bp?
Burt, I was agreeing with you.
oh. (sigh) sorry.
(Sigh) it’s okay, but next time we’re taking this to fisticuffs!
Hi gang,
Am brand new to MU and Buddypress and I have setup Buddypress on my local box
Saw this thread and it’s exactly what I want to do.
To test this out, I am using the default Kubrick Home theme, and have adjusted my home blog’s settings under “Site Admin > Blogs” to: “Path – /” and “Permalink Settings – “/%postname%/”.
When I attempt to click on the “hello-world” post under the home blog, I get a 404 error.
However, when I go to “/blog/hello-world/”, this works.
Any idea why?
Welcome to BuddyPress!
Just so that you know the process around here, please read this thread.
In general, it is not effective to post a new support question in a thread that is marked as resolved. Furthermore, it is not effective to post a support question in a thread that has not had any activity for a month or longer. This thread fits both criteria.
So, I’ll provide some direction here, but if you are still having issues after reading this, then just start a new thread and we will see what we can do!
Possible solutions:
1. Make sure in “Path” that you have set the directory in which WPMU is installed.
2. Regarding the “/%postname%/” permalink structure, read this: https://codex.wordpress.org/Using_Permalinks#Using_only_.25postname.25
- The topic ‘SEO problem in BuddyPress’ is closed to new replies.