View Single Post
  #3  
Old 09-18-2019, 01:09 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: https://www.glassesshop.net how to remove home.php

Code:
if ($_SERVER['REQUEST_URI'] == $xcart_web_dir.'/home.php') { header ('HTTP/1.1 301 Moved Permanently'); header ('Location: //'.$xcart_https_host.$xcart_web_dir.'/'); }
^ Put that in /auth.php at the end, just before
Code:
?>
Also in the XML sitemap module settings, ensure the setting...
Quote:
Use root store page (http://example.com/) instead of home page (http://example.com/home.php) in the sitemap file.
...is checked.
__________________
xcartmods.co.uk
Reply With Quote