Product Not Redirecting

#5217
  • Resolved Xg
    Rank Math free

    hello,
    i had the same problem for the (/product-category/) not redirecting, and i use the fix on your video and now it work.
    But i still have a problem with (/product/) is not redirect like that,
    for exemple:
    site.com/product/abcproduct to site.com/abcproduct

    How to make it redirect?
    Can you tell me how to fix it.
    Thank you in advance for your help.

Viewing 15 replies - 1 through 15 (of 16 total)
  • Todd
    Rank Math free

    Hello,

    Thanks a lot for your query and we are so sorry about the trouble this must have caused.

    Have you tried removing this option in WordPress Dashboard > Settings > Permalinks?
    permalinks

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

    Xg
    Rank Math free

    Hello, thank you, i follow your instruction but still same problem:
    https://imgur.com/a/jJWDQIO

    When in put /product/ on the product page, the url dont redirect to clean on (without the /product/).
    Actually URL on the product page dont show /product/ so it’s fine, but i worry that when i put /product/ is not redirecting to the clean url, and that it may create duplicate content.

    I hope my explanation are clear enough, and thank you for your help.

    • This reply was modified 4 years, 10 months ago by Xg.

    Hi there,

    Thanks for the response.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Xg
    Rank Math free

    Hello,

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

    Thank you.

    Hi there,

    Thanks for the follow up.

    I have logged in to your site and everything is working as expected.
    Please note that Rank Math does not create and save new URLs for your products and thus you should not be worried about duplicate products. The new URLs are created dynamically when someone clicks on a product.

    Let me know if you have additional questions. Thank you.

    Xg
    Rank Math free

    Hello,

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

    Thank you.

    Hello,

    Thank you for the question.

    To prevent a redirect loop, I would suggest that you disable the strip shop base and category options on the RM settings and only make use of the .htaccess redirection.

    Let me know if you have additional questions. Thank you.

    ​​​​​​

    Xg
    Rank Math free

    Thank you, but can you explain how can i do that ?
    Which settings exactly, and what should i wrote on the .htaccess
    This problem happen only to me, or other users face the same (/product/ not redirecting to clean url on product page)?

    Thank you

    • This reply was modified 4 years, 10 months ago by Xg.

    Hello,

    Thank you for contacting Rank Math today.

    I have already configured the correct settings for your site, could you please check again and let me know if the product links work as expected?

    Looking forward to helping you. Thank you.

    ​​​​​​

    Xg
    Rank Math free

    Hello,

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

    Thank you.

    Xg
    Rank Math free

    The /product/ is still not redirecting.
    I send you a screen video to explain to problem better on the sensitive data tab.
    Please check, thank you

    HI there,

    Thanks for getting back to us.

    I have added a regex redirection to redirect the product.

    Please check and let me know if it works correctly.

    Thank you.

    Xg
    Rank Math free

    Thank you very much for your support, all work fine now.
    Question: Do you plan to add this natively on RankMath or do i will need to add regex redirection for /product-category/ and /product/ each time i create a new website ?

    Todd
    Rank Math free

    Hello,

    I am glad that it is all sorted now.

    We will see if there is a possibility of adding it automatically within the plugin.

    Thank you.

    Xg
    Rank Math free

    Thank you for your great support !

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

The ticket ‘Product Not Redirecting’ is closed to new replies.