Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @foreach ($link as $node)
- @if(!$node->getAttribute('rel')=='stylesheet' && $node->nodeValue >! 0))
- <?php $showErrorMessage = 1; ?>
- @elseif($node->getAttribute('rel')=='stylesheet' && $node->nodeValue > 0)
- <?php $showErrorMessage = 0; ?>
- {{$node->getAttribute('href'), PHP_EOL}}
- @endif
- @endforeach
- @if($showErrorMessage == 1)
- <p class="red">Geen canonical url</p>
- @endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement