While working with domain module to implement multi-domain sites, we have faced an issue with canonical url which shows relative paths instead of absolute path. I think domain_source module can handle the issue with canonical by referring source domain as canonical for all nodes (if available), and for all other pages default domain can be set as canonical.

Is it good to patch the domain_source module or implement a sub-module for the domain access module, which does the same?

Comments

deepakrmklm’s picture

Issue summary: View changes
deepakrmklm’s picture

Status: Active » Needs review
agentrickard’s picture

Category: Feature request » Support request
Priority: Major » Normal
Status: Needs review » Postponed (maintainer needs more info)

I don't understand the request here. Perhaps something has changed, but earlier versions of Drupal 7 just handled this properly.

agentrickard’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

This should work correctly when either a) Domain Source module is enabled; b) SEO optimization is turned to 'Rewrite all URLs to point to a single source.'

The process by which URLs are pointed to a canonical source marks them as 'absolute' URLs, which is picked up by the canonical tag.