Skip to content

skip htaccess rewrites on local env#455

Closed
circlecube wants to merge 1 commit intomainfrom
fix/local-htaccess-issues
Closed

skip htaccess rewrites on local env#455
circlecube wants to merge 1 commit intomainfrom
fix/local-htaccess-issues

Conversation

@circlecube
Copy link
Member

Proposed changes

The htaccess rewriting has been breaking my local setup recently. This will skip them on local. if wp_get_environment_type is local it sets is_apache to false and the htaccess isn't redone.

Type of Change

Production

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Dependency update
  • Refactoring / housekeeping (changes to files not directly related to functionality)

Development

  • Tests
  • Dependency update
  • Environment update / refactoring
  • Documentation Update

Visual

Checklist

  • I have read the CONTRIBUTING doc
  • I have viewed my change in a web-browser
  • Linting and tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

Further comments

@circlecube circlecube self-assigned this Feb 10, 2026
@circlecube circlecube requested a review from a team as a code owner February 10, 2026 21:25
@github-actions
Copy link
Contributor

@circlecube circlecube closed this Feb 10, 2026
@circlecube circlecube deleted the fix/local-htaccess-issues branch February 10, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant