Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

urls w/ simple bioguide id are broken #77

Open
timball opened this issue Mar 8, 2014 · 3 comments
Open

urls w/ simple bioguide id are broken #77

timball opened this issue Mar 8, 2014 · 3 comments

Comments

@timball
Copy link

timball commented Mar 8, 2014

bioguideIDs used to have urls like this:

http://capitolwords.org/lawmaker/C001057/

but now have urls like this

http://capitolwords.org/legislator/C001057-norm-coleman/

i do not know of a simple regex-y way to fix this . GOOG wmt thinks there are 133 broken urls like this . uh this might be a thinker . the problem is that there are outside links that point to these links .

--timball

@timball
Copy link
Author

timball commented Mar 8, 2014

temporarily i'm gonna make a regex that will leave broken links but just s/lawmaker/legislator/

@drinks
Copy link
Contributor

drinks commented Mar 8, 2014

These are old site references.. Does it even matter?


Dan Drinkard

On Sat, Mar 8, 2014 at 1:18 PM, timball [email protected] wrote:

bioguideIDs used to have urls like this:

http://capitolwords.org/lawmaker/C001057/
but now have urls like this
http://capitolwords.org/legislator/C001057-norm-coleman/
i do not know of a simple regex-y way to fix this . GOOG wmt thinks there are 133 broken urls like this . uh this might be a thinker . the problem is that there are outside links that point to these links .

--timball

Reply to this email directly or view it on GitHub:
#77

@timball
Copy link
Author

timball commented Mar 8, 2014

i don't know ? i'm just going thru all the bugs and issues webmaster tools has for all of our sites .

the regex is in place:

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

--timball

@timball timball closed this as completed Mar 8, 2014
@timball timball reopened this Mar 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants