User Tools

Site Tools


wordpress-permalinks

Wordpress

  1. mod_rewrite enabled
  2. AllowOverride FileInfo set for DocumentRoot (or WordPress subdirectory)
  3. .htaccess File is correctly generated (include potential WordPress subdirectory)

SSL behind reverse Proxy

  1. correct protocol in DB/
  2. add the following to wp-config.php
    /** Fix protocol if accessed via reverse proxy */
    if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
            $_SERVER['HTTPS']='on';
     
wordpress-permalinks.txt · Last modified: 2023/04/28 09:04 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki