• Resolved ZaddKeefer

    (@zaddkeefer)


    Hey,
    I am having trouble with displaying the meta description as what I have in my All in one SEO plugin. Everything is changing as it should, except my meta description, anyway to overwrite my “custom” meta description, and what should I change the meta description code to, so it works with the plugin?

    Thanks in advance, much appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    You don’t provide a lot of detail about your specific issue, but you can have a look at our documentation here on why your title/description may not always show up the way you want in Google.

    https://semperplugins.com/documentation/why-doesnt-the-title-and-description-i-set-appear-in-search-results/

    Thread Starter ZaddKeefer

    (@zaddkeefer)

    My problem is it’s not overwriting my meta description as I explained.

    <meta name="description" content="<?php if ( is_single() ) {
            single_post_title('', true); 
        } else {
            bloginfo('name'); echo " - "; bloginfo('description');
        }
        ?>" />

    This is my code, the plugin does not overwrite my custom php code for meta description. in the plugin field under “Description Format” I put in “%post_title% Specific Tips and Creations %description%”, I have inspected my website and on my post pages, it does not echo out the seo description I have made in the plugin.

    • This reply was modified 5 years, 10 months ago by ZaddKeefer.
    • This reply was modified 5 years, 10 months ago by ZaddKeefer.
    • This reply was modified 5 years, 10 months ago by ZaddKeefer.
    Michael Torbert

    (@hallsofmontezuma)

    WordPress Virtuoso

    First of all, you didn’t explain anything. Vague references to code you’ve written are not an explanation, and you can’t reasonably expect that I’m able to know what you’ve done on your website.

    Second, that isn’t how AIOSEOP works. It doesn’t overwrite an existing meta description. It adds it into your theme in the wp_head action hook.

    Thread Starter ZaddKeefer

    (@zaddkeefer)

    Well there isn’t much to explain beside what I am telling you.
    I installed your plugin, activated it and done everything it told me to do. Titles is being dynamic with the plugin, but my meta description is not.
    All I have done on my website (before I used this plugin) was having a custom meta description, which wasn’t really what I wanted.
    Installed the plugin to have a more dynamic meta description, but I don’t know what’s wrong with my <head> since my site is not using the plugin.
    Should I remove the meta description tag, so the plugin can add it automatically.

    I am very bad explaining it in english, sorry.

    Thread Starter ZaddKeefer

    (@zaddkeefer)

    I figured what was the problem, sorry for the inconvinenence.
    I forgot to add wp_head();
    The function that fetch plugin data

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HELP! Meta Description is not overwrited by All in One SEO’ is closed to new replies.