All page redirects to the slash (“/”) at the end do not work

This topic has 2 replies, 2 voices, and was last updated 15 minutes ago ago by Luca Rossi

  • Avatar: Goostaf
    Goostaf
    Participant
    December 27, 2024 at 15:04

    Hello, maybe you know how to properly make redirect pages on vps ngix, that at the end was a slash, now we have pages open all (except products) and https://meshar.ru/product-category/nabory-dlja-zhenshhin (without a slash) and with it https://meshar.ru/product-category/nabory-dlja-zhenshhin/, no redirect, I can not understand..I realize that not quite your support, but little do you know how.

    I put this one, it works, but it breaks Cf7 forms (wp-json/contact-form-7/v1/contact-forms/3598/feedback/:1
    Failed to load resource: the server responded with a status of 404 ())
    Code:

    if (!-f $request_filename) {
    rewrite ^(.*[^/])$ $1/ permanent;
    }

    I’m sending our full code now in private

    Content is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Justin
    Luca Rossi
    Support staff
    December 28, 2024 at 15:26

    Dear @Goostaf,

    Thank you for reaching out to us.

    Please note that our team exclusively provides support for issues related to the XStore theme and its associated plugins. For any other inquiries or concerns, we kindly recommend utilizing Google Search to find the relevant information.

    Should you have any questions or require assistance specifically regarding the XStore theme or plugins, please do not hesitate to contact us.

    Best regards,
    The 8Theme Team

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘All page redirects to the slash (“/”) at the end do not work’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.