User Tools

Site Tools


wordpress-permalinks

Differences

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

Link to this comparison view

Next revision
Previous revision
wordpress-permalinks [2017/08/22 13:25] – created 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 ====== 
-  mod_rewrite enabled + 
-  AllowOverride FileInfo set for DocumentRoot (or WordPress subdirectory) +===== Things to check, if WordPress Permalinks do not work: ===== 
-  .htaccess File is correctly generated (include potential WordPress subdirectory)+  mod_rewrite enabled 
 +  AllowOverride FileInfo set for DocumentRoot (or 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.1503401104.txt.gz · Last modified: 2017/08/22 13:25 by baumi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki