For SEO purposes, it might make more sense to tweet a path alias rather than "http://example.com/node/123" so that you aren't publishing duplicate content.

Version 2.0-dev appears to explicitly create a non-aliased link. Is there a reason for this, other than length?

Comments

kevin hankens’s picture

Title: SOLVED Use path alias in tweets » Use path alias in tweets
Status: Closed (fixed) » Active
StatusFileSize
new898 bytes
new804 bytes

Here are a couple of patches... if this even makes sense to change :)

Version 2.0: twitter2-0-386220-1.patch.txt
Version 2.0-dev: twitter2-Dev-386220-1.patch.txt

Sorry to post both in one issue!! Please let me know if this is bad.

Patch for 2.0 may still be applicable?

kevin hankens’s picture

Title: Use path alias in tweets » SOLVED Use path alias in tweets
Status: Active » Closed (fixed)

Ugh. Totally missed the tokens in the URL Formatting String.

Sorry :)

dsnydernc’s picture

Title: Use path alias in tweets » SOLVED Use path alias in tweets
Version: 6.x-2.0 » 5.x-1.x-dev

Can this somehow be backported to D5? ...really want this feature.

plan9’s picture

An alternative to this patch is to change the weight of the twitter module in the database as discussed here: http://drupal.org/node/242108

I did this myself and it works great. I ran the following mysql query in phpMyAdmin:

UPDATE system SET weight=3 WHERE name='twitter'

(Back up your database first of course - just in case of any typos, etc)

killua99’s picture

Status: Active » Closed (won't fix)

Drupal 5 is not maintenance any more, If this issue occurs in any version for Drupal 6 or Drupal 7 reopen this issue.