After permalink changes /%postname%/ then pages not found
-
When i’ll go this page after permalink changes, then showing me not found on this server, but default permalink work as good, but i want this url like https://www.exanple.com/blog
https://localhost/wordpress/members/
Not Found
The requested URL /wordpress/members/ was not found on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
i’ve create a new file called
wp-404hander.php
in the root directory and put below this code, but still not work, how can i fix this ?<?php $_SERVER['REQUEST_URI'] = substr($_SERVER['QUERY_STRING'], strpos($_SERVER['QUERY_STRING'], ':80')+3); $_SERVER['PATH_INFO'] = $_SERVER['REQUEST_URI']; include('index.php'); ?>
- The topic ‘After permalink changes /%postname%/ then pages not found’ is closed to new replies.