Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter ciloboston

    (@ciloboston)

    Sorry for the delay. This had to take a back seat for a bit.
    For SEO purposes, I need the site title & title tag to exist.

    The problem is they are redundant as my logo incorporates the company name and tag line.
    I have tried the hide site title plug in (doesn’t work) and in order to maintain my header size, consistency and logo I have had to delete my site title and title tag which solves my initial problem but hurts my SEO. Looking for a work around that would allow search engines to index my site title and title tag without displaying it on my header of my site.

    Thread Starter ciloboston

    (@ciloboston)

    Thanks… Im truly new to code so forgive me if this is the wrong ( or excess) info

    <?php
    /**
     * The header for Astra Theme.
     *
     * This is the template that displays all of the <head> section and everything up until <div id="content">
     *
     * @link https://developer.www.ads-software.com/themes/basics/template-files/#template-partials
     *
     * @package Astra
     * @since 1.0.0
     */
    
    if ( ! defined( 'ABSPATH' ) ) {
    	exit; // Exit if accessed directly.
    }
    
    ?><!DOCTYPE html>
    <?php astra_html_before(); ?>
    <html <?php language_attributes(); ?>>
    <head>
    <?php astra_head_top(); ?>
    <meta charset="<?php bloginfo( 'charset' ); ?>">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="profile" href="https://gmpg.org/xfn/11">
    
    <?php wp_head(); ?>
    <?php astra_head_bottom(); ?>
    </head>
    
    <body <?php astra_schema_body(); ?> <?php body_class(); ?>>
    <?php astra_body_top(); ?>
    <?php wp_body_open(); ?>
    <div 
    <?php
    	echo astra_attr(
    		'site',
    		array(
    			'id'    => 'page',
    			'class' => 'hfeed site',
    		)
    	);
    	?>
    >
    	<a href="#content"><?php echo esc_html( astra_default_strings( 'string-header-skip-link', false ) ); ?></a>
    	<?php 
    	astra_header_before(); 
    
    	astra_header(); 
    
    	astra_header_after();
    
    	astra_content_before(); 
    	?>
    	<div id="content" class="site-content">
    		<div class="ast-container">
    		<?php astra_content_top(); ?>
    Thread Starter ciloboston

    (@ciloboston)

    thanks will do

    If you google the error message you will discover a number of possible reasons for it. In the meantime, you most likely will be able to access using icognito mode

Viewing 4 replies - 1 through 4 (of 4 total)