WordPress.org

Ready to get started?Download WordPress

Forums

Basic-SEO
[resolved] Add (14 posts)

  1. Trollkjeft
    Member
    Posted 3 years ago #

    I really liked the simplicity of you plugin Basic SEO, but it added a strange link on top of my <body> tag which read 'Continue Reading -> />', just as its code was flawed. Maybe I have the wrong setup, but I had to remove it sadly. If this is fixed, I'd be happy to try it again.

  2. jonbullock
    Member
    Plugin Author

    Posted 3 years ago #

    Glad you liked the simplicity of the plugin! :)

    It shouldn't have added that link really, could you supply me with a link to your site so I can see an example of the problem?

  3. Trollkjeft
    Member
    Posted 3 years ago #

    Actually, I can't recreate the problem I realize now. I installed it again and it seems to work now :) A question though, on my website, http://www.designbysvalander.com, the Page title is doubled in the browser window toplist. Is there anyway to avoid that, so it only reads 'design by svalander' once?

    Thanks for your quick reply!

  4. Trollkjeft
    Member
    Posted 3 years ago #

    No! It's back! Sorry... :( If you go to my page, at http://www.designbysvalander.com and further to Blog -> Tips in the top menu, and then press Continue Reading (the eye-catching pink button in the bottom right corner). Then the top black list containing the menu system is forced down with a broken html code snipet, saying '"/>'.

    I'll keep the error there until you respond, because I'd really like to know why this happens (in order to continue using your plugin).

    Also, if you could find out a solution on my question above, regarding the doubled site title, I'd be happy!

    Best regards and thanks for a good plugin!

    /Chris

  5. jonbullock
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Chris,

    I've tried accessing your site but all I get is the following error message:

    Fatal error: Call to undefined function get_header() in /customers/designbysvalander.com/designbysvalander.com/httpd.www/index.php on line 16

    If your seeing the title doubled up, make sure you only have wp_title() between the title html tags as seen below:

    <title><?php wp_title(); ?></title>

    Jon

  6. Trollkjeft
    Member
    Posted 3 years ago #

    Hi Jon,

    Sadly my web hotel is a mess at the moment and I'm trying to get through their customer support. But, if you look at my beta site (which also have your plugin) at http://portfolio.arahant.se/category/blog/ and press the pink button i the right bottom part of the page which reads 'Continue reading' you see the same error occur.

    When clicking on that button, the black menu and the page will jump down appr 50 px and a broken HTML link will appear in the top left corner. It reads "/>. DO you see it?

    Regards, Chris

  7. jonbullock
    Member
    Plugin Author

    Posted 3 years ago #

    Ah yes I see the problem. You have a link in your post excerpt which is causing the description metatag to be terminated prematurely. I'll add support for this in the plugin and push out a new version as soon as I can.

    Thanks for bringing this to my attention Chris. :)

  8. Trollkjeft
    Member
    Posted 3 years ago #

    Excellent (and no problems), I'm just happy to be able to help! I look forward to the plugin update! Also, did you see my question above regarding the double Site title? Is there any way to fix that? On my portfolio there, http://portfolio.arahant.se/category/blog/, it reads 'Arahant Visual DesignArahant Visual Design'. Do you see it?

    It's cosmetic, I know (unless the forced word comination becomes impossible to read for search engine bots), but as a designer I tend to get stuck on those things. Hope you understand.

    Good job and thanks for your quick reply!

    /C

  9. jonbullock
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Chris,

    To fix the duplicated title edit the header.php for your theme and make sure you only have wp_title() between the title html tags as seen below:

    <title><?php wp_title(); ?></title>

    Remove any other text from between the title html tags.

    Oh and I've released a new version of the plugin that should fix the other problem you were having. Let me know if you still have a problem.

    Jon

  10. Trollkjeft
    Member
    Posted 3 years ago #

    Excellent, thanks! About the title code: should I just remove all code that comes with WP 3.0 that is there by default?

    <title><?php
        /*
        * Print the <title> tag based on what is being viewed.
        */
        global $page, $paged;
        wp_title( '|', true, 'right' );
        // Add the blog name.
        bloginfo( 'name' );
        // Add the blog description for the home/front page.
        $site_description = get_bloginfo( 'description', 'display' );
        if ( $site_description && ( is_home() || is_front_page() ) )
            echo " | $site_description";
        // Add a page number if necessary:
        if ( $paged >= 2 || $page >= 2 )
            echo ' | ' . sprintf( __( 'Page %s', 'twentyten' ), max( $paged, $page ) );
        ?> </title>
  11. Trollkjeft
    Member
    Posted 3 years ago #

    Sorry if I am a bit tedious, I'm not that good at PHP. Would very much appreciate your help!

  12. jonbullock
    Member
    Plugin Author

    Posted 3 years ago #

    If you are using the Twentyten theme that comes with WordPress then yes remove the php code between the <title> tags and replace it with just:

    <?php wp_title(); ?>

  13. Trollkjeft
    Member
    Posted 3 years ago #

    Great Jon, it works fine now. Thanks!

  14. jonbullock
    Member
    Plugin Author

    Posted 3 years ago #

    Glad to hear it. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags