how to redirect all 404 error page
« on: September 29, 2021, 03:30:02 AM »
how to redirect all 404 error page to the home page in osclass theme dreamfree thanks in advanced

*

MB Themes

Re: how to redirect all 404 error page
« Reply #1 on: September 29, 2021, 07:54:11 AM »
@Ahmed
If you go to 404.php of your theme, at very beginning of file enter:
Code: [Select]
<?php
  header
('Location:' osc_base_url()); 
?>


It should do the trick.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: how to redirect all 404 error page
« Reply #2 on: September 29, 2021, 11:10:08 AM »
i try it didnt work with me and the 404 error page that appear to me not the custom 404.php that in the theme its the default 404 page of the host
« Last Edit: September 29, 2021, 01:14:58 PM by Ahmed Abdelhamed »

*

MB Themes

Re: how to redirect all 404 error page
« Reply #3 on: September 29, 2021, 01:23:00 PM »
@Ahmed
Then best to check with hosting.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots