Redirects outside of the main .htaccess file ignored after merge


7 years ago
4 years ago


(Reporter: David Boswell, Unassigned)


(Blocks: 1 bug)

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)




7 years ago
Bug 682322 and bug 682619 both seem to be symptoms of a general issue with redirects outside of the main .htaccess file being ignored after the merge.  Opening a bug to track the overall issue.

The following is a list of all other .htaccess files to look at.  Note that some of these files, like /contribute/.htaccess, have no content in them.  Others could probably be archived instead of ported over.

If there was a way to get a list of the non-empty .htaccess files I'm happy to scan through them to see which are worth porting.  My grep'ing and find'ing skills are not advanced enough though to do that sort of sorting :)


Comment 1

7 years ago
Try with:

find -type f -path "*.htaccess" ! -size 0

Comment 2

7 years ago
Milos, thanks for the magic command.  It's a little more complicated than that though.  For instance, the /contribute/.htaccess file is not completely empty but doesn't have anything important in it to move over.  The contents are "Options +MultiViews".  Is it possible to exclude that in a search?

Comment 3

7 years ago
Hey David, try this one:

find -type f -path "*.htaccess" ! -size 0 -exec grep -Fxvl 'Options +MultiViews' {} \;

Comment 4

7 years ago
Hey David,

here's the full list:
I looked through a lot of these in my research and most of them seemed to do nothing. There's a good chance I missed some real ones though.
There's a few redirects scattered throughout, yep. We can go through them slowly. I don't have time to sit down and go through them all (and this seems low priority as there's really only a few in there and they aren't important URLs).

Maybe we'll track the progress of it in this bug and keep it around in the milestones.
Target Milestone: --- → 3.10

Comment 7

7 years ago
Going through these slowly make sense.  The more important ones will bubble up as specific concerns, like the Nightly First Run page.


7 years ago
Blocks: 676867
Depends on: 682619
Unassigning bugs from James that are not migration-related bedrock platform bugs. Let me know if you have any questions.


6 years ago
Assignee: jlong → nobody


6 years ago
Component: → General
Product: Websites →


5 years ago
Blocks: 879544
The legacy PHP site will be removed in the near future. Closing.
Last Resolved: 4 years ago
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.