• I am trying to optimise my customer’s site for search engines and no matter what I do I cannot get Google (or any search engine) to reflect my settings, Google seems to be ignoring the crucial information in the “title” and “head” tags plus any settings in the various SEO plugins I have tried.

    In fact the customer’s website itself even seems unable to correctly reflect the site’s title, instead of “SITE NAME | SITE DESCRIPTION” that should be in the browser’s title bar it only shows the SITE NAME and ignores the separator and SITE DESCRIPTION that should follow.

    I did manage to get the title bar to correctly show “SITE NAME | SITE DESCRIPTION” by completely replacing the default code in the “title” tag, but I have now restored that to the purchased theme’s default code for the purpose of submitting this issue.

    I urgently need to put SEO in place for this customer’s website but no matter what I try the site’s title still appears in Google as just the URL with no description.

    I can’t be certain, but I have the strong feeling that this issue may have some root in something I noticed was broken in the theme when I first bought it and installed it. I’m not sure of the extent of the issue, but at the top of the main stylesheet the “Theme Name” just says “WordPress Theme Number” rather than the actual theme’s number, this is also reflected in how the theme is displayed/named in the “Themes” panel and also the dropdown list in the “Editor” panel.

    Instead of the theme being named “theme1359” where it should be, it is instead called “WordPress Theme Number”. When I tried to change this in the stylesheet to the correct theme number, my customer’s site completely broke down and some aspects of it reverted to the default appearance of the original purchased theme.

    I find it hard to believe that this issue isn’t somehow related to the issue I am seeking help for. I submitted a ticket to Template Monster and they are shirking any responsibility for the problem citing it as a WordPress “engine” issue. I have trouble believing that given I have half a dozen other WordPress sites on my plate at the moment which aren’t experiencing this problem.

    The site URL is: https://www.bagatellabitumen.com

    If you search “Bagatella Bitumen” on Google you’ll see that the search listing is completely devoid of any SEO.

    Happy to provide whatever info is needed to get this problem resolved. Below is some of the opening code in from “header.php”, as you’ll see one of the meta tags isn’t closed, for starters:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<title><?php if ( is_category() ) {
    		echo 'Category Archive for &quot;'; single_cat_title(); echo '&quot; | '; bloginfo( 'name' );
    	} elseif ( is_tag() ) {
    		echo 'Tag Archive for &quot;'; single_tag_title(); echo '&quot; | '; bloginfo( 'name' );
    	} elseif ( is_archive() ) {
    		wp_title(''); echo ' Archive | '; bloginfo( 'name' );
    	} elseif ( is_search() ) {
    		echo 'Search for &quot;'.wp_specialchars($s).'&quot; | '; bloginfo( 'name' );
    	} elseif ( is_home() ) {
    		bloginfo( 'name' ); echo ' | '; bloginfo( 'description' );
    	}  elseif ( is_404() ) {
    		echo 'Error 404 Not Found | '; bloginfo( 'name' );
    	} elseif ( is_single() ) {
    		wp_title('');
    	} else {
    		echo wp_title( ' | ', false, right ); bloginfo( 'name' );
    	} ?></title>
      <meta name="viewport" content="width=device-width,initial-scale=1">
    	<meta name="description" content="<?php wp_title(); echo ' | '; bloginfo( 'description' ); ?>" />
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    	<link rel="profile" href="https://gmpg.org/xfn/11" />
      <link rel="icon" href="<?php bloginfo( 'template_url' ); ?>/favicon.ico" type="image/x-icon" />
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    	<link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ); ?>" href="<?php bloginfo( 'rss2_url' ); ?>" />
    	<link rel="alternate" type="application/atom+xml" title="<?php bloginfo( 'name' ); ?>" href="<?php bloginfo( 'atom_url' ); ?>" />
