I can access to one site by few different URLs |
(09-20-2019, 06:21 AM)mk27 Wrote:(09-20-2019, 05:51 AM)John_Betong Wrote: Try this link and read the Google recommendations: I pass the required Controller's $data['canonical'] to the view and echo $canonical PHP Code: // Controller The above script has not been tested but you should get the general idea. It depends if you are using "Pretty Urls" or just index.php. Try the script and test it with all URL variations. the canonical link should be identical in every case. |
Messages In This Thread |
I can access to one site by few different URLs - by mk27 - 09-20-2019, 05:33 AM
RE: I can access to one site by few different URLs - by John_Betong - 09-20-2019, 05:51 AM
RE: I can access to one site by few different URLs - by mk27 - 09-20-2019, 06:21 AM
RE: I can access to one site by few different URLs - by John_Betong - 09-20-2019, 06:59 AM
|