Search
 
SCRIPT & CODE EXAMPLE
 

PHP

joomla 404

if (($this->error->getCode()) == '404') {
	header('HTTP/1.0 404 Not Found');
	$errorPageContent = file_get_contents('http://www.yourjoomlawebsite.com/404.html');
	echo $errorPageContent;
	exit;
}
Comment

PREVIOUS NEXT
Code Example
Php :: use scope in statamic template 
Php :: laravel disable cors 
Php :: wordpresss loop through object 
Php :: php if form fails keep data 
Php :: PHP code to redirect a user from a page to an alternate destination 
Php :: ci4+ connection code 
Php :: Laravel: Session message exist while click on browser back button 
Php :: how to pass variable to an event listener laravel 
Php :: wp+get author box in dashboard 
Php :: php decrement variable 
Php :: relationship on the base of condition in laravel 
Php :: auto complete order paid1 
Php :: how to concatenate folder name with image in php 
Php :: adding field to array on condition laravel 
Php :: Replace default WP search and dropdown placeholder 
Php :: laravel collection intersectKey 
Php :: textarea autocomplete phpmyadmin style 
Php :: pass array from controller laravel with compact 
Php :: bar chart in js,php prt 1 
Php :: twig lower case and string replace 
Php :: dynamic base url 
Php :: laravel insert multiple rows from form 
Php :: eager load relationships on an existing model in route laravel 
Php :: Comment ajouter un fil d’Ariane personnalisé à l’URL d’accueil dans WooCommerce 
Php :: custome route to a page with dynamic parameters wordpress 
Php :: php read textarea line by line 
Php :: data validation of $_POST in php 
Php :: Variable "$id" is not defined by operation "GetPost". 
Php :: old value on edit table laravel 6 
Php :: generate press viewport 
ADD CONTENT
Topic
Content
Source link
Name
6+8 =