• Resolved Vitaliss

    (@vitaliss)


    Thanks for a nice plugin. I have used it close to a decade! ??

    Recently, my site stopped ranking with google. I had someone look into it. They say, that because of the plugin, both versions of /page and /page/ are accessible. Normally wordpress would redirect /page to /page/. Google sees these as two separate urls, apparently not a good practice. Any chance you can guide me how to fix this?

    Many thanks

    https://developers.google.com/search/blog/2010/04/to-slash-or-not-to-slash

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter Vitaliss

    (@vitaliss)

    Hi Sami,
    any chance you can help with this?
    Many thanks!
    V

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    Hi @vitaliss,

    Thank you for reporting this issue. I have found the issue and fixed it. Fix will be available in the v2.3.0 that will be released in this week.

    Thanks & Regards,
    Sami

    cnev

    (@charlesneville)

    Hi, possibly related to this, now when I enter a custom permalink, a leading slash is automatically added, and I get a 404 error for what should be the correct URL.

    If I edit the entry in the post_meta table manually (to remove the leading slash) it works fine, but then I can’t update the post in WordPress admin without the leading slash being put on again. Running 2.3.0

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    Hi @charlesneville

    Thank you pointing this out. I will check your defined use-case and will get back to you.

    Thanks & Regards,
    Sami

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    @charlesneville Can you please open a new thread to discuss and fix this issue? Your issue is different than the issue reported initially in this thread.

    It would be great if you can open a new thread and add the link of that here, in the comment so other users can refer that.

    Thanks,
    Sami

    Plugin Author Sami Ahmed Siddiqui

    (@sasiddiqui)

    @charlesneville I have tested the leading slash but not able to generate that issue.

    Can you please answer the following questions:

    1. What is your WordPress version?
    2. Which editor are you using? Classic Editor, Gutenberg etc.
    3. In which post type you are getting this error like page, post etc.
    4. Can you please create a screen recording of one demo page?
    5. Have you tried to troubleshoot this issue by deactivating all the other plugin and changing the theme? If that works then start activating plugin one-by-onee to find the root cause of the issue.

    Thanks & Regards,
    Sami

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘trailing slash’ is closed to new replies.