New Zenner
- Join Date:
- Jul 2005
- Posts:
- 18
- Plugin Contributions:
- 0
Newsletter Subscribe + Ultimate SEO not playing together nice in 1.3.7 -- quick fix
Hi,
I noticed that I couldn't make Newsletter Subscribe play nice with Ultimate SEO on 1.3.7.
Digging a little in the code indicated to me that there was a problem with the POST variables from the Newsletter Subscribe module being lost during the 301 redirect done by the SEO module.
As a quick fix, I selectively disabled the Ulimate SEO redirection for the subscribe and subscribe_confirm pages as follows:
in includes/classes/seo.url.php
change
if ($this->attributes['USE_SEO_REDIRECT'] == 'true'){
to
if ($this->attributes['USE_SEO_REDIRECT'] == 'true' && $_GET[ "main_page" ] != "subscribe" && $_GET[ "main_page" ] != "subscribe_confirm" ){
Anybody want to offer whether this is a decent way to fix this problem?
Thanks,
-Zach