Remove Index Php From URL Page On Your Website
Create a file name func. php >> Paste this code in the func. php file <?php if (strpos($_SERVER['REQUEST_URI'],'index.php') !== FALSE ) { $new_uri = preg_replace('#index\.php\/?#', '', $_SERVER['REQUEST_URI']); header('Location: '.$new_uri, TRUE, 301); die(); } ?> Step2: * Create a folder name about-us * Open the new folder you created. * Inside this folder , create a new file name index. php. * Open the new file index you just created. * Copy & Paste this code at line 1 (first line) <?php include ("../func.php"); ?>