All URL meta tags, i.e. canonical, shortlink and og:url, should use the absolute URL by default.

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new1.82 KB

This should do it. It assigns global default values for canonical, shortlink and og:url.

Status: Needs review » Needs work

The last submitted patch, metatag-n1799142.patch, failed testing.

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new1.75 KB

This should work.

damienmckenna’s picture

Status: Needs review » Fixed

I've committed this.

damienmckenna’s picture

Status: Fixed » Needs review
StatusFileSize
new492 bytes

The shortlink needs an override for the global:frontpage so it links to just the root page.

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ACD’s picture

I created an order form using webform module. My form contains select box. Default value of select box depends on GET variable - supposed to be the last argument in the path. Also I created 3 path aliases for: node/22/opt1, node/22/opt2 ,node/22/opt3. So we have:

0. defaul form page - http://site.name/order (sys path - node/22)
1. form state for the 1st select option - http://site.name/order/opt1 (alias)
2. form state for the 2nd select option - http://site.name/order/opt2 (alias)
3. form state for the 3rd select option - http://site.name/order/opt3 (alias)

It works fine. But, the problem is that canonical link is absolute only on the default form page - /order.
On all other pages it appears like "/order" instead of "http://site.name/order".

The same situation with shortlink.

Any ideas?
Thanks in advance.

damienmckenna’s picture

@ACD: Please open a new issue for this request. Thanks.

damienmckenna’s picture

Assigned: damienmckenna » Unassigned
Issue summary: View changes