neononcon
Member
Posted 2 years ago #
The 'Home Title" just isn't working! For example I typed "Welcome to our official site" and all that shows up is the blog name. Every post we search in google just has the blog name in the title so the posts are ending up on page 3 of google.
This used to work fine, and even got page 1 of Google within hours of posting. What gives? Please help because without titles working this plugin is pointless - in fact ruining our search standing.
http://wordpress.org/extend/plugins/all-in-one-seo-pack/
neononcon
Member
Posted 2 years ago #
Ironically this is from the authors website:
"The text that you see in your browser’s window bar is the most important thing *on* your page. Make sure your titles are getting rewritten and the important stuff (your post titles) always come before anything else."
try adding this in your header within <head>in your template file, header.php
<?php if ( is_front_page()) { ?><title>Home | <?php bloginfo('name'); ?></title><?php }
else { ?><title><?php wp_title(' | ',true,'right'); ?><?php bloginfo('name'); ?></title><?php } ?>
neononcon
Member
Posted 2 years ago #
@fldtrace Thanks for the reply but all this did was add "Home | My Blog Name" to the title. It did not fix the issue of all-in-one-seo not working properly.
neononcon
Member
Posted 2 years ago #
Just for reference, I do have the <?php wp_head(); ?> in the header before </head>
neononcon
Member
Posted 2 years ago #
Is the Title working for anyone else??
You can hard code the title for home page, assuming in reading options you have a static page set for front page and a different one for blog.
Using my code from above, you can replace: <title>any title you want | <?php bloginfo('name'); ?></title>
so on home page it will be displayed:
any title you want | your blogname
neononcon
Member
Posted 2 years ago #
@fldtrace thanks for the reply but doesn't this defeat the purpose of having all-in-one-seo?? Why does AIOSeo have a field to enter "Home Title" if it doesn't even work right?
This is a WordPress related issue not the plugins fault. You can try with other SEO plugins and you will have the same issue.
The code I gave you is just for blog and home page titles. You can still control the titles of other pages from admin panel.
The good part is that you don't change those titles too often. Search engines don't really like that. Set and forget.
neononcon
Member
Posted 2 years ago #
@fldtrace ok I'm starting to get it, and I will heed your advice. But how can you explain why it used to work? It is because something changed in one of the recent updates of WP?
neononcon
Member
Posted 2 years ago #
Home Title is still not working! Google is not indexing the title of each post as it used to before updating. Is anyone else having this issue??
@neononcon: could you check the Meta SEO Pack plugin and let me know if it has the same issue? I am author of it, and would like to know if it is affected by the same problem or not.
viter-z-bayraku
Member
Posted 2 years ago #
This is conflict with WPML plugin.
For fix comment this lines in file sitepress.class.php:
add_action('template_redirect','icl_lang_sel_nav_ob_start');
add_action('wp_head','icl_lang_sel_nav_ob_end');
arenddeboer
Member
Posted 2 years ago #
Same problem here, apparently this happens when I position the call to wp_head() to the very top in header.php for SEO reasons (just after <head>)
Moving wp_head() just before </head> solves the problem.
viter-z-bayraku: thanks for the fix. I might try this out if I better understand the consequences.
Ammer Naber
Member
Posted 1 year ago #
Same problem here as well, The solution for me was this: When I added the line of code <? ob_start("ob_gzhandler"); ?> for GZIP to speed up my site at the very top of my header file, it broke the all in one SEO title tag. Removing the gzip code (thereby making my site 300% slower again) fixed the problem. Does anyone know how to make the two play well with one another? Our site http://www.enhancedvision.com is 100% WordPress and we really rely on the all in one seo plug in, so right now I am removing the gzip.
Scott Hendison
Member
Posted 1 year ago #
We have tried EVERYTHING but cannot find any method of compression that works NEARLY as well for speeding up a site as this code -
<? ob_start("ob_gzhandler"); ?>
Unfortunately, this breaks the All in One SEO plugin. REALLY a shame, and I sure hope there's a solution coming some day. We want to build this into the Core Tweaks plugin...
albioner
Member
Posted 1 year ago #
The index.php file in my custom WP theme used the query_posts() function to build a loop. I discovered elsewhere that the query_posts() function causes problems with certain global variables, and that the get_posts() function apparently does the same thing without messing up the global variables. Making this small change allowed All-in-One SEO plugin to correctly write the Front-Page title (after several hours of frustrating research). Hope this helps others resolve this problem with the most critical part of the plugin.
Wish I'd found this post earlier, but just to confirm that arenddeboer's solution worked, I made sure wp_title() was above wp_head() and it started working.
seriousthings
Member
Posted 1 year ago #
@Ammer and cyber, did you find any fixes to the <? ob_start("ob_gzhandler"); ?> issue? I'm having the same challenges. Meta desc and keywords work.. No go on the Title.
Thanks