Skip to content

Magento 2 changes to pub/.htaccess doesn't reflect #3415

Closed

Description

@VivekShingala

Hi

I am using deployer for a Magento 2 website, and recently I have added some rewrite rules to the pub/.htaccess file and pushed the changes.

However, when I deploy the changes, the original file is being deployed on the server. Has anyone experienced the same issue and has it been resolved already?

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

Activity

  1. Schrank commented on Dec 23, 2022

    @Schrank
    Contributor

    You pushed changes to git and they are not deployed?

    This sounds like you have pub/.htaccess in the shared files and therefore you either need to change the deployment, so it is NOT shared or do the changes directly on production in the symlinked file

  2. locked and limited conversation to collaborators on Dec 23, 2022
  3. converted this issue into a discussion #3416 on Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions