Question Locked

Page Redirect issue

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Google Search Console is telling me that a page of my website is not being indexed because it is a page with a redirect. Trying to figure out if this is something I need to fix or not (I'm a real newbie). The page that it's not indexing is my homepage, with the https:// at that start of it. When I type in my whole homepage into the url bar (with the https://), I can see it redirect to the the url that's just the name of my homepage and .com (ie "homepage.com" instead of "https://www.homepage.com"). Obviously I want my homepage indexed, but I'm too much of a novice to figure out if there's something else going on here or if I should just request that Google index the page with the redirect. HELP?!

5 replies

by ah2k786 edited

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

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

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

When a website doesn't load as expected and frequently directs viewers to another page, it has a page redirect problem. It can be because of cache issues, server settings, or malicious intent.

by bestpickleballs edited

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.