Your account expired support, please renew to get your support.

Home Forums Themes Support Vidio Shortcuts pages

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8192
    liveis
    Support Expired

    Hi Team,

    1. Is there a way to hide shortcuts pages like this one

    Author Top Created

    2. Is there away to disable redirection and give 404 instead.. like here
    https://demo.harutheme.com/vidio/a
    Or
    https://demo.harutheme.com/vidio/sh

    #8211

    Hi,
    Thanks for contacting us and choosing our product!
    1. If you disable this link you can’t preview shortcode before use it. You can change it in:
    wp-content/plugins/haru-vidi/includes/posttypes/ then open file shortcode-generate.php
    Go to line 62 and change code to:
    'public' => false,
    and go to line 73 and change the code to:
    'publicly_queryable' => false,
    https://prnt.sc/xl6vof
    (Maybe you need go to Settings -> Permalink to Re Save)
    2. Please try to resolve this by go to functions.php of theme and add this code:
    remove_action( 'template_redirect', 'redirect_canonical' );
    or
    add_filter( 'redirect_canonical', '__return_false' );
    Hope this helps!

    ****
    Regards,
    HaruTheme

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.