Best Practice for Redirecting Homepage and Google Search Indexing

[ad_1]

Hi,

I’m looking for some help.

I’ve recently had a WordPress website built for me, and I’ve gone through the process of adding my sitemaps to the Google Search Console. The Google SC results are coming back and saying my www. webpage isn’t currently being indexed as it has a redirect in place.

I spoke with the chap who built the site and he said that there isn’t a redirect anywhere on the page. He suggested that it might be to do with the domain/DNS records.

The root of my domain has an A record that points traffic to the web server IP, and I’ve also got a www. A record that does the same. Looking online, I understand this might not be best practice.

Is anyone able to offer insight as to why the page isn’t being indexed due to a redirect, and how I go about fixing it?

Thank you.

[ad_2]
1 Comment
  1. If you want your site to use www, then you need to have in your DNS records a CNAME record that points to your A record – usually it’ll look like CNAME ‘www’ @.

    These days I rarely use ‘www’ for new sites – there’s just no need for it – but it won’t make any difference to your SEO. You just need to make sure that whatever you go with is consistent across the site. Having a mixture of different urls (non-www/www) will negatively impact your SEO – but that is easily fixed by running a find/replace script like “Better Search Replace” plugin.

    What happens when you go to [https://yoursite.com]) and [https://www.yoursite.com](https://www.yoursite.com)? And what do you have you set in your WP Settings page for the website URLs?

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer