Forum Replies Created
-
In reply to: Paginated content
Hi Robin,
I got your point, thank you for your reply: no hard feelings.
Problem is: I still have so many unuseful pages indexed by Mr Google and I don’t seem to find a way to let Google know how that content is actually organized.
Simply adding “rel next and prev” would be the easiest solution, but I have to give up since I am not a coder.
Bye
In reply to: Paginated contentHi Robin, I don’t agree:
1 – paginated content is a very common feature, Google requires it and it should be native in a Forum, where it is obvious you will need it.
2 https://wordpress.org/support/topic/nothing-but-problems-4/ at each time people give bbpress a bad review, the advice is to use the support forum. Just as I did.
Bye.
In reply to: Paginated content1 year and 4 months without any answer, I am sorry maybe the question was too difficoult for the support forum. If that’s the case please just let me know and I will remove it.
In reply to: Paginated contentWow ten months without an answer.
In reply to: Paginated contentI’ll try with an “UP” for the last time.
In reply to: Paginated contentI found this code for WordPress but it doesnt seem to work:
function cor_rel_next_prev_pagination() { global $paged; if ( get_previous_posts_link() ) { ?> <link rel="prev" href="<?php echo get_pagenum_link( $paged - 1 ); ?>"> <?php } if ( get_next_posts_link() ) { ?> <link rel="next" href="<?php echo get_pagenum_link( $paged + 1 ); ?>"> <?php } } remove_action('wp_head', 'adjacent_posts_rel_link_wp_head'); add_action('wp_head', 'cor_rel_next_prev_pagination');
Is there a way to make it work?
Thank you.
In reply to: Paginated contentUP again
In reply to: Paginated contentUP
In reply to: Noidex metatag to groups of pagesHi and thanks Pascal!
I can’t find out how to add Date Archives, do you have an advice please?
the Process
In reply to: Noidex metatag to groups of pagesHi,
I think I understood a little how it works and came out with this:
add_action( 'wp_head', 'casiepa5_add_noindex' ); function casiepa5_add_noindex() { if ( bbp_is_favorites() ) { wp_no_robots(); } } add_action( 'wp_head', 'casiepa4_add_noindex' ); function casiepa4_add_noindex() { if ( bbp_is_single_user_replies() ) { wp_no_robots(); } } add_action( 'wp_head', 'casiepa3_add_noindex' ); function casiepa3_add_noindex() { if ( bbp_is_single_user_profile() ) { wp_no_robots(); } } add_action( 'wp_head', 'casiepa2_add_noindex' ); function casiepa2_add_noindex() { if ( bbp_is_single_user_topics() ) { wp_no_robots(); } } add_action( 'wp_head', 'casiepa_add_noindex' ); function casiepa_add_noindex() { if ( bbp_is_topic_tag() ) { wp_no_robots(); } }
I tested it and it seems ok.
Do you think it is the correct procedure?
Thanks,
the Process
PS: could you please remove the picture with the link to my test site? Thanks 🙂
In reply to: Noidex metatag to groups of pagesUnfortunately I found this problem with the code:
add_action( 'wp_head', 'casiepa_add_noindex' ); function casiepa_add_noindex() { if ( bbp_is_single_user_profile() ) { wp_no_robots(); } }
It does not add the noindex to profile sub pages:
Correctly in no NOINDEX:
/forumgm/profile/jacobus-johannes
still in INDEX:
/forumgm/profile/jacobus-johannes/topics
/forumgm/profile/jacobus-johannes/replies
/forumgm/profile/jacobus-johannes/favoritesAnd that is bad for Mr G indexing too many unuseful pages 🙁
the Process
In reply to: Noidex metatag to groups of pagesThank you very much Pascal,
your code works smoothly!
Could you tell me, please, how to change this:
bbp_is_single_user_profile
to prevent indexing /topic-tag/? I am not a developer and tried some “variations on the theme” like:
add_action( 'wp_head', 'casiepa_add_noindex' ); function casiepa_add_noindex() { if ( bbp_is_single_user_profile() ) { wp_no_robots(); } } add_action( 'wp_head', 'casiepa_add_noindex' ); function casiepa_add_noindex() { if ( bbp_is_single_topic_tag() ) { wp_no_robots(); } }
with the scarce results I am used to.
Thanks,
the Process
In reply to: Noidex metatag to groups of pagesAny ideas?
In reply to: Noidex metatag to groups of pagesSure! And thanks!
I need to noindex especially urls like:
/forumgm/profile/luki
and
/forumgm/topic-tag/delega
Thank you,
the Process
In reply to: Noidex metatag to groups of pagesHi and thank you very much,
we are close but not there yet: this last code works, but writes the meta-tag on <b>each page of the forum</b>, not only the archives.
How is it possible to make it work only for archives pages?
Thank you,
the Process
In reply to: Noidex metatag to groups of pagesHi,
I don’t think this is a general question since bbpress states to be compatible with Yoast and Tsf when it is not (at least when it comes to noindex pages) so, imho, it is a BBpress problem.
https://github.com/sybrew/the-seo-framework/issues/243
I asked the same question on wp support anyway and still didnt get any answers (it took almost one week to have one here so I guess I’ll be waiting for some days there as well – https://wordpress.org/support/topic/noidex-metatag-to-groups-of-pages/)
I added your code (thank you for writing it down) but I only see a white page afterwards.
I added it to functions.php in wpcontent/themes/forum/ is it correct?
Thank you,
the Process
In reply to: Noidex metatag to groups of pagesUP
thank you for your answer.
I already installed bbpress v2 wordpress plugin on my wordpress blog, I only need to find out how to keep the same url for my forum when I import it.
my blog:
http://www.site.ext/blog/my forum:
http://www.site.ext/forum/How do I instruct wordpress, when I use the import tool, to keep the old url for the forum (www.site.ext/forum/ instead of http://www.site.ext/blog/forum/)?
Thank you.
POI
up, thanks.
Hi Robin,
“having it exist as /mysite.com/forum”
would be the perfect solution for me, since my standalone bbpress is already at /mysite.com/forum/, and my wordpress blog is at /mysite.com/blog/ (they are both in production).
Would your solution work in my case?
Where exactly should I add the shortcode
[bbp-forum-index]
?Thank you very much!
In reply to: Blog and Forum in different directoriesThank you very much for your answer Sam Rohn.
They seem to have found a solution here:
but the solution isn’t public, they didn’t share it unfortunately.
I’ll be forced to work on the .htaccess file, I guess.
In reply to: Blog and Forum in different directoriesUP, UP
In reply to: Blog and Forum in different directoriesUP
In reply to: Blog and Forum in different directoriesI’ll try to type “up” for this question without any hope, though, since my last 4 questions remained all unanswered.
In reply to: I need serious help with bbpress integrationI am having the same issue, has anybody found a solution?