• Resolved johndsds

    (@johndsds)


    Recently WP permanent links stopped working on my site and I had to enable standard (?p=) links. Which btw. works OK.
    I have tried to disable plugins disable/re-enable permanent links as described in several websites.
    None of this has helped.
    I also tried the Query Monitor and it reports a general problem with user.php which influences all/most plugins. The errors also appear with numeric links, though.

    wp-includes/user.php:613
        wp_validate_logged_in_cookie()
        wp-includes/class-wp-hook.php:292
        apply_filters('determine_current_user')
        wp-includes/user.php:3256
        _wp_get_current_user()
        wp-includes/pluggable.php:70
        wp_get_current_user()
        wp-includes/l10n.php:97
        get_user_locale()
        wp-includes/l10n.php:140
        determine_locale()
        wp-includes/l10n.php:1278
        _get_path_to_translation_from_lang_dir()
        wp-includes/l10n.php:1240
        _get_path_to_translation()
        wp-includes/l10n.php:1210
        _load_textdomain_just_in_time()
        wp-includes/l10n.php:1308
        get_translations_for_domain()
        wp-includes/l10n.php:177
        translate()
        wp-includes/l10n.php:289
        __()
        wp-content/plugins/advanced-custom-fields/acf.php:68
        ACF->initialize()
        wp-content/plugins/advanced-custom-fields/acf.php:649
        acf()
        wp-content/plugins/advanced-custom-fields/acf.php:655

    Is seen with at least 5.7.1 and 5.7.2
    Don’t know what to do next.

    • This topic was modified 3 years, 6 months ago by johndsds.
    • This topic was modified 3 years, 6 months ago by johndsds.
Viewing 1 replies (of 1 total)
  • Thread Starter johndsds

    (@johndsds)

    I found the the problem.

    It was because .htaccess with the RewriteRules was not read by my Apache server.

    I had for some reason removed the section:
    <Directory /var/www/html/<site namd>/wordpress>
    AllowOverride All
    </Directory>
    in the virtualhost config file.

    When I added it again permalinks worked like charm.

Viewing 1 replies (of 1 total)
  • The topic ‘Permanent links stopped working’ is closed to new replies.