Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Dupicate Titles
Avatar
James Mueller
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2014 - 10:37 am

OG, yea. I remember our developer changing those to Jetpack... thanks, I'll get that corrected.

``````````````````````````````

Followed your instructions. We now have this:

function my_canonical_exclude( $canonical ) {
        global $post;
        if ( $post->ID == 11974 ) $canonical = false;
        return $canonical;
    }
add_filter( 'wpseo_canonical', 'my_canonical_exclude' );

add_action('sph_forum_startup', 'do_my_title_filter');
function do_my_title_filter() {
    remove_filter('wp_title', 'sp_setup_browser_title', 99, 3); # want it to run last
    add_filter('wp_title', 'sp_setup_browser_title', 16, 3); # want it to run last
}

?>

Still no titles. (I did clear my cache, etc.)
Would you like FTP access?

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2014 - 11:19 am

what do you mean no titles??  I see unique titles on forum pages now...  its only the topic title but that is what you have it set to be on forum - components - seo...

seems working fine now...

Avatar
James Mueller
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2014 - 11:48 am

Are we looking at the same site?

-- Home Page - No Title  http://screencast.com/t/oX4b58di

-- Topic Index - No Title http://screencast.com/t/mcS9zU1b

However, If I drill-down to the post level, there *is* a title:

-- http://screencast.com/t/Vi4y8eqge

Are you saying it is acceptable to *not* display titles in the first two examples?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2014 - 1:27 pm

did you look at your seo options like I said???? 

you are explicitly excluding page name and forum name from the title... so if you are on main forum page (group view) or a specific forum page (forum view),  you wont get a title...  you do get a title on the topic view because you are including the topic title...

Avatar
James Mueller
Member
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2014 - 2:49 pm

Steve, sorry, didn't see your previous comment.

Looks good.

Thanks for sticking with me.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 1, 2014 - 2:57 pm

Np.. Happy to help... Worthwhile for me to as wp seo has just changed the priority of their title hook... Hence the change from 10 to 16...

This title filtering is a moving target as plugins and themes are constantly changing it to remain told dog...

Avatar
James Mueller
Member
Free Members
sp_UserOfflineSmall Offline
Mar 13, 2014 - 12:09 pm

So, this morning our Moz report showed 1,700+ pages 'missing titles' ...

Please see: http://www.growth trac dot com/marriage-forums/resolving-conflict/continual-friction/

** broke up the url because Google has a habit of indexing these.

Note the title text is displaying in the upper left.

Same with our home page : http://www.growth trac dot com/marriage-forums/

Trust me: I have changed nothing since our last chat.

What is my next step? Thanks Steve.

EDIT

Correction: Our developer has made changes since then, however he has not made changes to the forums.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2014 - 5:07 pm

sorry, but something changed...  no recent genesis updates either...  according to wp seo change log, no updates near this area either...

genesis title at top is here:  https://simple-press.com/suppo.....e/#p129907

I would re-verify all the changes from this thread and make sure they are still good...  I do note you are running our default wp theme...  we have always recommended making your own theme in case you updated our theme where you would lose all your customizations...

Avatar
James Mueller
Member
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2014 - 7:13 pm

Resolved.

Both of the functions we added previously to spFunctions weren't there (see below).
So, wondering if we did an update that over-wrote the file?

Thanks, Steve
Jim

````````````````````````````````

function my_canonical_exclude( $canonical ) {
        global $post;
        if ( $post->ID == 11974 ) $canonical = false;
        return $canonical;
    }
add_filter( 'wpseo_canonical', 'my_canonical_exclude' );

add_action('sph_forum_startup', 'do_my_title_filter');
function do_my_title_filter() {
    remove_filter('wp_title', 'sp_setup_browser_title', 99, 3); # want it to run last
    add_filter('wp_title', 'sp_setup_browser_title', 16, 3); # want it to run last
}

````````````````````````````````

?>

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Mar 14, 2014 - 8:17 pm

Which is exactly actuly what I said and why we say create your own theme for changes... Incidentally, there are no auto upgrades... They have to be manually initiated...

So you need to remake your changes....

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626