Nikolai907 Nikolai907 - 6 months ago 20
HTML Question

My links are not valid 404 - but they work

I'm making a HTML email, and both and APSIS (used for the mailsending) says my links are not valid. even says it's due to 404 error.

But the links seems to work perfectly, and there are no redirects on the landing pages.
I've tried without "http://www." without "http://" and with "https://www." nothing works.

One of the links are:

Does anyone know what's going on?


I ran a quick test and it shows that your is redirecting and it goes in the redirection loop.

I used the PHP code below to run the test and it displays 302 status.


$ch = curl_init();

curl_setopt($ch, CURLOPT_URL, '');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_HEADER, 1);

$response = curl_exec($ch);



Output from above code

string(1482) "HTTP/1.1 302 Found
Date: Thu, 22 Sep 2016 12:08:19 GMT
Content-Type: text/html;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
Set-Cookie: __cfduid=deab085ac358b1274491824dc5d66f1fa1474546098; expires=Fri, 22-Sep-17 12:08:18 GMT; path=/;; HttpOnly
Set-Cookie: dwac_bc082iaaiTywMaaadqlmYUVd5G=lUjZtUYWQgLlxQ-B8pRhFjq09pk656tca_c%3D|dw-only|||EUR|false|Etc%2FUTC|true; Path=/
Set-Cookie: cqcid=abW4tbokf50J6NfqTag61V8Hut; Path=/
Set-Cookie: sid=lUjZtUYWQgLlxQ-B8pRhFjq09p"...

Also See the screenshot below which shows three 302 status before actually getting to the url.

Redirection Loop So, it looks the url is indeed invalid. It goes into redirection loop. You should talk to your server guy to resolve this issue. Let us know if this helped you to resolve your issue or not.