HELLO, I'm having problem with pathauto module on my Drupal 8 site. It is working fine with default content types (article ) but not with custom content type that I created please help.

CommentFileSizeAuthor
#8 pathauto.png25.4 KBmatthieuscarset
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mohammed_zohan created an issue. See original summary.

mtift’s picture

Project: Test Drupal 8 Module » Pathauto
Version: » 8.x-1.x-dev
hughmccracken’s picture

Hi Mohammed

Just double-checked with Path_auto 8.x-1.0-alpha3 on fairly basic install of Drupal 8.1.9.

Key steps are to add a pattern at /admin/config/search/path/patterns

Typical pattern is to pick up the content author's node title, using the [node:title] token.
One also needs to assign a condition - so its applied to the appropriate content type(s). Sounds like you've got the pattern applied to article and page, but not the new content type? Might pay to check that.

Also - the pattern will be applied by default to new nodes of the new content type.
Content already added will need to be edited - either:

- one by one: edit the URL Path Settings - check the box "Generate automatic URL alias" and save.

OR

- head to /admin/config/search/path/update_bulk and select which types to generate aliases.

hope this helps!
regards
Hugh

mohammed_zohan’s picture

Thanks it worked

Berdir’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

steus’s picture

I had similar problem.
Itintially I placed Capitalized path titles (titles, not patterns) - it not works
after changing to lowecased titles all stay ok

matthieuscarset’s picture

FileSize
25.4 KB

Was having the same issue.

Path patterns do not work if the name is not all lowercase.

Illustration of working/not working path patterns