How to fix The requested URL was not found on this server error for the hello/name url?
This error is due to the rewrite module and this is the .htaccess file error, please update the .htaccess file with the following code:
# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# END WordPress
For more information, please visit the wordpress codex -
https://codex.wordpress.org/htaccess
No comments:
Post a Comment