can't make permalink work after migration
-
I’m hosting a wordpress 3.9.3 on a server and decided to created sandbox on my localhost. I did the following:
1. Installed apache 2.4.7, mysql and php.
2. Got a database dump and wp-content files.
3. Restored the database locally and put the wp-content files in place.
4. Got my local site up and running locally – it works fine with settings-permalink set to default
5. However, the permalinks with “post name” don’t work the way they did on the original host.
6. I granted everyone write acces to the virtual host directory, and wordpress created an .htaccess file with the code below.
7. I restarted the apache2 service.
8. The problem persists.Any suggestions?
.htaccess file content:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress -
I’m afraid you’re in the wrong forum. This support forum is only for free WordPress.com blogs. You appear to have a self-hosted WordPress.ORG install. WordPress.com and WordPress.org are completely separate and different: http://en.support.wordpress.com/com-vs-org/
Please visit the WordPress.org support forum for assistance as we won’t be able to help you here: http://wordpress.org/support/ If you don’t already have a username on that forum, click the register button in the upper right corner so you can post in that forum.
-
Figured out that mod_rewrite was not enabled and did this:
a2enmod rewrite
/etc/init.d/apache2 restartStill doesn’t work .. :(
-
-
- The topic ‘can't make permalink work after migration’ is closed to new replies.