I have a local install of wordpress
home page is accessible at http://localhost/activlist Backend is accessible at http://localhost/activlist/wp-admin etc
No other front end urls are accessible, they return 404
I have refreshed permalinks, and tested apache mod_rewrite is on with this script
Any ideas?
I have a local install of wordpress
home page is accessible at http://localhost/activlist Backend is accessible at http://localhost/activlist/wp-admin etc
No other front end urls are accessible, they return 404
I have refreshed permalinks, and tested apache mod_rewrite is on with this script https://stackoverflow/questions/9021425/how-to-check-if-mod-rewrite-is-enabled-in-php
Any ideas?
Share Improve this question edited May 23, 2017 at 12:40 CommunityBot 1 asked Aug 2, 2015 at 2:45 lindsaymacveanlindsaymacvean 1031 silver badge3 bronze badges 4 |1 Answer
Reset to default 1Assuming you are on Linux, you need to make some changes in apache2.conf file stored in /etc/apache2 directory.
Open the file with root permissions, you will find the code given below in the file.
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
Here just change the AllowOverride None
to AllowOverride All
, save the file & restart apache.
This will work in most of the cases.
.htaccess
file to ensure that WordPress's rewrite rules are there? Do you still get 404's if permalinks are turned off? – Matt van Andel Commented Aug 2, 2015 at 4:53/%category%/%postname%/
works fine on the remote server here... http://wuwoclientlindsay.wuwomedia/activelist_demo/activlist_providers/ – lindsaymacvean Commented Aug 2, 2015 at 11:38