BuddyDev

Search

[Resolved] BuddyBlog – head title and redirect problem

  • Participant
    Level: Initiated
    Posts: 11
    trolinof on #13214

    Hello all,
    I am using latest WP + latest Buddypress + latest Buddyblog with custom Blog Post Type (Our trips).

    Everything is great, except 2 little problems:
    1. Problem:
    I set in buddyblog settings this: Where to redirect after creating/updating post? -> Archive page.
    But it does not work, no redirect, only message with meassage done.. so user is still on /edit/ page in buddypress profile.

    2. Problem:
    I set in buddyblog settings: Show single posts on user profile? To Yes and it works, but this nice post title in browser head:
    https://buddydev.com/wp-content/blogs.dir/1/files/2013/07/buddyblog-better-page-titles.png
    does not work for me. In my title there is “Our trips*” – Blog – “Username” – “Sitename”.
    Not pretty post title name, only title name of my *Blog Post Type.

    Please, it is possible to help me with this? Thank you very much !

  • Keymaster
    (BuddyDev Team)
    Posts: 21067
    Brajesh Singh on #13222

    Hi trolinof,

    Welcome to BuddyDev.

    Please allow me to check this today and get back to you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 21067
    Brajesh Singh on #13277

    Hi trolinof,
    I have checked the plugin now.

    1. The redirect is working fien for me. I will suggest trying deactivating some of the plugins and check it.

    2. Title:- It has 2 parts
    a). Separator. What you say ‘|’ was the old separator specified by the theme. WordPress currently uses ‘-‘ as the default separator.
    You can change this by the following code

    
    
    /**
     * Change WordPress page title separator.
     *
     * @param string $sep separator.
     *
     * @return string
     */
    function buddydev_update_wp_page_title_separator( $sep ) {
    	return '|';
    }
    add_filter( 'document_title_separator', 'buddydev_update_wp_page_title_separator' );
    

    b) Order of title parts:- This will need some modifications as the current order is posts|Blog|Username| Page-xyz|Sitename

    This part needs improvement. We will push it in our next update.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    trolinof on #13281

    Hello Keymaster,
    thanks for your reply and time 🙂

    1. Ok, I will try to disable plugins this week and I will let you know.
    2. Great, but my main problem is, that there is no post title from user post.
    Every user blog post is same:

    
    <Head>
    <title>Our trips - Blog - user - sitename</title>
    

    Our trips = custom blog post type name.. no post title name and bad for my seo 🙁

    I think it should be right as follows, but it does not work:

    
    <Head>
    <title>My super trip to Japan - Blog - user - sitename</ title>
    
    
    <Head>
    <title>Our trip to USA - Blog - user - sitename</ title>
    

    Thank you very much again, I really appreciate it.

  • Keymaster
    (BuddyDev Team)
    Posts: 21067
    Brajesh Singh on #13284

    Hi trolinof ,
    Thank you.

    Yes, I have noticed the title issue while testing. We will push an update this week and let you know.

    Thank you
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    trolinof on #13294

    Hello,
    these are great news, thank you very much 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 21067
    Brajesh Singh on #13299

    Thank you.

  • Participant
    Level: Initiated
    Posts: 11
    trolinof on #13525

    Hello Brajesh,
    I’m sorry, but do you have any news?
    And my second question.. it is possible to implement support for Yoast SEO? (To generate meta description and keywords)

    Thanks again

  • Keymaster
    (BuddyDev Team)
    Posts: 21067
    Brajesh Singh on #13531

    Hi trolinof,
    My apologies. It got off our radar.

    I or @ravisharma will push an update by Sunday and let you know here.

    Thank you
    Brajesh

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2349
    Ravi on #13577

    Hello Trolinof,

    We have updated the plugin. Please download the latest plugin version from the following url and let me know if it works or not.

    https://buddydev.com/plugins/buddyblog/

    Thank you
    Ravi

The topic ‘ [Resolved] BuddyBlog – head title and redirect problem’ is closed to new replies.

This topic is: resolved