Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Redirect from install.php to core/install.php #64

Open
greg-1-anderson opened this issue Aug 26, 2015 · 3 comments
Open

Redirect from install.php to core/install.php #64

greg-1-anderson opened this issue Aug 26, 2015 · 3 comments

Comments

@greg-1-anderson
Copy link
Member

Help Drupal 7 folks who are used to the old path.

@greg-1-anderson
Copy link
Member Author

Per Josh, we are not going to try to solve problems that Drupal core is not solving. Since the "Drupal 8" way is to go directly to core/install.php on reinstall, that is what we will require on Pantheon as well.

@greg-1-anderson
Copy link
Member Author

We might want to revisit this decision, as Drupal 8 core now does this redirect as a service:

  # Redirect common PHP files to their new locations.
  RewriteCond %{REQUEST_URI} ^(.*)?/(install.php) [OR]
  RewriteCond %{REQUEST_URI} ^(.*)?/(rebuild.php)
  RewriteCond %{REQUEST_URI} !core
  RewriteRule ^ %1/core/%2 [L,QSA,R=301]

@greg-1-anderson
Copy link
Member Author

Most folks won't try to go directly to the old location, so this is something of an edge case; downgrading to 'enhancement'.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant