WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Appending of numbers to title (44 posts)

  1. Chris Blackwell
    Member
    Posted 1 year ago #

    Often times I'm getting a dash and numbers applied to my Title under home. I'll go back to the Index settings, and see this appended to title %%sitename%% - %%sitedesc%% - 12345

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. sturtos
    Member
    Posted 1 year ago #

    I'm having the same problem. 12345 in site title. I deactivated, installed pro and reactivated and it's still there.

    The Titles & Metas page is blank... any ideas?

  3. Joost de Valk
    Member
    Plugin Author

    Posted 1 year ago #

    Hmm that's a result of the titles check functionality.... Let me see what could be causing that.

  4. gravymatt
    Member
    Posted 1 year ago #

    Yeah, we have an index/homepage that came with the wordpress template that is not a post or page and it pulls in the 12345 on the page title, because it is not set by WordPress SEO by Yoast

  5. sturtos
    Member
    Posted 1 year ago #

    Mine is also an odd homepage in that it is built using Genesis widgets, it isn't a static page...

  6. RichardWantsToKnow
    Member
    Posted 1 year ago #

    A day, and still no answer.
    It doesn't make any difference what theme you are using.

  7. RichardWantsToKnow
    Member
    Posted 1 year ago #

    If you deactivate WPSEO the two spaces and five digit don't show up any longer (not to say they still aren't in some file in the site somewhere...); and they are replaced by a space and vertical bar, which is obviously still in some file somewhere on the site.

  8. sturtos
    Member
    Posted 1 year ago #

    Richard - I also noticed that deactivating the plug-in corrects the title. Unfortunately I've spent so much time configuring the plug-in I'd really like to be able to use it! If this isn't resolved soon though I'm going to have to go with another solution.... :(

  9. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @graymatt,
    Why do you say it is not set by WP SEO???
    I disagree. You turn off WP SEO and it appears to go away, and leaving a remnant.
    In my opinion, it appears that WPSEO is what is causing it.

  10. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @sturtos,
    I moved over to another this afternoon. I've pretty much wasted the better part of a day that was already set aside for another site project. It's bad enough working six days/wk for 10 hours each, but having to do a seventh is not what I had in mind. It would be different if it was a one-off occurrence, but it appears there are a number of us with the same problem. I don't understand why a solution hasn't been offered yet. And I am wondering if bits will be left behind in the files.

  11. sturtos
    Member
    Posted 1 year ago #

    Richard - I think that gravymatt meant that it wasn't set by the plug-in because our homepages aren't actual pages or posts; it must be pulling from somewhere else in the program.

    I don't have any kind of home document that I can edit the title in, I think that's what gravymatt is dealing with too. Is your homepage an actual page?

    I'll probably end up using the built in Genesis SEO since I built my site on that platform.

  12. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @sturtos,
    Yes, we use a post on one and a page on another. (If you are running WordPress, I'm not sure how you can run anything but either. You can set a page to be static.)
    It's my understanding that when you set up a WordPress site, you enter the site name into the Settings/General page, which in turn loads that information along with the other bits into one of the database tables; and that the browser tab gets it's information from the database. I can only guess that the WP SEO either creates a new datum for the database and re-directs to it; or, edits the existing information the author entered into the Settings.
    I could be wrong but that's my understanding.

  13. John Levandowski
    Member
    Posted 1 year ago #

    @yoast

    The issue is in the file wpseo-non-ajax-functions.php line number 290

    $options['title-home'] = '%%sitename%% - %%sitedesc%% - 12345';

  14. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @yoast,
    Okay.... Would you care to tell us what the problem is? And the appropriate way to fix it? Is what you quoted in the line beginning with "$options", is that what it is or what we should change it to???
    Obviously, we didn't write the code so I really don't want to compound the problem by making some assumptions and taking the wrong action.
    So, could you elaborate please?

  15. RichardWantsToKnow
    Member
    Posted 1 year ago #

    I'm spitballing here, and probably making incorrect assumptions, but I would guess the two dashes and the digits come from a lack of a site description. However if there was a site description, I see no reason the dashes and the digits wouldn't still show up; which, is still unacceptable. Not to mention, when we turn off the Yoast product, the "- - 12345" is replaced by " |", which is also unacceptable. And you haven't explained where that comes from.....
    So, do we just delete one line of code? (Which seems a rather strange coding practice; and more like a band-aid over a larger issue. Just wondering.....)

  16. RichardWantsToKnow
    Member
    Posted 1 year ago #

    Found that file under wordpress-seo/inc; but no trace of the line of code you quoted in the file. The date of the file is 1/12/2012; and there are a total of 189 lines of code in the file according to cPanel Code Editor.

    Can you confirm the directory you found it in and the version/date of the file??

  17. mssbee
    Member
    Posted 1 year ago #

    This is a problem when using the default mode title. Has anyone else tried simply deleting the numbers and then saving your changes? This worked for me.

    Also this happened using a fresh install of WP and running the TwentyTen theme stock - no special home page.

  18. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @mssbee,
    Did you arrive at a solution?
    Elaborate please. By "using the default mode title", are you referring to in Yoast, or somewhere else.
    Please expand on the individual steps you took and the results you gained, and if they solved it completely.
    Thanks in advance.

  19. mssbee
    Member
    Posted 1 year ago #

    Yes, I think this a fix until it is updated. Why I wrote default title setting was because I was using a fresh install of WP and the Yoast Plugin so all the plugin settings were at default.

    I noted that the Home Page title template was written as:
    %%sitename%% - %%sitedesc%% - 12345

    I deleted the -12345 and saved my settings and all was well - no more numbers on the title.

    %%sitename%% - %%sitedesc%%

    Also of note, I had previously customized Home Page title template on my other sites and they went through the update fine. My one site that I was using:
    %%sitename%% - %%sitedesc%%
    had to be corrected after the update as the numbers were added to the title.

  20. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @mssbee,
    Just tried that. Not a solution.

    (Bear in mind, turning off the WPSEO before turning on the replacement SEO package did not solve the problem.)

    We turned the WPSEO plugin back on after turning off the replacement.

    Then, if we delete everything beyond %%sitename%% under the WPSEO Titles & Meta/Home/Title Template, the browser tab for the site shows the sitename twic,e with a vertical bar in between the two iterations of the name. If we delete it all of the content in the WPSEO Titles & Meta/Home/Title Template the vertical bar still persists.

    I can only wonder what is also inappropriate with regard to the site name, such as how are the search engines seeing the identity? Since there really isn't any quality documentation, I can only wonder.

  21. RichardWantsToKnow
    Member
    Posted 1 year ago #

    Let me read your last response. That one and my last seemed to have crossed, maybe out of sync.

  22. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @mssbee,
    I wish I had the same results. Unfortunately not. (See me second to last post.) There still remains an issue with a persistant vertical bar.

    If only people would be responsible in writing adequate documenation.

  23. RichardWantsToKnow
    Member
    Posted 1 year ago #

    Even with the Title Template empty, there still remains "oursitename - | oursitename".
    There's something new in the plugin that is tossing something.
    Love losing a day and a half of billable time, especially over a weekend. A real kick in the pants for Father's Day.

  24. John Levandowski
    Member
    Posted 1 year ago #

    Have you followed the instructions at http://wordpress.org/extend/plugins/wordpress-seo/faq/ regarding "The SEO title output for the plugin doesn't work as expected"

  25. RichardWantsToKnow
    Member
    Posted 1 year ago #

    Looks like I will have to rebuild some sites from scratch. The author's response has been less than expected in my opinion.

    It appears the new version of the plugin might leave remnants. Could look for them, but probably easier to rebuild and not install the plugin from the get-go.

    Thanks for the help of mssbee and JohnL.

  26. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @John,
    Let me look at it for a couple of minutes. Be back soon.
    Thanks,

  27. mssbee
    Member
    Posted 1 year ago #

    I notice you have sitename twice. If your theme is using anything other than <title><?php wp_title(''); ?></title> in the title section of header.php you will get double titles with a | separator bar. To stop this you either check Force Rewrite of titles on the General Page of Titles and Meta or modify your theme.

    This use to be explained in the previous version of the plugin and I hope it comes back.

  28. mssbee
    Member
    Posted 1 year ago #

    Just got a response from Yoast, and the number issue will be fixed in the next update. :)

  29. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @John,
    Give me a minute. The answer is a little long (and not good results).

  30. RichardWantsToKnow
    Member
    Posted 1 year ago #

    @John,
    Here is what appears to have happened or be happening.

    First, to answer your question (and it relates to mssbee's second to last post): No, the advice in the section, "The SEO title output for the plugin doesn't work as expected" did not work. (@mssbee, the forced rewrite did not work either. I'll keep the results to myself since the author of the plugin believes that since I didn't pay for his, as he calls it, "AND IT'S A FREE" plugin; I'll reciprocate and let him find out what I've discovered on his own. You can contact me offline if you wish.

    I made a back-up of the current header file of the theme on the site, and then made the change; and it was needed because it appears that the plugin made a number of massive changes to the file. After making the edit, saving, dumping my browser cache, and refreshing; the problem(s) persist. What I really don't like is the issue that we installed the current version of the plug-in when the WP dashboard indicated to us that we had updates that needed to be installed. (To maintain security, both for ourselves and the resources of our hosting provider, we stay on top of updates.) In five years of using WP, we have NEVER experienced such an update of a plugin or a theme that made such dramatic changes to a site; with the exception of two themes, which in both cases, either the author contacted us before hand and let us know that the upgrade had special requirements; or, the automatic update forewarned us of exigent conditions. Lesson learned. In this case, I believe we lost total control of the files affected, and not due to any intent of our own. (Commentary: I would hope that WP reviews their policies on updates, that if a plugin is allowed to be listed in the WP Plugin directory, besides offering a free version and not allowing ads to outside fee-based services, that they require some new conditions that plugins need to create a temp directory (ies) on a site and copy-and-paste copies of all files the update is going to change, so that if something goes wrong, a roll-back can be efficiently completed.)

    We have had a great relationship with the hosting company we use (four years) and I'll ask them to roll us back to pre-update. We have had a number of new users register in the interim, but we will backup and manually record them so as to not be irresponsible.

    So, if either of you have any other ideas, I'm open; but I think the roll-back to a point before the update, and then an uninstall and clean-up should work. There are plenty of great SEO experts we can utilize; and yes, just so the record is straight, we do actually pay for themes and plugins we find meet our needs. Thanks again for your help; it was and continues to be appreciated.

    Richard

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic