User Tools

Site Tools


wordpress-permalinks

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wordpress-permalinks [2017/08/22 13:25] baumiwordpress-permalinks [2023/04/28 09:04] (current) – [SSL behind reverse Proxy] baumi
Line 1: Line 1:
 ~~META: ~~META:
 date created = 2017-07-26 09:00 date created = 2017-07-26 09:00
-&date modified = 2017-07-26 09:00 
 ~~ ~~
-====== Things to check, if WordPress Permalinks do not work: ======+====== Wordpress ====== 
 + 
 +===== Things to check, if WordPress Permalinks do not work: =====
   - mod_rewrite enabled   - mod_rewrite enabled
   - AllowOverride FileInfo set for DocumentRoot (or WordPress subdirectory)   - AllowOverride FileInfo set for DocumentRoot (or WordPress subdirectory)
   - .htaccess File is correctly generated (include potential WordPress subdirectory)   - .htaccess File is correctly generated (include potential WordPress subdirectory)
 +
 +==== SSL behind reverse Proxy ====
 +  - correct protocol in DB/
 +  - add the following to wp-config.php<code php>
 +/** Fix protocol if accessed via reverse proxy */
 +if ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')
 +        $_SERVER['HTTPS']='on';
 +    </code>
  
 {{tag>kb wordpress}} {{tag>kb wordpress}}
wordpress-permalinks.1503401126.txt.gz · Last modified: 2017/08/22 13:25 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki