Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • To allow the .stp file extension to be uploaded to a WordPress site, you’ll need to modify the site’s configuration to permit this file type.

    You can add following code to the theme’s function file:

    function allow_stp_uploads($mime_types) {
    // Add .stp file type
    $mime_types['stp'] = 'application/octet-stream';
    return $mime_types;
    }
    add_filter('upload_mimes', 'allow_stp_uploads');

    Note: If you know the specific MIME type for .stp, replace ‘application/octet-stream’ with that MIME type. Possible MIME types include:
    application/step
    application/x-step
    application/vnd.ms-pki.stl

    We have reviewed the site and noticed a mix of URLs with both older and newer domain links. To resolve this issue, you should update your URLs throughout the site. If you are using Oxygen Builder, here are some suggested steps:

    Update URLs in Oxygen Builder
    Go to Oxygen Builder Settings:

    1. Navigate to Oxygen: Settings in the WordPress admin dashboard.

    2. Use the URL Replacer Tool: Oxygen provides a URL replacement tool to update URLs in your designs.
    Look for the URL Replacer tab.
    Enter your old domain in the “Old URL” field and the new domain in the “New URL” field.
    Click Replace URLs.

    3. Verify Changes:
    Check if images and styles are loading correctly with the new domain.

    After it make sure that you have also updated the site URL:
    1. Log in to the WordPress Admin Dashboard:
    2. Navigate to Settings > General. Check the WordPress Address (URL) and Site Address (URL). If these are using the old domain, update them to the new domain name.
    3. Save changes.

    Following these steps will help ensure that all URLs on your site are consistent and up-to-date.

    parthbackstagedev

    (@parthbackstagedev)

    It looks like you’re currently accessing your WordPress site using the default localhost:8080 address. To effectively set up and use a Multisite network locally, it’s recommended to configure virtual hosts. This will allow you to access your site using custom domains, such as customdomain.com or subdomain.customdomain.com, which are essential for a multisite setup.

    As per the JavaScript code you shared, it appears that you are declaring the url variable twice. Can you please remove the line let url = window.location.href; and check if it resolves the issue?

    It seems that you have set up a path-based network as /en/. It appears the network site URL is not configured correctly. Can you please try the following steps:

    • Access the network site admin and ensure it’s correctly configured for multisite.
    • Update the “Site Address (URL)” and “Home” fields in Network Admin to exclude www.
    • Clear both server-side caches and your browser cache.
    • Use browser tools to identify the source of the redirection issue.
    • Review server settings for any www-related redirects.

    For further assistance, refer to the following link: WordPress Multisite Administration – .htaccess and mod_rewrite.

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)