By ThePickwickProject on
For some reason, the link behind a blog entry loses the domain. I use pathauto and it's working great for all other nodes with similar settings.
Example:
(note: I use i18n)
Pathauto settings for Blog entry: [title-raw]-[nid]
Create blog entry "This is a blog post'
Expected when you click a link on the blog page of the user: http://www.domain.com/en/this-is-a-blog-post-123
But what you get is: http:///en/this-is-a-blog-post-123
Does anyone have any ideas?
Comments
what generates the link?
You say "expected when you click a link on the blog page of the user" but what is the "blog page of the user"? Is that example.com/blog/UID ?
Are you using any other modules (global redirect?)
Is this 5.x or 6.x?
--
Open Prediction Markets | Drupal Dashboard | Learn more about Drupal - buy a Drupal Book
--
Morris Animal Foundation
The blog page of the user is
The blog page of the user is http://www.domain.com/nl/blogs/username.
I have quite some modules in use, but the ones most relevant are probaly pathauto and i18n.
I'm not using global redirect (due to issues with i18n) and my Drupal version is 5.3.
I'm still experiencing this
I'm still experiencing this issue. The "read more" button below the blogpost works fine, only the title fails.
This is the blog: http://www.pets.be/nl/blogs/kristin-van-pets
I tried changing pathauto settings for blogs, but that didn't help.
theme issue?
This looks like a theme issue to me (or some other module along the way).
The links for blog titles look like http://nl/content/hulp-gevraag-voor-10-maanden-oude-cassie That is missing the whole domain! If you add in the domain then the link works fine. Can you try a different theme and see if that fixes the problem? Does this problem happen for all node titles or just for blog titles. If it's just for blog titles then I imagine that it is a problem with a module/theme specific to that.
--
Open Prediction Markets | Drupal Dashboard | Learn more about Drupal - buy a Drupal Book
--
Morris Animal Foundation
Thanks Greggles, that solved
Thanks Greggles, that solved the issue. Apparently a lost node-blog.tpl.php was in my themefolder. The issue was solved by removing that file. Thanks!