Skip to content

Commit 702c01f

Browse files
committed
Make Email not use a language setting in the links to google. Thanks to mwight4.
1 parent 032227f commit 702c01f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/GoogleMarkupHelper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function checkUrl($url)
5252
"content-type: application/x-www-form-urlencoded;charset=UTF-8",
5353
"origin: https://search.google.com",
5454
"postman-token: 7ee787bf-1fe1-30c6-0b76-3dce8926bd5b",
55-
"referer: https://search.google.com/structured-data/testing-tool/u/0/?hl=it",
55+
"referer: https://search.google.com/structured-data/testing-tool/u/0/",
5656
"user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"
5757
),
5858
);

src/views/mail.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
color: darkorange;font-weight:bold;
6363
@endif
6464
'>
65-
<td><a href="https://search.google.com/structured-data/testing-tool/u/0/?hl=it#url=<?php echo urlencode($nameOriginal); ?>">
65+
<td><a href="https://search.google.com/structured-data/testing-tool/u/0/#url=<?php echo urlencode($nameOriginal); ?>">
6666
{{ $nameOriginal }}
6767
</a>
6868
</td>

0 commit comments

Comments
 (0)