HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Share URL

Hello,

I have a simple question. My forum is protected so the anonymous users don't see anything.

Now when my users share links between their own discussions, instead of delivering the good page name and image, the system return the content of the homepage on the preview.

Is it anyway to have the good content instead of the Login page content ?

Thanks for your help

Comments

  • Options
    charrondevcharrondev Developer Lead (PHP, JS) Montreal Vanilla Staff

    Yes. Turn on “pretty urls” and it will work properly.

    This is already implemented and works here on this site.

    it will use the permissions of the current user to try and request the full discussion data.

  • Options
    yguerdatyguerdat Delémont New

    Thanks for your feedback. Can you confirm me it's under this page : /index.php?p=/dashboard/routes ?

    Here is my configuration

  • Options

    Is mod_rewrite on?

    @yguerdat do logged in users get pretty url all the time?

    Do anonymous users (test this out in incognito mode/another browser) get to see pretty url?

    Tested your site just now, when your site is visited no rewriting appears to work.

    Also, changing the route type to internal works for me always for the ^d/([\d]*)

Sign In or Register to comment.