propublica / Capitol-Words

Scraping, parsing and indexing the daily Congressional Record to support phrase search over time, and by legislator and date
BSD 3-Clause "New" or "Revised" License
122 stars 34 forks source link

s/word/term in url #76

Closed timball closed 10 years ago

timball commented 10 years ago

need to make an nginx rule to replace word w/ term pretty much everwhere . GOOG wmt claims 139 busted links like this . should be simple nginx fix .

--timball

timball commented 10 years ago

okay fixed in nginx:

    location ~ ^/word/ {
        rewrite ^/word(\/.*) /term$1 permanent;
    }

that should do the trick for this one .

--timball