“Non-www” and “www”

#140443
  • Resolved Sanu
    Rank Math pro

    Hello there,

    One of my articles is ranking on the first page of Google, you can see the link here: https://masteryblogging.com/best-appsumo-deals/ [URL is non-www]

    But, I have updated that articles and I aldo added www in my domain so the new URL becomes like this, https://www.masteryblogging.com/best-appsumo-deals/

    But if you open both URL, my non-www article is non updated but the URL with wwww is showing me an updated article and on the SERPs reults it is showing me non updated and unfortunately it is affecting my site.

    What should I do now?
    Waiting gor your response

    Best Regards
    Sanu

Viewing 15 replies - 1 through 15 (of 16 total)
  • Danial
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience that might have been caused due to that.

    I am not able to search for your site with www
    https://i.rankmath.com/8Pjq8h

    I checked your sitemap_index.xml, and it gives an error:
    https://i.rankmath.com/LTWRHf

    Rank Math should be generating your sitemap, so Google can re-crawl and re-index your site. If you are using a different Sitemap plugin, please disable it and flush your Sitemap cache by following this video screencast:
    https://i.rankmath.com/pipRDp

    I hope this resolves your issue.

    Sanu
    Rank Math pro

    I am using RankMath
    https://ibb.co/kgZ9WPX

    I don’t know why it is not found, I created sitemap.

    How can I fix this

    Hello,

    Thank you for keeping in touch with us.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Sanu
    Rank Math pro

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Sanu
    Rank Math pro

    And also please help me to add posts and pages sitemap only. No category no tags and other irrelevant.

    Hello,

    Thank you for following up.

    I’ve checked your sitemap, and it seems that you haven’t verified the www (or non-www) and HTTP (or HTTP) version of your website. Sitemap Non WWW HTTPS

    Please ensure that only 1 version of the sitemap is working (200 Ok status), and the rest are redirecting to it. You can also use this tool to check. Please follow the steps in this link:
    https://rankmath.com/kb/couldnt-fetch-error-google-search-console/#5-check-for-the-correct-version-of-the-sitemap

    However, I’ve already excluded the category and author in your sitemap. You can see now posts and pages only.

    I hope that helps. Thank you, and looking forward to your update.

    Sanu
    Rank Math pro

    How can I solve that issue? Could you please elaborate more

    Danial
    Rank Math business

    Hello,

    https://masteryblogging.com needs to have a 301 redirect status code to https://www.masteryblogging.com

    This can be done from your htaccess where you can access from your FTP
    The code should as follow where example is your domain name:

    
    RewriteEngine On 
    RewriteCond %{HTTP_HOST} example\.com$ [NC]
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://www.example.com/$1 [R=301,L]
    

    If this does not work, kindly refer to your web hosting provider for the rewrite code so that they can be pointed correctly.

    I hope this helps with your issue.

    Sanu
    Rank Math pro

    Okay I’ll ask my web hosting support for the further conversation, but I’d like to know – on my search console there’s an error of sitemap so – should I again submit my sitemap on search console?

    Hello,

    Yes, after ensuring your sitemap’s version, you need to resubmit your main sitemap_index.xml only. Google will then use it to crawl the others.

    I hope that helps. Thank you, and please don’t hesitate to contact us if you need further assistance.

    Sanu
    Rank Math pro

    Hello there,

    I submitted the sitemap for only pages and post but I am using a plugin called “WP Coupons” – it helps me to create a coupon for any product and I write an article around it. Here’s one of that link: https://masteryblogging.com/coupons/link-whisper-discount/

    And it is ranking on number 1 on Google, so I want to know – is this index because this is neither a post nor a page, this is a separate plugin and I created a post.

    Want to know, how to submit a sitemap for that section only [Coupons in my case]

    Hello,

    Thank you for following up.

    I’ve checked the coupon page/s you mentioned, and it seems that they are already indexed. However, to include them in the sitemap, you can enable that option in Rank Math > Sitemap Settings.

    It seems that you have removed the link access to your WordPress dashboard. If the issue persists, could you add them again to further investigate?

    I hope that helps. Thank you, and looking forward to helping you.

    Sanu
    Rank Math pro

    Hello

    I have enabled that option. Now – Do I need to submit this sitemap into search console again. https://www.masteryblogging.com/coupon-sitemap.xml
    [I have already submitted sitemap for pages and post]

    Also, let me know what do I add under “Image custom field”.

    Hello,

    Thank you for the update.

    We recommend submitting only the main sitemap URL https://www.masteryblogging.com/sitemap_index.xml to Google Search Console, as Google will crawl the rest of your sitemaps.

    WordPress makes it possible to add custom meta to your posts/coupons using custom fields. If your site makes use of native custom fields or you have a third-party plugin that adds image values to your posts/coupons then this feature is for you.

    If you want to add these values to your sitemap for example from a field called `
    hero_image then you will need to edit this option and add this field name for the values to be listed on your sitemap.

    I hope that helps. Thank you, and please don’t hesitate to contact us if you need further assistance.

    Sanu
    Rank Math pro

    Thanks so much

Viewing 15 replies - 1 through 15 (of 16 total)

The ticket ‘“Non-www” and “www”’ is closed to new replies.