Since version 4.7.0 Drupal removes tag and placed to all links slash before (/node/1). This works, but it cause, that search engines like google doesn't indexing subpages (of course with CleanURL activated) like (/node/5).
It is possible to add option, to enable absolute urls to all drupal links? Because, when I changed function url to return only absolut url, google start to indexing subpages. Or it will be possible, back to base href tag and remove slash?
Another problem is, when I change function "url()", and function to returns base_href, it works only for links (in nodes), but not for images. And also it doesn't work for forms, it still have "/action" without domain.
Comments
Comment #1
killes@www.drop.org commentednew features go into devel version.
Comment #2
gregglesMoving and providing a more descriptive title. I'm not sure if there are any drawbacks to having l() and url() provide full absolute URLs. It makes sense to me.
@kecinzer - do you have a patch of your modified version of those functions?
Comment #3
pasqualleComment #4
xanoIs this Google problem still an issue now in 2008?
Comment #5
lilou commented-1 :
See : http://www.searchenginejournal.com/seo-internal-interlinking-relative-vs... :
Comment #6
sun.core commentedYou can do that using a custom_url_rewrite() function.