Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1120268

    Hi I have problem my website seems redirection to mainpage it seems /?avia_forced_reroute=1. But indeed it has 404 error how can I fix it?

    • This topic was modified 5 years, 4 months ago by ferruhk.
    #1120396

    Hey ferruhk,

    Have you selected the page in question to be your custom 404 page in the main page of the theme options? If so then please try to use a dedicated 404 page instead.

    Best regards,
    Rikard

    #1138437

    Hello Rikard,

    I installed this newly purchased Enfold plugin. I almost finished the website and got stuck now.
    I noticed that the website redirects to the URL ext. — avia_forced_reroute=1

    When I disabled the 404 on Enfold Theme options, it will show “Page Not Found”.
    All I want is to disable 404 redirection. This is just a one page project.

    How do I fix this?

    #1139373

    Hi,

    Thank you for the update.

    Did you set the “Custom Error 404 Page” to the second option? You should set it to the third option so that non-existing pages will redirect to the selected page without setting the HTTP status code to 404. You can also use this filter to prevent it from setting the status code.

    add_filter('avf_404_supress_status_code', function() {
        return true;
    });
    

    Best regards,
    Ismael

    #1238819

    Hi I have the Problem here.

    How can I get rid of this forced _ reroute.

    Where shall I put the code above. I dont find a section to fix it.

    Your help will be apreaciated.

    Rgds
    Peter Arens

    • This reply was modified 4 years, 2 months ago by Whippert.
    #1238915

    Hi Whippert,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1304313

    Hi Ismael,

    I put your code in my functions.php but the the Extention “/?avia_forced_reroute=1” is still added after the 404 page (domain/ooops/?avia_forced_reroute=1). In the theme setting of the 404 handling the 3rd option is selected. So the behaviour works but the displayed URL part is the thing I want to get rid of.

    Mabye there was a code-update so that your snippet doesn’t work properly any more.

    Looking forward to your answer and thanks very much,
    Rainer

    #1304528

    Hi GooseRay,

    Please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.