• The page containing the list of a logged-in user’s tickets is as follows:
    https://website.com/helpdesk

    However, when clicking on an individual ticket the destination page contains an extra page or directory before the actual ticket resulting in a 404 error. Example as follows:
    https://website.com/support/ticket-name

    1. Where is ‘/support/’ coming from?
    2. How do I modify the url so user’s can see their ticket detail page?

    NOTE:
    I do NOT have ‘Add Categories to the URL’ turned on.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mayeenul Islam

    (@wzislam)

    @xizor First of all, sorry for the late reply. We’re here in a vacation of Eid-ul-Adha. Was actually busy there.

    The page containing the list of a logged-in user’s tickets is as follows:
    https://website.com/helpdesk

    Ok, you changed the default page of the Support Desk (with a slug support-desk) to helpdesk and that’s completely okay.

    1. Where is ‘/support/’ coming from?

    The /support/ part is coming from the CPT registration array parameter (Code here).

    2. How do I modify the url so user’s can see their ticket detail page?

    One thing for sure that, without doing anything with the URL, your ticket detail pages are visible to your clients, so need not to worry. But, when in ticket details, you want to remove the /support/ part from the URL.

    Well, that’s not easy to do as you might think. Here you can have a clear understanding of how to do that:
    Remove Custom Post Type Slug from Permalinks by Kellen Mace

    BTW, if you want to replace /support/ with /helpdesk/, then that needs a tweak from us in the plugin. We need to provide a filter hook as we did for the knowledgebase. Then you can use a function hooked to the hook to modify the URL parameter. But before doing so, you need to wait for the next release of the plugin.

    We’ve opened a Feature Request for the upcoming release:
    https://github.com/nanodesigns/nanosupport/issues/82

    You can follow the issue there. Closing here.

    Thread Starter MindCreatesMeaning

    (@xizor)

    Thank you.

    I have changed my page back to /support/ from /helpdesk/ and everything is working as should be. It was my mistake as I did not know that the plugin was so rigid in it’s URL structure.

    NOTE:
    I am not getting e-mail notications (not even in spam folder), but I am opening a new topic for that.

    Plugin Author Mayeenul Islam

    (@wzislam)

    @xizor We’re afraid, we can’t replicate the issue. Here you can have a sandbox (will expire in 23 hours)

    https://clear-curlew.w5.poopy.life/wp-admin/
    username: demo
    password: xbk3R432AsYB

    Changed the default Support Page URL slug to /helpdesk/
    https://prntscr.com/orqvt0

    Support Desk
    https://foolish-dogfish.w6.poopy.life/helpdesk/

    Test Ticket
    https://foolish-dogfish.w6.poopy.life/support/test-ticket/

    It was my mistake as I did not know that the plugin was so rigid in it’s URL structure.

    I’m afraid, NanoSupport is not rigid with its URL structure at all. If you want to use any other page other than the default, you can set them up from the Settings page.

    NOTE:
    Using the Github issues for submitting bug report will help us a lot.
    https://github.com/nanodesigns/nanosupport/issues/new/choose

    Because we have a template there, for the necessary information to debug things.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Link to Ticket Details Page Prepended With Random String’ is closed to new replies.