Wordpress Pretty Permalinks on a Shared Server
Create a custom 404 handler page which redirects you to the correct page.
Copy this code and paste it in your HTML
<!-- Create the file wp-404-handler.php in your base Wordpress folder. -->
<?php
$_SERVER['REQUEST_URI'] = substr($_SERVER['QUERY_STRING'], strpos($_SERVER['QUERY_STRING'], ':80')+3); $_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI'];
include('index.php');
?>
URL: http://it.megocollector.com/?p=795
Report this snippet
Comments
Subscribe to comments