Support

Home Forums Event Espresso Premium EE4 works on www but not on root of domain (no www in address)

EE4 works on www but not on root of domain (no www in address)

Posted: June 16, 2014 at 7:35 pm


Chris Stambaugh

June 16, 2014 at 7:35 pm

Hi,

If someone comes to my site through http://www.bsop.ca everything works great.

If someone comes to my site just through bsop.ca, as soon as they try to choose a quantity and then hit the register button, they get a warning that the page they are about to go to is not encrypted, and then when they click continue, they either get a 403 error or just a blank page, depending on the browser they use.

Not sure what is going on but would sure appreciate some help.

Thanks,

Paul


Chris Stambaugh

June 16, 2014 at 7:51 pm

I’ve discovered by hovering over the Register Now button, the address displayed on the status line on the bottom of the browser isn’t an https address, but just a http address.

I’ve also discovered that on the IE browser, they get this error in a pop-up window:

An error has occurred:
We’re sorry but your request failed to pass a security check.
Please click the back button on your browser and try again.
TCKSLC-DTCKSLC-PROTICSEL-293

Please help.

Paul


Chris Stambaugh

June 16, 2014 at 8:12 pm

I’ll also add that I’ve disabled my caching engine (WP Super Cache) with no positive effect.

Paul


Josh

  • Support Staff

June 16, 2014 at 8:39 pm

Hi Paul,
It sounds like your .htaccess file and possibly the DNS aren’t set up correctly. You’ll want to make sure everything resolves to one (with www) or the other (no www). You can contact your host to help resolve this or if you want to change this yourself, there are guides like this one.

One thing to keep in mind with hovering over a link to a page (like the register button from an event page) if the registration checkout page is set up to redirect to https, it’s a redirection. The link to your page is still http, but it redirects to https via your https plugin or special .htaccess rule.


Chris Stambaugh

June 16, 2014 at 8:44 pm

Josh,

Everything is set up so that bsop.ca ends up at http://www.bsop.ca.

That was a red-herring though, and I created a separate ticket with a clearer indication of the issue.

Please feel free to re-close this ticket and we’ll concentrate on the newer one I created.

Paul


Josh

  • Support Staff

June 16, 2014 at 8:58 pm

Why do you think it’s a red herring Paul?


Chris Stambaugh

June 16, 2014 at 9:01 pm

Josh,

I think it’s a red-herring because I discovered the real problem, detailed in the other ticket. I first thought the issue was bsop.ca versus http://www.bsop.ca.

However, entering bsop.ca redirects to http://www.bsop.ca and the problem is still there in any browser that isn’t chrome.

That’s what I meant when I indicated that this ticket (and my descriptors) were a red-herring because it isn’t the real issue.

Sorry for the confusion.

Paul


Josh

  • Support Staff

June 16, 2014 at 9:15 pm

You still should review the .htaccess file because a 403 error or a blank page indicates a redirect isn’t set up right.


Chris Stambaugh

June 16, 2014 at 9:36 pm

Josh,

That’s the thing.

Nothing there has changed.

This is my .htaccess file:

SuPHP_ConfigPath /home/bsopca/public_html/php.ini
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]
# BEGIN WPSuperCache
# END WPSuperCache

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteOptions inherit
RewriteCond %{HTTP_REFERER} .*ask.com.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*google.*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*msn.com*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*bing.com*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*live.com*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*aol.com*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*altavista.com*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*excite.com*$ [NC,OR]
RewriteCond %{HTTP_REFERER} .*search.yahoo*$ [NC]
</IfModule>

Paul


Josh

  • Support Staff

June 16, 2014 at 9:53 pm

Are you sure nothing has changed? Do you have a backup of the .htaccess file from when Event Espresso was working earlier that you can compare to?

The support post ‘EE4 works on www but not on root of domain (no www in address)’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso