Permalinks problems after upgrade 2.7
-
There are many reports about permalink issues after upgrading, but none of the solutions worked for me. My situation and what I’ve done:
– .htaccess is correct:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Double checked, even made it writable 777 and let wordpress rewrite the rules– permalink settings: checked /%category%/%postname%
and saved them again. These always worked.– Plugins: all disabled
The frontpage loads fine. The backend admin 2.7 works fine. I can edit all posts, all permalinks are there. Only trying to visit any page returns 404. going back to 2.6.5, everything works again.
The only thing now that I can think of is the following: I developed this website locally. And then to publish the site I exported the database and imported it in the new host. That was a while ago, and it worked fine. Because I developed the site local, if you look at the permalinks in the database posts table, you will see them like
https://www.localsite/somepermalink/
while the one on the live site should be
https://www.therealsite.com/somepermalink/I have set this in the wp-config file:
define(‘WP_SITEURL’, ‘https://www.therealsite.com’);
define(‘WP_HOME’, ‘https://www.therealsite.com’);This has always worked, with many sites. Could it be that this doesn’t work anymore with 2.7?
- The topic ‘Permalinks problems after upgrade 2.7’ is closed to new replies.