Exit after redirecting

Permalink Browser Info Environment
Page redirect with this add-on fails due to full page caching. To avoid to create the page's cache, you should exit after redirect.

$nh = Loader::Helper('navigation');
   header('Location: '.$nh->getLinkToCollection($npage, true));
+   exit;


Thanks!

Type: Discussion
Status: New
hissy
View Replies:

concrete5 Environment Information

# concrete5 バージョン
5.6.2.1

# concrete5 パッケージ
Add annotation tags (0.0.1), Designer Content (3.1.1), Export Pages to CSV (0.1), Manual Nav (1.3), Page Auto Redirect (2.0), Page Redirect (1.4), Page Selector Attribute (1.1), Sample Content and Install Generator (0.9), Where Is My Block? (1.1),

# concrete5 オーバーライド
blocks/autonav, blocks/content, blocks/tv_search, blocks/side_banner, blocks/external_form, blocks/safe_js, blocks/manual_nav, elements/profile, elements/block_view_type_setting.php, elements/editor_config.php, helpers/navigation.php, helpers/pagination_price.php, js/ccm.app.js_bk_21102014, js/tiny_mce, js/ccm.app.js, languages/ja_JP, libraries/request.php, libraries/request_bk_21102014.php, libraries/3rdparty, libraries/mobile_path_replace.php, models/area.php, models/block.php, single_pages/page_not_found.php, tools/disable_mobile.php, tools/pages, tools/edit_block_popup.php, tools/INSTALL

# サーバーソフトウェア
Apache/2.2.15 (CentOS)

# サーバーAPI
apache2handler

# PHPバージョン
5.3.3

# PHP エクステンション
apache2handler, apc, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, json, libxml, mbstring, mysql, mysqli, newrelic, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib.

# PHP 設定
max_execution_time - 0
apc.max_file_size - 2M
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 180
max_input_vars - 4000
memory_limit - 512M
post_max_size - 32M
safe_mode - Off
safe_mode_exec_dir - <i>no value</i>
safe_mode_gid - Off
safe_mode_include_dir - <i>no value</i>
sql.safe_mode - Off
upload_max_filesize - 32M
mysql.max_links - Unlimited
mysql.max_persistent - Unlimited
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
newrelic.special.max_nesting_level - -1
pcre.backtrack_limit - 100000
pcre.recursion_limit - 100000
session.cache_limiter - nocache
session.gc_maxlifetime - 7200
safe_mode_allowed_env_vars - PHP_
safe_mode_protected_env_vars - LD_LIBRARY_PATH

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.