Permalinks revert to old style, and can't be modified
-
Background: We had a site built for us (but the developer is long gone), and we want to migrate it to a test area, update it, and then redirect our dns to point to the new version.
Environment: We are running those on our own servers, and have complete root access.
Our issue: We like this old site template and want to change mostly our content (for the most part, our site is “page-based” and not much posting). We downloaded the latest version of wordpress, setup the database and got it all working. We exported from our old version, and uploading into the new, and it all seems to work fine, except, the permalink are the default (e.g. https://www.sitename.com/?page_id=11). In our old site, it uses the url structure that we like (https://www.sitename.com/wp/client-case-studies) and has the permalink setting as /%postname%/.
When we set the Permalink settings to the format that we like, nothing works. (that is, every page gives a 404).
Our .htaccess file looks like this:
# 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
We are running this on a server that has never had wordpress installed, so there might be an httpd.conf issue.
Any help would be greatly appreciated.
- The topic ‘Permalinks revert to old style, and can't be modified’ is closed to new replies.