Use the node alias for the Disqus displayed URL
timmillwood - December 5, 2008 - 20:54
| Project: | Disqus |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | yha |
| Status: | needs review |
Description
I have found that different comments are displayed on a node depending on the URL.
http://millwoodonline.co.uk/perfect-drupal-development-environment and http://millwoodonline.co.uk/node/106 are the same node, but the comments are different.

#1
Definitely is a problem. I'll have a hack at it this weekend.
#2
I just made a huge commit with an upgrade path to change the URLs on Disqus from /path/alias to /node/%nid . Since you're the only one I know of using Disqus with the path aliases, mind testing this? On my local box it worked, but I'd love more tests! :-)
Pretty much just overwrite all the files and run update.php ;-) . It'll go through all your nodes and update the path to use node/%.
#3
Sure, I am in the process of moving server and tidying / updating all the modules. Will try to feedback ASAP.
#4
subscribe.
#5
#343363: Use the direct node path rather then the node's alias.
it makes duplicate entry at my sites.
how do I use the node's alias than the direct node path to every comments link/disqus comments?
#6
The problem with using the path alias is that if the path alias changes, then you'll loose the discussion thread. Using the node path (node/#) ensures that the discussion thread stays the same even if the path changes.
#7
i think link to disqus thread on node links should be using the node alias.
node/[nid]#disqus_thread » [node_alias]#disqus_thread
#8
One important thing to note is that we have to keep the Disqus Identifier the same. Not sure if this will work, but it's worth a try.