Support

Admin Tools

#31445 How to change canonical URL in google search console?

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Monday, 22 July 2019 17:17 CDT

uzbaby
Hello dear developers,
Recently I migrated to HTTPS version.
It past about 3-4 weeks, but google search console still shows my site httP as canonical(user declared canonical: http://uzbaby.uz). How can I change it?

nicholas
Akeeba Staff
Manager
According to Google Search Console your site is providing its own canonical URL. There are two possibilities here. You have either set up a custom domain name in the System - SEF plugin (in this case and this case only a canonical URL is, indeed, defined by Joomla) OR you are using a third party extension which defines the canonical URL of the page. Please note that Admin Tools does not define canonical URLs nor can it affect them. Therefore this issue is out of scope of our support.

That said, I will try to give you some pointers based on my experience. Don't expect me to follow up on these suggestions; these are merely the things that I would be looking at my site if it had the same issue :)

Check your configuration.php file. There's the $live_site parameter there. If it's empty, no problem, leave it like that. If it has a URL make sure it begins with https://, not http:// (that's the most common mistake I see in sites switching to HTTPS)/

Now, let's check if you have entered a custom URL in the System - SEF plugin. If that URL has http:// in front change it to https://. If it's empty, leave it like that. You are only supposed to enter a URL there if your site is accessible from different domain names and you have not set up redirections from the secondary domains to the main one.

Go to Global Configuration and set Force HTTPS to Entire Site. Otherwise your site can be accessed under both HTTP and HTTPS which might be an issue with third party sitemap and SEF / SEO extensions.

Are you using a sitemap extension? Ask its developer if you need to reconfigure it or regenerate the sitemap after switching your site to HTTPS.

Are you using a SEF or SEO extension? Ask its developer if you need to reconfigure it or regenerate the sitemap after switching your site to HTTPS.

I hope this helps!

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

uzbaby
Thank you very much! I thought that it was somethinf regarding to admin tools. Sorry!
I followed your advices. And yes, as you are always right, this time the problem was in Joomla SEF System plugin. There was http://uzbaby.uz. I changed it to https://uzbaby.uz.

Now I hope google search console will see my https site.

nicholas
Akeeba Staff
Manager
It should, but it might take a while. Based on my experience it takes anywhere from a day to two months depending on how often they crawl your site. Our business site gets crawled multiple times a day -- every change is reflected on Google Search Console very fast. My personal blog takes 2-3 weeks.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!