2015-02-18, 12:08:09
Tried to hack around this... I got the form to work with canonical redirects by doing my best to remove the query string. I'm not very clear on what the point of it was though, so please review. As far as I can tell, the plugin is still functional without it.
Changes to cbcontact_form.php:
- Comment out Lines 254 - 256
- Remove query string from form action Line 369
-- Original:
-- Edited:
Changes to comprueba.php:
- Comment out if clause that checks for query string.
Line 32, open:
Line 216, close:
Changes to cbcontact_form.php:
- Comment out Lines 254 - 256
PHP Code:
// if ($PRETTYURLS !='') {
// $idpret = $idpret.'?';
// }
- Remove query string from form action Line 369
-- Original:
PHP Code:
$cbcontactform = '<form id="cbform" class="" action="'. $idpret.'&tp=contact" method="post">';
PHP Code:
$cbcontactform = '<form id="cbform" class="" action="'. $idpret.'" method="post">';
Changes to comprueba.php:
- Comment out if clause that checks for query string.
Line 32, open:
PHP Code:
// if (@$_GET['tp'] == 'contact') {
PHP Code:
// }