Вопрос

Drupal newbie here!

So I enabled Clean URLs by checking the box for enabling clean URLs under the configuration. Ir works, as in there's no 'q=' and '?' in the URL but when I create a node the URL for it is given as example.com/node/x where x is a number.

How do I fix this?

Thanks!

Это было полезно?

Решение

As you noted, clean URLs work for you.

You are probably looking for a way to change the URL path of a node.

Drupal comes with the Path module. Enable it and you’ll be able to provide an alternative URL in the node edit form.

For further functionality: Pathauto is one of the most popular Drupal modules. It allows to automate the creation of those URLs.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top