Not a valid URL

#64987
  • Resolved Yonatan
    Rank Math pro
    Content AI Starter

    Hi,
    This is the default sitemap generated by the Rank Math plugin.
    When I update the sitemap In Google Search Console I got the following error. can you please tell me what to do to fix this?

    This is not a valid URL. Please correct it and resubmit.

    Examples

    URL:
    Line 135
    Parent tag:
    url
    Tag:
    loc

    URL:
    Line 139
    Parent tag:
    url
    Tag:
    loc

    URL:
    Line 143
    Parent tag:
    url
    Tag:
    loc

    Thanks, please help

    Regards,
    Yonatan

    • This topic was modified 3 years, 10 months ago by Yonatan.
Viewing 15 replies - 16 through 30 (of 30 total)
  • Hello,

    The FTP is working now, but now I couldn’t login to your site’s wp-admin. After entering the username/password the site is redirecting me to the /my-account__trashed/ page.

    It looks like you have deleted the account?

    Yonatan
    Rank Math pro
    Content AI Starter

    Hello,

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

    Thank you.

    Yonatan
    Rank Math pro
    Content AI Starter

    Dear Pratik,
    Sorg, I made some changes to my site, That why. Can you please try now.

    Did you find something when you were in FTP?

    // Yonatan

    Hello,

    Were you able to fix the issue or did you change anything that could have fixed this?

    Earlier you Sitemap was showing some blank entries now I don’t see any invalid URLs.

    Can you please confirm?

    Looking forward to helping you.

    Yonatan
    Rank Math pro
    Content AI Starter

    Hi Pratik,
    I apologize for the late reply. It was a lot of work. Has deleted many pages to find them blank fields. Now I have re-created all those deleted files and now it looks good. That may be why. I do not know what I have done.
    Can you please check if I have the right setting so that I do not have problems in the future.
    Can you please also check if I have the right settings to get good results in google search. That I did not miss anything. Please.
    Have a problem
    As soon as I activate Attachments “Include in Sitemap” I get an error message in google search console site map. Now do not have Include in the Sitemap for Attachments. Can you please check it?

    Thanks
    Yonatan

    Hello,

    I wanted to take a look at your Settings but I couldn’t login with the username/password you added in the Sensitive Data Section. Can you please check and add the correct access details?

    Looking forward to helping you.

    Yonatan
    Rank Math pro
    Content AI Starter

    Hi,
    Can you Please try now.

    Yonatan

    Hello,

    I checked your site and added the following Rule in your cache plugin settings> Advanced Rules > Never Cache URLs : /(.*)sitemap(.*) which will prevent your sitemap URLs from being cached. You however seem to have a robots.txt file in your root folder which doesn’t include Rank math defaults. To allow Rank math to generate this automatically please remove or rename the robots.txt in your root folder.

    Other than that, your sitemap settings seem to be perfectly fine.

    Hope that helps. If you have any further question(s), please let us know. Thank you.

    Yonatan
    Rank Math pro
    Content AI Starter

    Hello,
    Yes thanks,
    Can you please help me remove it? Will there be a problem with the website if you remove or rename it?

    //Yonatan

    Hello,

    We have removed it for you.

    This is what it contained:

    User-agent: *
    Disallow: /wp-admin/
    

    The robots.txt included with Rank Math is working fine now.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Yonatan
    Rank Math pro
    Content AI Starter

    Thanks,
    How can I prevent a cart, my account page, and checkout from being crawled by Google?

    // Yonatan

    Hello,

    Those pages are by default set to noindex by woocommerce. If you are not using WooCommerece, you can set the noindex tag in Rank math metabox under the advanced tab.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello,

    You have set your attachments to noindex and the attachment sitemap therefore leads to 404 page not found. To fix this please head over to Rank math > Titles & Meta > Attachments and set them to index then check if your attachment sitemap is updated with the URLs. If it’s working fine, you can then resubmit on the GSC again.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Yonatan
    Rank Math pro
    Content AI Starter

    Thank you guys for your excellent support

    Hello,

    We are glad we could help.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Not a valid URL’ is closed to new replies.