0

I'm having an issue with the code below.

As of right now, my domain is http://www.mydomain.com. When I try to click on the register link, I get an error saying:

--This webpage has a redirect loop--

$link2 = '<a href="' . esc_url(site_url('/register')) . '" title="' . esc_attr(__('Register')) . '">' . esc_attr(__('Register')) . '</a>';

The register page is an SSL page so it uses the HTTPS protocol.

Can someone please help me?

  • Your question stands it does not appear to be relevant to WordPress (nor does mydomain.com appear to be running WordPress), and as such may well fall outside the scope of our community as "off-topic." Please review the How to Ask section of the Help Center for more information regarding what kinds of questions fit well at WPSE, as well as what goes into writing a good question. If this question is strictly regarding PHP, you may find better assistance posting your question at Webmasters or Stack Overflow. – bosco Jan 28 '14 at 19:13
  • Make sure you aren't caught by the SSL proxy problem. There's a test script in this plugin that will tell you if WordPress can detect SSL properly. – webaware Feb 1 '14 at 21:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.