문제

I'm using wordpress on app engine. I connected my custom domain, but of course the site is also available in app-id.appspot.com. I want to make my custom domain the canonical url. Usually, in wordpress, SEO plugins create the canonical domain from the site url setting, but in app engine this setting is not editable, but set dynamically according to the host you use to view the site.

So, in short, what's the best solution to create a canonical meta tag in wordpress under app engine?

도움이 되었습니까?

해결책

My solution for now is disabling the canonical tag created by the SEO plugin, and insert my own tag in header.php with the right domain hardcoded.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top