Forum Replies Created

Viewing 15 replies - 16 through 30 (of 92 total)
  • Oh, I think I found the problem. The about-us page parent is your home page, that has the create-your-website-with-blocks.

    Can you edit your about us page and remove the parent page?

    Do you have FTP access to your server?

    Forum: Fixing WordPress
    In reply to: error pages

    Yes, you can remove that line. Search engines should never crawl ajax URLs.

    Normally, to fix that you would add a min-width: 300px for example to the element that looks bad when it’s too small.

    But taking a look at your site, I see a lot of CSS change on the breakpoint, you might have more luck increasing the breakpoint from 769px to something bigger, like for example 869px:

    @media only screen and (min-width: 869px)

    You’d need to do that for all the media queries though, so use a search and replace on all your CSS files.

    Let me know if that helps.

    The first thing I’d check is the WordPress URLs:

    • Go to Settings, then General.
    • Look for the WordPress Address (URL) and Site Address (URL) fields.
    • Check that none of them contain the /create-your-website-with-blocks folder.

    If those are fine, you can take a look at the permalinks:

    • Go to Settings and then Permalinks.
    • Look at the current permalink structure. Check that there is not a /create-your-website-with-blocks/ folder there either.

    Let me know if that helps.

    A 405 error, as I said, typically indicates that a particular HTTP method is not allowed for the requested resource. A loopback is when your server tries to connect to itself. They are independent.

    What are the things that would commonly break if I ignore this?

    Things that could break include cron jobs, site health checks, API request, etc.

    Actually, is it even possible, I thought loopback always means “local”, as in 127.0.0.1?

    As far as I know, WordPress doesn’t use localhost because different servers are configured in different ways so there’s no guarantee that localhost will point to the WordPress server.

    Could you tell me what page or what request is used for testing loopback functionality so that I could execute it in a browser?

    I don’t think there’s any special URL. You can check if it works following these steps:

    1. Access the WordPress admin dashboard.
    2. Go to Tools > Site Health.
    3. Check if something like “Your site could not complete a loopback request.” appears.

    I strongly suggest you follow the debugging steps outlined before because it can help you narrow down the root of the problem.

    Hey @randomcoder, without having access to your site, it’s not possible to know what is wrong, so you must follow the normal debugging steps yourself:

    • Disable all plugins
    • Change to a default theme
    • Check the configuration of your hosting (or contact them)
    • Take a look at the 405 errors in the browser (headers and such)
    • Replace the .htaccess file with a default one

    Once you’ve done that, if you have more information about the problem, you can come back here, and we, or any other volunteer, will try to keep helping you to the best of our knowledge.

    I think it was moved to “Tools”. Can you check if it’s there?

    Forum: Fixing WordPress
    In reply to: error pages

    Do you know why you have the Allow: /wp-admin/admin-ajax.php part? That’s probably causing the issue.

    Attention:?add_shortcode() should always return a value via return, never via echo.

    Oh, totally true ?? Thanks @threadi!

    The HTTP 405 error typically indicates that a particular HTTP method is not allowed for the requested resource. It’s often related to server configuration or specific website settings. Let’s explore some troubleshooting steps:

    1. Deactivate All Plugins Temporarily: Sometimes, plugins can conflict with each other or with WordPress core, causing unexpected issues. Deactivate all plugins temporarily to see if the issue resolves. If it does, reactivate them one by one, checking after each to identify the culprit.
    2. Switch to a Default Theme: If deactivating plugins doesn’t help, try switching to a default WordPress theme like Twenty Twenty-Four. This can help rule out any theme-related issues.
    3. Check Server Configuration: Sometimes, server settings can cause this issue. If you’re on a shared hosting, you might need to contact your hosting provider.
    4. Inspect Network Requests: Use your browser’s developer tools to inspect network requests while replicating the error. Look for any failed requests and examine the details. This can provide clues about what’s going wrong.
    5. Review .htaccess Again: Although you’ve checked it, it might be worth revisiting your .htaccess file. Sometimes, issues aren’t immediately apparent. You can temporarily rename it and use a default WordPress .htaccess file to see if it solves the issue, which would indicate a problem within this file.

    Remember to back up your site before making any significant changes, especially when dealing with core files or server configurations.

    • This reply was modified 1 year, 4 months ago by luisherranz.

    It looks like Blocksy has support for breadcrumbs and integration with Rank Math. Make sure you choose Rank Math as the provider in the breadcrumbs Blocksy settings, as explained in the documentation.

    Then, if you want to position the breadcrumbs in your header, I suggest to edit your header.php and include the following code:

    <?php echo do_shortcode('[blocksy_breadcrumbs]'); ?>

    If you don’t want to modify the block files, you can create a child theme.

    • This reply was modified 1 year, 4 months ago by luisherranz.
    Forum: Fixing WordPress
    In reply to: error pages

    Google sometimes crawls URLs that it finds inside script tags. In this case, those URLs are inside a script tag in your head.

    In my opinion, the easiest way to solve this problem would be to update your robots.txt to ensure that the wp-admin directory is disallowed and prevent search engines from crawling and indexing URLs under the wp-admin path.

    Something like this:

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

    Let me know if that helps.

    Yes, modern web browsers have strict security restrictions regarding linking to local file systems from web pages, no matter if users have access to those files or not.

    To wrap the words “SEARCH & FILTER” with a div element having a specific class in your WordPress shortcode function, you need to modify the PHP code a bit. Here’s how you can do it:

    function image_sidebar_shortcode() {
        // Start by opening the div tag with the specific class
        echo '<div class="your-class-name">';
    
        // Echo the gettexted words inside this div
        echo __('SEARCH & FILTER', 'sacconicase');
    
        // Close the div tag
        echo '</div>';
    
        // Continue with the rest of your code
        echo '<div class="filter"><img height="100" src="https://test.sacconicase.com/wp-content/uploads/2023/11/cercaefiltra-4.jpg"></div>';
    }
    
    // Register shortcode
    add_shortcode('image', 'image_sidebar_shortcode');

    In this code:

    1. I added a div tag with class="your-class-name" around the __('SEARCH & FILTER', 'sacconicase'). You should replace "your-class-name" with the actual class name you want to use.
    2. The rest of the function remains the same.

    This modification will result in “SEARCH & FILTER” being wrapped inside a div with the specified class, and it will be part of the output when the shortcode [image] is used on your WordPress site.

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