Support Forum

Strange SEO things…

SP Stefano Prete
Stefano Prete
Member

Hey guys, a member of my forum just told me something I never noticed. He told me it started just a few days ago, it was different before.

Now, the title of the forum is “Forum IRSA”. I am using the FF addon “ColorfulTabs” and I have always saw the title “Forum IRSA” in the tabs.

Now, the tab doesn’t show it anymore. Instead, it shows the URL of the page! Very weird…

I am using Yoast WordPress SEO, I switched it off. No result.

I changed the forum theme, just went back to Unified I was using before. No result.

By right clicking the page, the title tag is correct.

Any idea about how to fix it? At the moment, if I have to be honest, it doesn’t bother me because the forum is open to members only. But later on I was thinking about opening to everybody.

Thank you wink

14 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Yes – the SP theme has no bearing on things like this. The only place is in the forum admin > components > seo. I would check the way it is set up there has not changed…

SP Stefano Prete
Stefano Prete
Member

Andy, I have never changed the SEO settings in SP therefore I suppose they are OK…

YS Yellow Swordfish
Yellow Swordfish
Member

It is just that this is the only place where SP may effect what is shown on the browsers tab or title bar.

SP Stefano Prete
Stefano Prete
Member

Can I see somewhere the default settings?

I tried by changing them but no effect…

YS Yellow Swordfish
Yellow Swordfish
Member

This s the SEO option data when installed:

$sfseo[‘sfseo_overwrite’] = false;
$sfseo[‘sfseo_blogname’] = false;
$sfseo[‘sfseo_pagename’] = false;
$sfseo[‘sfseo_homepage’] = true;
$sfseo[‘sfseo_topic’] = true;
$sfseo[‘sfseo_forum’] = true;
$sfseo[‘sfseo_noforum’] = false;
$sfseo[‘sfseo_page’] = true;
$sfseo[‘sfseo_sep’] = ‘|’;

But if changing it made no difference then would have to look elsewhere but not sure where,. Are you sure this is not Yoast doing this?

SP Stefano Prete
Stefano Prete
Member

OK, the settings were fine.

I switched off Yoast again, clear the cache and still nothing…

While the page refreshes, the SEO title is there, it shows up on the tab.

When the page stops, the URL comes up.

Really strange thing…

SP Stefano Prete
Stefano Prete
Member

Andy, something came to my mind…

Could it be due to the modification Steve did to my site to avoid those CSS problems with the plugin Template Tags?confused

YS Yellow Swordfish
Yellow Swordfish
Member

It’s extremely doubtful. But there again you have one of the most non-standard WordPress themes we have ever come across so who knows. It might well be ignoring our SEO settings and imposing it’s own thing. These settings are determined in the website ‘head’ which is the area your theme doesn’t handle as standard.

SP Stefano Prete
Stefano Prete
Member

I understand where you’re coming from…

But in this case, why has it always worked perfectly and now it doesn’t? It just stopped working out of the sudden.

Also, if the problem was related to the head of my template, the Yoast thing wouldn’t work anywhere. But it works perfectly on every page BUT the one where the forum is installed…

YS Yellow Swordfish
Yellow Swordfish
Member

The only way you can find out for sure is to reverse the change that Steve made in the code. The change he made is really a one-off hack to cater for non-standard theme behaviour. As I said above – this effects the processing of the website ‘head’. We have no idea how your theme processes the head and how much it may or may not apply WordPress filters and actions etc. All we know is that it does its own thing.

I have not studied the changes that Steve made but I do know it had something to do with trying to stop your theme loading our head code more than once. If this turns out to be the cause then it may be that you will simply have to chose between one problem or another problem I am afraid.

To put it bluntly – Simple:Press fully supports the standard WordPress API and published framework. It would be so much easier for everyone of all other plugins and themes did the same thing!

SP Stefano Prete
Stefano Prete
Member

Andy, could you please tell me just which file Steve modified?

I can download it and save it, then put the original file back and see how everything behaves.

If Steve’s changes effect everything for the sake of having the plugin Templates and Tags working, then I guess I can avoid to use that plugin to have everything else doing OK…

YS Yellow Swordfish
Yellow Swordfish
Member

File: /simple-press/sp-startup/forum/sp-forum-framework.php

Function: sp_load_plugin_styles()

The line at the top of the function:

if (!sp_get_option('sfwpheadbypass') && $spCSSLoaded) return;

was originally:

if ($spCSSLoaded) return;

The problem here is that this is now in the core code so will be in the next update of SP.

SP Stefano Prete
Stefano Prete
Member

Done!

I has nothing to do with the SEO thing, as it was still there.

So I guess I have to look somewhere else.

Thank you Andy! wink

YS Yellow Swordfish
Yellow Swordfish
Member

Curious. And I checked. We have made no changes in that arena over the last couple of releases.