5 replies
by ah2k786 edited Accepted solution
Have you inserted a sitemap.xml and robot.txt file in your wordpress Cpanel's website main directory?
Here are some additional tips for fixing this issue:
-Make sure that your homepage is accessible via both HTTP and HTTPS.
-Use a canonical tag to tell Google which version of your homepage is the preferred version.
-Avoid using redirects on important pages, such as your homepage.
by ah2k786 edited Accepted solution
Here I have found somehting Try this
Yes, you need to fix this issue. Google does not index pages with redirects. This is because redirects can cause problems for users and for Google's crawlers.
In your case, the redirect is happening because you have configured your website to redirect from the HTTPS version of your homepage to the HTTP version. This is a common mistake, but it is one that you need to fix if you want your homepage to be indexed by Google.
To fix this issue, you need to remove the redirect from your website. You can do this by editing your .htaccess file or by using a plugin for your CMS.
Once you have removed the redirect, you need to submit your homepage to Google Search Console again. Google will then crawl your homepage and index it.
by rebharris156 Accepted solution
Thank you! I've accessed my .htaccess file, and here's what I'm seeing:
# BEGIN HTTPS Forced Redirect
# The directives (lines) between "BEGIN HTTPS Forced Redirect" and
# "END HTTPS Forced Redirect" are dynamically generated, and should
# only be modified via the filters. Any changes to the directives between
# these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</IfModule>
# END HTTPS Forced Redirect
Any thoughts on what I should do here? If I'm reading it right, it sounds like any changes I make will be overwritten anyway?
by marrywillson edited Accepted solution
by bestpickleballs edited Accepted solution
You're facing a common issue where your homepage URL with "https://" is redirecting to a simpler version, and Google's not indexing it. Don't fret; it's fixable!
Interestingly, I know a website that faced the same issue and managed to resolve it. Here's a quick guide inspired by their success:
Request Google to Index the Redirected URL: If your homepage is redirecting to a cleaner URL, ask Google to index that one.
Check the Redirect Type: Consult with a web developer to ensure the redirect is set up correctly. Different types of redirects have different effects on indexing.
Consider Removing the Redirect: If it's not necessary, you might want to remove it, but be cautious not to break anything else on your site.
Your homepage is vital, so getting it indexed is like turning the lights on in your store. Follow these steps, and you'll be on the right track. If you need more help, don't hesitate to reach out to a web developer or SEO expert. Good luck! 🌟
Note: link to the website mentioned removed by moderator.
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending