Tagged: ?avia_forced_reroute=1'
-
AuthorPosts
-
July 19, 2019 at 4:45 pm #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.
July 20, 2019 at 7:30 am #1120396Hey 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,
RikardSeptember 15, 2019 at 3:24 am #1138437Hello 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=1When 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?
September 18, 2019 at 10:25 am #1139373Hi,
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,
IsmaelAugust 18, 2020 at 3:46 pm #1238819August 18, 2020 at 9:15 pm #1238915Hi 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,
VictoriaJune 7, 2021 at 2:48 am #1304313Hi 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,
RainerJune 8, 2021 at 5:40 am #1304528Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.