• Resolved jagenda

    (@jagenda)


    The following was added in patch 7.22:

    Set permalinks structure to default when pretty permalinks are not supported

    I’m not sure what checks there are to see whether or not pretty permalinks are supported but I don’t think they are working as intended.

    Ever since this update every single import has changed permalinks back to default (eg. ?p=13) even though they’ve been set to /%postname%/ several times prior, which would indicate that pretty permalinks are supported. They certainly work when I manually change them back afterwards.

    I often used this plugin to publish new versions of themes or custom plugins on production sites when FTP isn’t available. So it gets very tiresome, not to mention confusing to end-users, to have to change permalinks each time a theme has changed, when it should have nothing to do with the permalink structure in the first place. I might understand if this check was made when importing the database but when only files are being imported this shouldn’t be the case.

    I would request that this feature be disabled or at least limited to database imports only.

    • This topic was modified 4 years, 5 months ago by jagenda.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Yani

    (@yaniiliev)

    The plugin only does this if the server hosting WordPress is Apache. What hosting do you experience this and on what plan?

    Thread Starter jagenda

    (@jagenda)

    I use MAMP locally. Hosting varies between Amazon, and various webhotels and client servers. All of them use Apache. I haven’t tested every single one of them but it’s safe to assume that this issue would happen frequently.

    Are you saying that this is a feature and that the plugin will always revert permalinks to default if it detects that the hosting server uses Apache?

    Or is it merely a bug (falsely identifying that pretty permalinks are unsupported when in reality they have worked just fine previously) that only seems to occur on Apache servers? Is the solution somewhere in the .htaccess configuration?

    Plugin Author Yani

    (@yaniiliev)

    I am sorry, I did not explain it well.
    The plugin does mod_rewrite check only on servers running Apache.
    It checks if the mod_rewrite is enabled and when it is not, it will set permalinks to default.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem: Permalinks set to default every time’ is closed to new replies.