I have so many content type like article, contribution, event, c_program etc.

For all content url alias is,

[site_name]/[content type name]/title

But we have some url alias that are like this,

[site name]/title

So, I want to list all url of,

[site name]/title format

How I can I list them out?

  • Just wondering, why do you want to list them out?
    – No Sssweat
    Jul 29, 2016 at 9:44
  • I guess the OP needs to correct the latter type of path aliases.
    – apaderno
    Jul 29, 2016 at 11:06
  • You could query the url_alias table.
    – DiDebru
    Mar 18, 2019 at 14:08

2 Answers 2


Use Drupal Pathauto

After enabling it go to admin/config/search/path/patterns and under Default path pattern (applies to all content types with blank patterns below) fieldset you'll get what you want.

Add your desired format there:


enter image description here

Once the configuration is done, click on admin/config/search/path/update_bulk and select Content paths from the given options.


You can use Views Excel Export. And export all URL's and filter them in Microsoft excel

Simple module that allows to export Views data to Excel (xls).

Uses php-excel class with UTF8 support.

  • In that case, the OP should first create a view showing all the path aliases, should not he?
    – apaderno
    Jul 29, 2016 at 11:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.