• Resolved gatehealing

    (@gatehealing)


    In first time configuration, Site Representation, Organization logo, I cannot get anything to work. I keep getting “An error has occurred: No route was found matching the URL and request method.” I know the image is correct. NO images work. Nothing gets me past this error. API rest is enabled FWIW.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @gatehealing

    I’m sorry about your experience with the First time configuration. Can you retry setting up Site representation via WordPress > Yoast SEO > Settings > General > Site Representation?

    Plugin Support Maybellyne

    (@maybellyne)

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

    Thread Starter gatehealing

    (@gatehealing)

    I tried this repeatedly and I still get the error, “An error has occurred: No route was found matching the URL and request method.”

    This is definitely NOT resolved. How do I fix this? There IS a url in the image’s information (via WordPress dashboard > Media)

    Thread Starter gatehealing

    (@gatehealing)

    I am unable to move to other sections of this tool. I have tried various Logo files and nothing works. If this could help me get rich results, then I need to know what to do. There are no other errors on my site according to google search console.

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for following up.

    I understand you got “An error occurred: no route was found that matched the URL and the request method” on the Site Representation setting. The issue is not due to the URL or logo added but there’s something else preventing your settings from being saved.

    Please check if you have the?WordPress REST API?enabled for your site. If you aren’t sure, please reach out to your web hosting provider, as this might prevent the Site Representation from being saved.

    Thread Starter gatehealing

    (@gatehealing)

    Per my host, I tried:

    1. Clear Your WordPress Cache: Sometimes, outdated cache data can
      cause unexpected behavior on your site. Most WordPress caching plugins
      provide an option to clear or purge the cache.
    2. Disable All Other Plugins: Occasionally, other plugins can
      interfere with Yoast SEO. Try disabling all other plugins and then see if
      the issue persists. If it doesn’t, you can start enabling your plugins
      one by one to identify the one causing the conflict.
    3. Switch to a Default Theme: Sometimes, your theme may conflict with
      the plugin. You could try temporarily switching to a default WordPress
      theme like Twenty Twenty-One to see if that resolves the issue.
    4. Update the Yoast SEO Plugin: Ensure that you are using the latest
      version of the Yoast SEO plugin. Plugin updates often include fixes for
      bugs that might be causing issues.

    Now I get a notification,

    “We need to re-analyze some of your SEO data because of a change in the visibility of your taxonomies. Please help us do that by running the SEO data optimization.”We need to re-analyze some of your SEO data because of a change in the visibility of your taxonomies. Please help us do that by running the SEO data optimization.

    We estimate this will take less than a minute.”

    When I start this scan, I get this error:

    “Oops, something has gone wrong and we couldn’t complete the optimization of your SEO data. Please click the button again to re-start the process.

    Below are the technical details for the error. See this page for a more detailed explanation.Error details

    Request URL
    https://gatehealing.com/wp-json/yoast/v1/indexing/prepare

    Request method
    POST

    Status code
    404

    Error message
    No route was found matching the URL and request method.”

    On the referenced technical explanation page, I do not see anything regarding this 404 error or how to fix it.

    Thread Starter gatehealing

    (@gatehealing)

    Ok, for those checking this thread, for me the issue was in my .htaccess file. When we put it back to a default htaccess type of file, the issue resolved.

    Specifically, the issue was the “force trailing slash” code that directs the site to put a slash on the end of things if people leave it off when manually typing my website. Here’s the offending code. I have no idea which piece of this presented the problem:

    #Force Trailing Slash

    RewriteCond %{REQUEST_URI} /+[^.]+$ RewriteRule ^(.+[^/])$ https://%{SERVER_NAME}%{REQUEST_URI}/ [R=301,L] RewriteCond %{REQUEST_URI} /+[^.]+$ RewriteRule ^(.+[^/])$ %{REQUEST_URI}/ [R=301,L]

    #End Force Trailing Slash

    Plugin Support Maybellyne

    (@maybellyne)

    Thanks for following up and sharing what worked for you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error in site representation in first time config’ is closed to new replies.