Thread:Project:Support desk/enabled canonical urls in 1.19

How do I get canonical urls to work on my site - version 1.19. I added $wgServer='http:/sitename.com' in localsettings.php is this all I can do?