• Resolved dskbrk

    (@dskbrk)


    Hello,

    I just moved a WP multisite install to the server production. Sites are configured on subdirectories

    Everything went fine but now canonical urls for pages on the main site are broken, they all redirect to http://domain.com (without www)

    Posts and other pages (archives, etc) work just fine.

    What can I do?

Viewing 1 replies (of 1 total)
  • Thread Starter dskbrk

    (@dskbrk)

    sorted out setting the domain name with www.:

    define( 'DOMAIN_CURRENT_SITE', 'www.domain.xxx' ); // it was without www.

    in wp-config.php. Now everything is working fine.

Viewing 1 replies (of 1 total)
  • The topic ‘Canonical urls for pages on main site are broken’ is closed to new replies.