Closed StirStudios closed 11 months ago
I can't comment on this as I'm not that familiar with Drupal or work done in Lupus Decoupled Drupal. @fago can you look at this? On the nuxtjs-drupal-ce side, we have redirects solved (if returned from ce-api page response). So this isn't a nuxtjs-drupal-ce issue.
Yes, that's supported out of the box. Lupus CE Renderer returns a redirect response, while the nuxt-drupal-ce applies it. So not sure how it's not working for you, let's try to reproduce in a fresh GitPod environment.
@StirStudios More info on how to do that, here: https://www.drupal.org/project/lupus_decoupled#try
Got it, I thought it would have been supported already but when I tested the redirect was not working. I will run some more tests and see what happens and report back.
@StirStudios Did you manage to test the redirects? I'd like to close this issue.
@TurtlBbx thanks for your patience. I was able to test it locally and it does in fact work. So this is great news and yet another +1 for the integration!
If you use the Redirect module for nodes and update the url, for best practices you want the old URL to redirect to the new URL. The Redirect module does a great job at this. Is this something you would look to add in the future?
Example: /about -> /about-us
I tested this first to make sure this was not automatically supported and it was not.