Hi.
I found this. On config file you have comment ...set null for URL::current() //is without query string
|
'canonical' => false, // Set null for using Url::current(), set false to total remove |
On Fasade class SEOMeta.class you have methon getCanonical() check link
|
return $this->canonical ?: (($canonical_config === null) ? app('url')->full() : $canonical_config); |
Inside this method you have when is null use app('url')->full(); // url full is with query string
\Laravel documentation URL: https://laravel.com/docs/5.8/urls
copied code
// Get the current URL without the query string...
echo url()->current();
// Get the current URL including the query string...
echo url()->full();
// Get the full URL for the previous request...
echo url()->previous();
Hi.
I found this. On config file you have comment ...set null for URL::current() //is without query string
seotools/src/resources/config/seotools.php
Line 13 in 34794e6
On Fasade class SEOMeta.class you have methon getCanonical() check link
seotools/src/SEOTools/SEOMeta.php
Line 535 in 34794e6
Inside this method you have when is null use app('url')->full(); // url full is with query string
\Laravel documentation URL: https://laravel.com/docs/5.8/urls
copied code
// Get the current URL without the query string...echo url()->current();// Get the current URL including the query string...echo url()->full();// Get the full URL for the previous request...echo url()->previous();