• Resolved johnpetsa

    (@johnpetsa)


    Hello~
    A strange problem occurred in my website, when I google search my company name by my desktop computer, google result page would shows https://example.com (there is a lock before the URL and shows that is a safe website when I click in to the link), however, when I google search my website by my mobile phone, https://www.example.com website format would be shown in the google result page and there is a lighting icon after the URL. Also when I click in my website in the google search page, google would show that is an unsafe website, and shows an empty website with a exclamation mark on the top of the page, that would link to https://example.com(that is my website but still an unsafe website). How could I fix it please.

    Thank you!!!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Milind More

    (@milindmore22)

    Hello @johnpetsa

    Can you please share your site URL and site health information privately using this form so we can investigate this further, Also please share the search term you used to do a google search.

    Alternatively, please make sure you have added WordPress Address (URL) and Site Address (URL) in general settings with https

    Thread Starter johnpetsa

    (@johnpetsa)

    Thank you for your reply Milind~~
    I have sent you the site information by the form. Thank you.
    The WordPress Address and the Site Address are still the https:// format in general setting, how could I change it, please~~

    Also, there is a huge problem shown in the Site Health Status,
    “You are currently using HTTPS to visit the website, but the WordPress Address is still in default. Additionally, AMP requires HTTPS for most components to work properly, including iframes and videos.”

    Is it the same problem? Thank you~~

    Plugin Support Milind More

    (@milindmore22)

    Hello @johnpetsa

    Yup it seems the same issue, as I can see your WordPress URL is not set to https
    You can follow the following steps to fix it

    goto wp-admin/ ( site backend) -> Settings -> General ->modify URL -> Save

    change URL to https as shown in this screenshot

    Plugin Support Milind More

    (@milindmore22)

    Hello @johnpetsa

    I just rechecked your site health information and found out you have declared WP Constants in the wp-config.php file.

    so you need to edit your wp-config.php file and update the following constants

    example

    
    define( 'WP_HOME', 'https://example.com' );
    define( 'WP_SITEURL', 'https://example.com' );
    

    will become

    
    define( 'WP_HOME', 'https://example.com' );
    define( 'WP_SITEURL', 'https://example.com' );
    

    you can find more info here

    Thread Starter johnpetsa

    (@johnpetsa)

    Thank you for your recommendation Milind~
    But I have never edited the wp-config.php file before, is there any easier way to edit the wp-config.php? as I searched about this aspect that I need to download the FTP and the code editor, seems complicated. Thank you ><“

    Plugin Support Milind More

    (@milindmore22)

    Hello @johnpetsa

    I understand your concerns, I will recommend the following options in that priority order

    1) Contact your hosting provider and ask for help

    2) Check if you have a hosting tool like CPanel they have a file explorer/editor

    3) If possible setup FTP could be handy in the future.

    4) Use WordPress Plugin WP Config File Editor

    (Disclaimer: Use plugin/methods mentioned above at your own risk.)

    Thread Starter johnpetsa

    (@johnpetsa)

    Hello Milind~
    Sorry to bother you again~~ I have changed the setting of wp-config.php file about the https, but the problem is still here. I found that the AMP plugin could control the layout of the mobile version of my website, so there is three version layout of my website(desktop version, normal mobile version and AMP mobile version),so I would like to stop the AMP plugin and make my mobile website become normal mobile version layout, what do I do for that? thank you very much~~~

    Plugin Support Milind More

    (@milindmore22)

    Hello @johnpetsa

    AMP Plugin supports three template modes

    Standard Mode is an ideal configuration since your site is fully AMP-compatible and using AMP compatible themes and plugins, This means your whole site will be served as AMP and there is no need to maintain two different URLs for AMP and non-AMP pages.

    Transitional Mode maintains two versions of your site AMP and non-AMP version but uses the same theme templates for both. This mode is ideal if your site theme is not fully AMP compatible but the look-and-feel and/or functional differences are acceptable.

    Reader Mode maintains two versions but in this case two different theme templates are used, one for the AMP version and one for the non-AMP version of your site. This mode is recommended when your theme is not AMP compatible and/or you are using plugins that are not AMP-compatible and can’t switch to AMP compatible ones immediately.

    I will recommend you using Reader mode with Compatible themes such as Astra or Neve

    I will also recommend checking our getting started guide to better understand the different Template modes and settings AMP plugins have to offer.

    Thread Starter johnpetsa

    (@johnpetsa)

    The problem is still here(the mobile google search result of my website is incomplete, this problem is definitely related to the AMP plugin), is there any way that I could private send my website URL to you for further asking?

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Different google search result between desktop and mobile device’ is closed to new replies.