Skip to content

Appreciate any guidance on a subdirectory deployment #370

Closed
@saedabdu

Description

@saedabdu

Hello folks,

I'm having a hard time getting my WP deployment to properly work without any broken links trying to have it served under a subdirectory /blog.
I have used info from Codex to have those changes incorporated in the image. but no success so far.
Also in my k8s ingress i have this configuration snippet which handles the rewriting rules as follows,

nginx.ingress.kubernetes.io/configuration-snippet: |
  rewrite /blog/(.*) /$1 break;
  rewrite /wp-admin(.*) /blog/wp-admin$1 break;

I still have those 404 when trying to publish new posts.

Any guidance is extremely appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionUsability question, not directly related to an error with the image

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions