Categories
Digital Marketing

Announcing the Adobe Digital Experience Partner of the Year Awards

https://theblog.adobe.com/announcing-the-adobe-digital-experience-partner-of-the-year-awards/

Categories
2020 Yoast SEO with WordPress Guide

Simplify Author url with edit author plugin

Categories
2020 Yoast SEO with WordPress Guide ShoppreParcels.com

Yoast Breadcrumbs to Improve Search Appearance

Categories
2020 Yoast SEO with WordPress Guide

SEO Optimization with Yoast & WordPress

1. Writing Details in WordPress Category and Remove Category from URL and Heading

  • Install yoast seo plugin
  • Goto SEO -> Search Appearance -> Taxonomy
  • Remove category from URL and Save

Follow https://stackoverflow.com/questions/50822436/remove-category-from-header-title-on-category-pages-in-wordpress

2. Writing Content in Category page

  • Add one image for category
    • Keep image name relevant to seo keywords or article title
    • Write alt text, title, caption and description relevant to seo keywords

Make WhatsApp, FB, Twitter sharing friendly

  • In above image, if you like to see image in preview use same image width and height

For more seo optimization, follow yoast instructions

Nikkitha Shanker from Bangalore

//Author URI: http://stephanis.info

add_filter( 'the_content', 'add_ids_to_header_tags' );
function add_ids_to_header_tags( $content ) {

    $pattern = '#(?P<full_tag><(?P<tag_name>h\d)(?P<tag_extra>[^>]*)>(?P<tag_contents>[^<]*)</h\d>)#i';
    if ( preg_match_all( $pattern, $content, $matches, PREG_SET_ORDER ) ) {
        $find = array();
        $replace = array();
        foreach( $matches as $match ) {
            if ( strlen( $match['tag_extra'] ) && false !== stripos( $match['tag_extra'], 'id=' ) ) {
                continue;
            }
            $find[]    = $match['full_tag'];
            $id        = sanitize_title( $match['tag_contents'] );
            $id_attr   = sprintf( ' id="%s"', $id );
            $replace[] = sprintf( '<%1$s%2$s%3$s>%4$s</%1$s>', $match['tag_name'], $match['tag_extra'], $id_attr, $match['tag_contents']);
        }
        $content = str_replace( $find, $replace, $content );
    }
    return $content;
}

https://wordpress.stackexchange.com/questions/94663/dynamically-add-id-to-heading-tags

https://wordpress.org/support/topic/increase-headers-h1-h2-h3etc-as-needed/