Post by OpenCustomer » Sun Nov 03, 2024 6:13 pm

I am seeing 'Page With Redirect' error in my Google Search Console warning there are total 26 pages in my site (including my main domain address) has not been indexed by Google search engine because of this error. Therefore, I lost my place in the search results :(

My OC version is 2.3.0.2

Can anyone please help me to identify that crucial problem?
Thanks

User avatar
New member

Posts

Joined
Mon Oct 26, 2015 2:43 am

Post by D3MO » Sun Nov 03, 2024 9:12 pm

It may be account pages that is the ones accessible when user is logged

Opencart Expert | voldemaras@gmail.com

Extensions for Opencart @ https://www.opencartextensions.eu / or Opencart Marketplace

Need Custom Module? debug third party module or simply have any question related to Opencart? feel free to contact directly for a live chat session:) - INSTANT LIVE CHAT


User avatar
Active Member

Posts

Joined
Mon Apr 04, 2011 6:57 am

Post by by mona » Sun Nov 03, 2024 11:02 pm

Please provide more details.
Check your htaccess
Your homepage for example should redirect depending on if it is https or http www or non www.
NOTE: Be careful with permanent redirects and temporary redirects when testing / making changes you are unsure about.

This is just general website information and nothing to do with Opencart itself.

Maybe you have an SEO module?
Maybe you have a redirect module?
Maybe you have some other modules or a theme doing some other stuff?

At present it is just a random question, but your host can give you assistance for htaccess and if it is related to modules or themes you can ask them.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by khnaz35 » Mon Nov 04, 2024 10:30 pm

OpenCustomer wrote:
Sun Nov 03, 2024 6:13 pm
Can anyone please help me to identify that crucial problem?
Thanks
Sure, provide more information related the errors or you can get paid support.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia

Post by OpenCustomer » Wed Nov 06, 2024 4:40 pm

This is my htaccess file (active lines only). I hope it helps to identify my problem.

Options +FollowSymlinks

# Prevent Directoy listing
Options -Indexes

# Prevent Direct Access to files
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
Require all denied
## For apache 2.2 and older, replace "Require all denied" with these two lines :
# Order deny,allow
# Deny from all
</FilesMatch>

# SEO URL Settings
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/

RewriteBase /
RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
RewriteRule ^system/download/(.*) index.php?route=error/not_found [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]

User avatar
New member

Posts

Joined
Mon Oct 26, 2015 2:43 am

Post by ADD Creative » Wed Nov 06, 2024 5:35 pm

It would be best to post some examples or the URLs that Google search console is reporting this for. Also inspect the URLs and post the User-declared canonical for each URL, as this is the page the redirect is to.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by OpenCustomer » Wed Nov 06, 2024 10:20 pm

google-console.jpg

google-console.jpg (76.74 KiB) Viewed 1766 times

ADD Creative wrote:
Wed Nov 06, 2024 5:35 pm
It would be best to post some examples or the URLs that Google search console is reporting this for. Also inspect the URLs and post the User-declared canonical for each URL, as this is the page the redirect is to.
I don't have any example. My site is running without an issue. The problem is only with the Google search console messages. It's preventing my site and pages from being indexed.

I made url inspections in question and got a green light from Google that they can be indexed. But still giving Page Redirect warning and validations failed.

That is how it is in the Google search console:
Last edited by OpenCustomer on Thu Nov 07, 2024 7:56 pm, edited 1 time in total.

User avatar
New member

Posts

Joined
Mon Oct 26, 2015 2:43 am

Post by by mona » Wed Nov 06, 2024 10:49 pm

These urls have https:///
This suggests that google is (correctly) not indexing those pages.
In addition google has indexed https://yoursite and you can check that easily yourself on google.

Basically your issue is that google has not indexed pages that should not be indexed and the only issue you really have is that you have a notification from google in the console to tell you that it is not indexing those pages because you have redirected them.
One must presume you have redirected a previous error of https:/// to https:// ?
Which is a non issue except for the fact that for some reason you have https:/// in the first place ?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by OpenCustomer » Thu Nov 07, 2024 2:08 am

by mona wrote:
Wed Nov 06, 2024 10:49 pm
These urls have https:///
This suggests that google is (correctly) not indexing those pages.
In addition google has indexed https://yoursite and you can check that easily yourself on google.

Basically your issue is that google has not indexed pages that should not be indexed and the only issue you really have is that you have a notification from google in the console to tell you that it is not indexing those pages because you have redirected them.
One must presume you have redirected a previous error of https:/// to https:// ?
Which is a non issue except for the fact that for some reason you have https:/// in the first place ?
Thank you for your response.

But, I am not good at such coding. I don't follow you.

I have no idea why there is the https:///. How can I fix it so that Google could index those pages?

User avatar
New member

Posts

Joined
Mon Oct 26, 2015 2:43 am

Post by by mona » Thu Nov 07, 2024 5:24 am

Those pages with https:/// are 404s - meaning they do not exist and should not be indexed.
https:/// is just wrong.
Those pages are redirected, so to assume someone who has worked on your site has been aware of making an error and redirected them to their correct location of https://

This is correct.
There is nothing to do with google telling you they have been redirected.
Google will not index those pages.
Those pages are not correct.
You will not get duplicate pages indexed.
Your site is indexed for example your homepage as per your original question IS INDEXED.
There is NO ISSUE with google indexing.
There is NO ISSUE with google logging the redirects.
There is NO ISSUE with these pages not being indexed.
These pages are CORRECT not to be indexed.

There is no issue with google indexing.

You need to be looking at what modification you have done that created the https:/// and check it has been fixed.
If you are not aware of it, then someone who has worked on your site must be, since they have gone to the trouble of redirected them.

There is not fix to something that is correct. There is no indexing of 404 pages. Google does not index duplicate pages either. Google is simply informing you that those pages are redirected. It is telling you with your green light that the correct pages are indexed.

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


https://www.youtube.com/watch?v=zXIxDoCRc84


User avatar
Expert Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by khnaz35 » Thu Nov 14, 2024 1:01 am

OpenCustomer wrote:
Thu Nov 07, 2024 2:08 am
But, I am not good at such coding. I don't follow you.

I have no idea why there is the https:///. How can I fix it so that Google could index those pages?
You could always post request into commercial section of the forum to get help with your issue or drop me email for fix.

Got an urgent question that’s keeping you up at night? There might just be a magical inbox ready to help: khnaz35@gmail.com
Enjoy nature ;) :) :-*


User avatar
Active Member

Posts

Joined
Mon Aug 27, 2018 11:30 pm
Location - Malaysia
Who is online

Users browsing this forum: No registered users and 16 guests