There are 3 types of links for the nodes of my Drupal site.
- The failure
- Links with the URL alias in English. Ex:
- Links with alias URL that has Hindi text. Ex:
I'm migrating comments from
Drupal 8 at
First, I export the comments in the XML format provided by Disqus.
Then I import the XML file into Disqus.
It works very well for nodes with links of the first two types. But for nodes with a third type of links (
with Hindi text in the links), the comments of disks are not displayed. Comments appear to be imported into the admin dashboard but are not loaded on the website.
In the XML file, the links are written in this
Until now, I've tried using these functions for the link / alias before exporting to an XML file.
rawurldecode ($ alias) urldecode ($ alias) rawurlencode ($ alias) urlencode ($ alias) check_url ($ alias) // drupal function
I do not know which function to use before exporting the link to an XML file. Please suggest. Thank you.