1

I'm using Pantheon and there doesn't seem to be a way to update nginx/apache config.

One of my templates is actually a single page app, and I'd like to tell Drupal to serve /node/1 for a couple of URIs.

Get the current path alias or path? shows how I am able to get the current path in the .theme file.

Is there a way to serve a specific node for certain paths?

1 Answer 1

1

Core has URL aliasing built in, and having multiple aliases for a single path is supported.

You can manage these at /admin/config/search/path (assuming you have the core Path module enabled).

1
  • I think we are only able to add one URL alias per node, but here: /admin/config/search/path, we can add as many as is needed (one by one). Commented Jul 6, 2017 at 18:45

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.