• For some reason, changing permalinks of existing pages doesn’t seem to work. When switching from standard to post-name, it give a 404. When changing from standard to any other type (number/date month etc) it doesn’t change in the permalink box of the post preview.

    There was a topic about this open at https://www.ads-software.com/support/topic/permalinks-suddenly-not-working/ but that appears to have been closed without resolution for some reason.

    This has happened on a friend’s install on Apache on Windows Server, and I have found the same on my install with nginx on Ubuntu (both 4.9.5). The friend has confirmed that his other wordpress install (not multisite) works fine with an identical .htaccess block, with just the path change. But, note, that is an existing install, this is a new one.

    I can also confirm that caching has been turned off and browser caches have been cleared. Any ideas? Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    This has happened on a friend’s install on Apache on Windows Server, and I have found the same on my install with nginx on Ubuntu (both 4.9.5).

    In the config file for this virtual host, add these three lines (with the correct path, of course):

    <Directory /path/to/wordpress>
       AllowOverride All
    </Directory>

    then restart apache/httpd

    The installed default is AllowOverride None, which disables processing of .htaccess.

    Thread Starter digitaltoast

    (@digitaltoast)

    Hi, thanks Steve.

    Well, this is what he has, in addition to that over-ride above. Thing is, remember that I’m on a totally different server (nginx), and my WP Admin also isn’t reflecting permalink style changes, either…

    <VirtualHost *:80>
    ServerName https://www.example.com
    ServerAlias example.com *.example.com
    DocumentRoot “c:/homepage/example”
    <Directory “c:/homepage/example”>
    Options Indexes FollowSymLinks
    AllowOverride All
    Order allow,deny
    allow from all
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </Directory>
    </VirtualHost>

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Thread Starter digitaltoast

    (@digitaltoast)

    Just to be clear, these are already installed, and have been for several years in the case of one site, and ONLY affects the switching between the types of permalink, in version 4.9.5

    I’m not entirely sure how relevant the underlying server architecture is here…

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Permalinks are handled by Apache in .htaccess. Your friend’s Windows/Apache config has not been done correctly. I got confused by your bringing in your Nginx site, which is irrelevant to his problem. ??

    Thread Starter digitaltoast

    (@digitaltoast)

    So… are you saying that changes between permalink types not “sticking” and reflecting in the admin panel, after saving in the WP Admin, are to do with the underlying fact that it’s Apache, even though it happens on both Apache and Nginx, and only on this version of WordPress.

    I think I might have explained the original problem incorrectly. Let me get some screen shots together, this might explain it more clearly. What’s the best way to link to images here? Just a plain link?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    They are the same problem but have two different causes.

    Let’s focus on just ONE of them on this topic.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP 4.9.5 changing permalinks not working’ is closed to new replies.