Viewing 8 replies - 1 through 8 (of 8 total)
  • In your theme, first of all get rid of the duplicate at the top:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>

    You only need that once, i.e:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>

    Then change

    <title><?php if ( is_category() ) {
    		echo 'Category Archive for &quot;'; single_cat_title(); echo '&quot; | '; bloginfo( 'name' );
    	} elseif ( is_tag() ) {
    		echo 'Tag Archive for &quot;'; single_tag_title(); echo '&quot; | '; bloginfo( 'name' );
    	} elseif ( is_archive() ) {
    		wp_title(''); echo ' Archive | '; bloginfo( 'name' );
    	} elseif ( is_search() ) {
    		echo 'Search for &quot;'.wp_specialchars($s).'&quot; | '; bloginfo( 'name' );
    	} elseif ( is_home() ) {
    		bloginfo( 'name' ); echo ' | '; bloginfo( 'description' );
    	}  elseif ( is_404() ) {
    		echo 'Error 404 Not Found | '; bloginfo( 'name' );
    	} elseif ( is_single() ) {
    		wp_title('');
    	} else {
    		echo wp_title( ' | ', false, right ); bloginfo( 'name' );
    	} ?></title>

    to simply:
    <title><?php wp_title();?></title>

    Install WordPress SEO by yoast and optimize your titles – https://www.ads-software.com/extend/plugins/wordpress-seo/

    You only need that once, i.e:

    Apparently, some folks are asking that the <html> tag is theirs..ask Facebook. It is causing issues with the conditional tags now used…

    Thread Starter nicolethompson8

    (@nicolethompson8)

    Thanks guys, I very much appreciate your replies.

    Sorry Swanson, I don’t follow what you’re saying.

    I made your suggested change Christine, thanks, which then caused the title bar in my browser to read “www.bagatellabitumen.com” instead of at least the “Bagatella Bitumen” it was reading before.

    I already had Yoast’s SEO installed so I activated it again and now the title bar reads correctly, but my search results in Google still aren’t great, the main site still displays as the URL with no description. The ‘Home’ page also isn’t recognised at all in Google, yet the ‘About’ page and two of my galleries are.

    Any thoughts?

    I am still concerned though that without the Yoast plugin activated the theme is still essentially broken and not recognising the very basic essential “head” tag functions.

    Does the broken theme name issue not play into this? It bothers me that if I change the words “WordPress Theme Number” in the stylesheet to correctly read “theme1359” that the whole theme breaks….?

    Including the entire “head” tag below:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
    	<title><?php wp_title(); ?></title>
      	<meta name="viewport" content="width=device-width,initial-scale=1">
    	<meta name="description" content="<?php wp_title(); echo ' | '; bloginfo( 'description' ); ?>" />
    	<meta charset="<?php bloginfo( 'charset' ); ?>" />
    	<link rel="profile" href="https://gmpg.org/xfn/11" />
      <link rel="icon" href="<?php bloginfo( 'template_url' ); ?>/favicon.ico" type="image/x-icon" />
    	<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    	<link rel="alternate" type="application/rss+xml" title="<?php bloginfo( 'name' ); ?>" href="<?php bloginfo( 'rss2_url' ); ?>" />
    	<link rel="alternate" type="application/atom+xml" title="<?php bloginfo( 'name' ); ?>" href="<?php bloginfo( 'atom_url' ); ?>" />
    	<!-- The HTML5 Shim is required for older browsers, mainly older versions IE -->
    	<!--[if lt IE 9]>
    		<script src="https://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    	<![endif]-->
       <!--[if lt IE 7]>
         <div style=' clear: both; text-align:center; position: relative;'>
           <a href="https://windows.microsoft.com/en-US/internet-explorer/products/ie/home?ocid=ie6_countdown_bannercode">
             <img src="https://storage.ie6countdown.com/assets/100/images/banners/warning_bar_0000_us.jpg" border="0" height="42" width="820" alt="You are using an outdated browser. For a faster, safer browsing experience, upgrade for free today." />
          </a>
        </div>
       <![endif]-->
      <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/normalize.css" />
    	<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
      <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/prettyPhoto.css" />
      <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/css/grid.css" />
      <link href='https://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>
      <link href='https://fonts.googleapis.com/css?family=PT+Sans:700' rel='stylesheet' type='text/css'>
      <link href='https://fonts.googleapis.com/css?family=PT+Sans+Narrow:700' rel='stylesheet' type='text/css'>
    	<?php
    		/* We add some JavaScript to pages with the comment form
    		 * to support sites with threaded comments (when in use).
    		 */
    		if ( is_singular() && get_option( 'thread_comments' ) )
    			wp_enqueue_script( 'comment-reply' );
    
    		/* Always have wp_head() just before the closing </head>
    		 * tag of your theme, or you will break many plugins, which
    		 * generally use this hook to add elements to <head> such
    		 * as styles, scripts, and meta tags.
    		 */
    		wp_head();
    	?>
      <!--[if lt IE 9]>
      <style type="text/css">
        .border {
          behavior:url(<?php bloginfo('stylesheet_directory'); ?>/PIE.php)
          }
      </style>
      <![endif]-->
    
      <script type="text/javascript">
      	// initialise plugins
    		jQuery(function(){
    			// main navigation init
    			jQuery('ul.sf-menu').superfish({
    				delay:       <?php echo of_get_option('sf_delay'); ?>, 		// one second delay on mouseout
    				animation:   {opacity:'<?php echo of_get_option('sf_f_animation'); ?>',height:'<?php echo of_get_option('sf_sl_animation'); ?>'}, // fade-in and slide-down animation
    				speed:       '<?php echo of_get_option('sf_speed'); ?>',  // faster animation speed
    				autoArrows:  <?php echo of_get_option('sf_arrows'); ?>,   // generation of arrow mark-up (for submenu)
    				dropShadows: <?php echo of_get_option('sf_shadows'); ?>   // drop shadows (for submenu)
    			});
    
    			// prettyphoto init
    			jQuery("a[rel^='prettyPhoto']").prettyPhoto({
    				animation_speed:'normal',
    				theme:'facebook',
    				slideshow:5000,
    				autoplay_slideshow: false
    			});
    
    			// easyTooltip init
    			jQuery("a.tooltip, .social-networks li a").easyTooltip();
    
    			//
    			jQuery(".footer-area-1 ul li:even").addClass("even");
    
    		});
    
    		// Init for audiojs
    		audiojs.events.ready(function() {
    			var as = audiojs.createAll();
    		});
    
          jQuery(document).ready(function(){
             jQuery('#slider-code').tinycarousel();
          });
    
      </script>
    
    	<script type="text/javascript">
          jQuery(document).ready(function() {
    			jQuery("#slider").hover(function(){
    			  jQuery(this).find(".nivo-caption").stop().animate({right: "0"}, 700 );
    			},function(){
    			  jQuery(this).find(".nivo-caption").stop().animate({right: "-294"}, 700 );
    			});
          });
       </script>
    
      <script type="text/javascript">
    		jQuery(window).load(function() {
    			// nivoslider init
    			jQuery('#slider').nivoSlider({
    				effect: '<?php echo of_get_option('sl_effect'); ?>',
    				slices:<?php echo of_get_option('sl_slices'); ?>,
    				boxCols:<?php echo of_get_option('sl_box_columns'); ?>,
    				boxRows:<?php echo of_get_option('sl_box_rows'); ?>,
    				animSpeed:<?php echo of_get_option('sl_animation_speed'); ?>,
    				pauseTime:<?php echo of_get_option('sl_pausetime'); ?>,
    				directionNav:<?php echo of_get_option('sl_dir_nav'); ?>,
    				directionNavHide:<?php echo of_get_option('sl_dir_nav_hide'); ?>,
    				controlNav:<?php echo of_get_option('sl_control_nav'); ?>,
    				captionOpacity:<?php $sl_caption_opacity = of_get_option('sl_caption_opacity'); if ($sl_caption_opacity != '') { echo of_get_option('sl_caption_opacity'); } else { echo '0'; } ?>
    			});
    		});
    	</script>
      <!-- Custom CSS -->
    	<?php if(of_get_option('custom_css') != ''){?>
      <style type="text/css">
      	<?php echo of_get_option('custom_css' ) ?>
      </style>
      <?php }?>
    
      <style type="text/css">
    		/* Body styling options */
    		<?php $background = of_get_option('body_background');
    			if ($background != '') {
    				if ($background['image'] != '') {
    					echo 'body { background-image:url('.$background['image']. '); background-repeat:'.$background['repeat'].'; background-position:'.$background['position'].';  background-attachment:'.$background['attachment'].'; }';
    				}
    				if($background['color'] != '') {
    					echo 'body { background-color:'.$background['color']. '}';
    				}
    			};
    		?>
    
      	/* Header styling options */
    		<?php $header_styling = of_get_option('header_color');
    			if($header_styling != '') {
    				echo '#header {background-color:'.$header_styling.'}';
    			}
    		?>
    
    		/* Links and buttons color */
    		<?php $links_styling = of_get_option('links_color');
    			if($links_styling) {
    				echo 'a{color:'.$links_styling.'}';
    				echo '.button {background:'.$links_styling.'}';
    			}
    		?>
    
    		/* Body typography */
    		<?php $body_typography = of_get_option('body_typography');
    			if($body_typography) {
    				echo 'body {font-family:'.$body_typography['face'].'; color:'.$body_typography['color'].'}';
    				echo '#main {font-size:'.$body_typography['size'].'; font-style:'.$body_typography['style'].';}';
    			}
    		?>
      </style>
    </head>

    These are some of my personal suggestions.

    There is no keyword Meta tag. Create and try to include up to 4 or 5 of your main keywords/ phrases

    Your title tag contains only Bagatella Bitumen (17 characters). Try to expand it by including your main keywords (up to 80 characters).
    Description tag contains irrelevant info for the page – Family Owned & Run Since 1991 (32 ch, too short, the minimum number of characters recommend is 50), make it relevant to your page by including your main keywords (up to 200 characters). The relevancy to the page is POOR.
    Page load time is 4 seconds for only 13949 bytes; reduce it to less than 2 seconds.

    Keywords found in the Anchor tags are poorly selected and irrelevant: view (5 times), bagatella bitumen (2, GOOD selection), services ( 1, use a relevant one of up to 4 words), Contact (1), Visit services section ( 1), Visit about section (1), Contact us now (1), gallery (1), About (1), nicole thompson (1), home ( 1) – mostly of no SEO benefits.

    Keywords in IMG Alt tags are also suffering from poor selection with reference to your page: airport project 01 (1), commercial project 07 (1), rural project 02 (1), bagatella equipment 04 (1), bagatella bitumen (1), sub-division project 03 (1) – some are good some are irrelevant.

    Try them, if you feel they can help you.

    Thread Starter nicolethompson8

    (@nicolethompson8)

    Thanks Krisha, I’m super grateful for this advice. I did have a keywords meta tag in there at one point but I removed it and went back to the default code that came with the theme for the purposes of posting this issue.

    I will most definitely be putting all of your instructions to good use once I reactivate Yoast’s SEO plugin.

    Do you have any advice on the titling breakdown though? I would like to fix this problem without any SEO plugin activated as these issues are a problem within the site itself without even getting to the search engine issues.

    In addition to the “SITE NAME | DESCRIPTION” not showing properly in the browser’s title bar without an SEO plugin activated, I’ve also noticed that this impacts on the title bar when viewing pages. i.e. instead of it saying “SITE NAME >> PAGE NAME” it only says “>> PAGE NAME”.

    There is definitely a bigger issue than the SEO problems.

    @nicolethompson8,
    What I wrote above is my own personal suggestions, based on several guidelines which cannot be discussed here.

    This is not an SEO forum. I suggest you visit some SEO forums where you can get better opinion.

    I gave only some of the parameters I use with which I have found good results. I do not use SEO plugins, though there can be some coming bundled with themes, etc. If I find them not giving good results, I disable or remove them.

    Most people go by Google’s guidelines. No body can know their Algorithms, as they are never made public. Google does not care about most of the meta tags or keywords, but draw up the required info from your content. But it helps to keep these tags, as I find that wherever they are relevant, they appear in SERPs.

    Sorry post doesnt belong here according to original post starter.

    Thread Starter nicolethompson8

    (@nicolethompson8)

    Buddy your issue is different from mine, could you please create your own post elsewhere and not hijack my thread with an issue that is nothing like mine?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘SEO Issues’ is closed to new replies.