bitnami / vms

Bitnami VMs
https://bitnami.com
Other
203 stars 43 forks source link

[wordpress] Can't configure bitnami wordpress 301 redirects (Nginx) #1376

Closed nvsajeeva closed 7 months ago

nvsajeeva commented 7 months ago

Platform

AWS

bndiagnostic ID know more about bndiagnostic ID

84b6ed50-1bd2-ed56-d107-e802faca4308

bndiagnostic output

No response

bndiagnostic was not useful. Could you please tell us why?

This is to seek advise on a configuration. Not an issue

Describe your issue as much as you can

Hello, I have bitnami wordpress (nginx) installation on AWS (deployed through AWS marketplace). I have been trying to configure a simple redirect as follows, with no success. Whenever, someone visits https://mydomain.com/section1/page1.php, it should be redirected to https://mydomain/section2/page1.php

I found a few bitnami articles, but those are related to apache. Please kindly advise. Thanks.

mdhont commented 7 months ago

The following Bitnami Nginx guides might be helpful:

https://docs.bitnami.com/aws/infrastructure/nginx/configuration/understand-default-config-nginx/
https://docs.bitnami.com/aws/infrastructure/nginx/configuration/create-vhost-nginx/

For learning how to apply redirect rules for Nginx I recommend the official documentation:

https://www.nginx.com/blog/creating-nginx-rewrite-rules/

github-actions[bot] commented 7 months ago

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

github-actions[bot] commented 7 months ago

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.