Forum Support

 
Advanced Search


[1]

Offline jonahh
Free Member
Posts: 23789 WWW
Posted on: June 27, 2014, 04:40:37 PM

If you module works and there are no errors and you get the email but no URL is in the email this is most likely caused because your site isn't using www before the domain URL.  If you manually add www and then it works this is the issue.  To fix just add the below to top of your index.php file of the template you are using/;


Code:
$url = $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
if ( "www." != substr( $_SERVER[ 'HTTP_HOST' ] , 0 , 4) ) {
$url = "http://www.".$_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
header('Location:'.$url);
}
Logged
[1]

Jump to:  


Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Page created in 0.017 seconds with 20 queries.
Need some help getting your site up and running? Be sure to check out our tutorials area, post on the forum or hire us
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.