if($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'){ $_SERVER['HTTPS'] = 'on'; $_SERVER['SERVER_PORT'] = 443; } else { header("Location: https://plocr.cz".$_SERVER['REQUEST_URI']); } define( 'WP_HOME', 'http://plocr.cz' ); define( 'WP_SITEURL', 'http://plocr.cz' ); Warning: Cannot modify header information - headers already sent by (output started at /home/domains/plocr.cz/www_root/wp-config.php:1) in /home/domains/plocr.cz/www_root/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /home/domains/plocr.cz/www_root/wp-config.php:1) in /home/domains/plocr.cz/www_root/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /home/domains/plocr.cz/www_root/wp-config.php:1) in /home/domains/plocr.cz/www_root/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /home/domains/plocr.cz/www_root/wp-config.php:1) in /home/domains/plocr.cz/www_root/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /home/domains/plocr.cz/www_root/wp-config.php:1) in /home/domains/plocr.cz/www_root/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /home/domains/plocr.cz/www_root/wp-config.php:1) in /home/domains/plocr.cz/www_root/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /home/domains/plocr.cz/www_root/wp-config.php:1) in /home/domains/plocr.cz/www_root/wp-includes/rest-api/class-wp-rest-server.php on line 1831 Warning: Cannot modify header information - headers already sent by (output started at /home/domains/plocr.cz/www_root/wp-config.php:1) in /home/domains/plocr.cz/www_root/wp-includes/rest-api/class-wp-rest-server.php on line 1831 {"id":529,"date":"2015-07-17T12:52:17","date_gmt":"2015-07-17T12:52:17","guid":{"rendered":"http:\/\/capethemes.com\/demo\/industry\/?page_id=529"},"modified":"2017-01-14T14:18:45","modified_gmt":"2017-01-14T13:18:45","slug":"kachlove_sporaky","status":"publish","type":"page","link":"https:\/\/plocr.cz\/templates\/kachlove_sporaky\/","title":{"rendered":"Kachlov\u00e9 spor\u00e1ky"},"content":{"rendered":"