While the following question is totally general and theoretical, it is based on a more particular case regarding the current development state of the simple_sitmeap module developed for Drupal 8 and aimed to replace the xml_sitemap module for Drupal 7. Please read the current discussion in Drupal.org (starting from comment #3) and then read here below.
Do you think it is dangerous or problematic to send to Google an XML sitemap that contains only (or mostly), permalinks (instead of aliases)?
In Drupal, permalinks look like this. They are also known as "short links". They are used when there is no alias for the page that would create a friendlier looking URL.
An alias URL typically looks like this:
The user can manually assign an alias for the page, or install the Pathauto module that generates alias URLs based on the page title. While an alias link might change if the page title changes, the permalink will not.
- If an alias URL exists, it would be desirable to have that friendly URL indexed. If Google indexes the permalink instead, that would be problematic.
- It would be nice if Google uses the permalinks to discover and index the alias URLs.
AFAIK, Google and any other major SE like Bing, always crawls a page and get its alias; I am sure 99% that it will happen this time and the SERP will display aliases, but I can't say for sure given the fact I never sent an XML sitemap that includes permalinks.
Closetnoc, I really don't want to do this; It's just that Drupal 8 is very new and the only xml_sitemap module available for it do it because of technical problem that the maintainer didn't have time to solve yet, and for now its the only option.
Stephen, I mean that what might appear in the SERP, are permalinks instead of aliases (it's unlikely in about 99% but I can't say for 100% as I never sent a sitemap with permalinks).
I can't say if its a redirect in the classic sense of 301's as I know Drupal just does "Aliasing" for each node with an internal Drupal 8 mechanism available under Config > Search & Metadata > URL aliases. Here is an example of the page that lets you do that: