diff --git a/README.md b/README.md index b61fde3..c64647d 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,15 @@ -# [httpstatus.es](http://httpstatus.es) +# [httpstatuses.com][5] -[httpstatus.es](http://httpstatus.es) is an easy to reference database of HTTP Status Codes -with their definitions and helpful code references. +[httpstatuses.com][5] is an easy to reference database of +HTTP Status Codes with their definitions and helpful code references. + +## httpstatus.es + +Previously the project was known as [httpstatus.es][6] but +[as per this GitHub issue][7] we have migrated to [httpstatuses.com][5] for +SEO reasons. The httpstatus.es domain will remain available long term but +use of httpstatuses.com is preferred, everything 301's to +https://httpstatuses.com. ## Contributing @@ -26,7 +34,10 @@ changes to the status codes please be mindful of the following: * If the description references a section in the current RFC, always add the RFC identifier. For example "Section 6.6" should become "RFC1234 Section 6.6" -[1]: +[1]: [2]: [3]: [4]: +[5]: +[6]: +[7]: \ No newline at end of file diff --git a/bower.json b/bower.json index 578f7bd..89beda6 100644 --- a/bower.json +++ b/bower.json @@ -1,12 +1,12 @@ { - "name": "httpstatus.es", + "name": "httpstatuses", "description": "An easy to reference directory of HTTP Status Codes", "main": "build.js", "authors": [ "Samuel Ryan " ], "license": "MIT", - "homepage": "https://github.com/citricsquid/httpstatus.es", + "homepage": "https://github.com/citricsquid/httpstatuses", "moduleType": [], "private": true, "ignore": [ diff --git a/contents/codes/599.md b/contents/codes/599.md index 40bdb55..cf98f1a 100644 --- a/contents/codes/599.md +++ b/contents/codes/599.md @@ -12,4 +12,4 @@ proxy. Source: [unknown?][1] -[1]: \ No newline at end of file +[1]: \ No newline at end of file diff --git a/contents/error-404.md b/contents/error-404.md index 87ca4b3..50e973f 100644 --- a/contents/error-404.md +++ b/contents/error-404.md @@ -8,8 +8,8 @@ layout: page.jade This isn't a page to explain a status code, it's an actual 404. The page you have requested can't be found. If you didn't expect to see this error please -[create an issue via GitHub](https://github.com/citricsquid/httpstatus.es/issues). +[create an issue via GitHub](https://github.com/citricsquid/httpstatuses/issues). If you want to learn more about what a 404 is, visit [/404](/404)! -[← Return to httpstatus.es](/) \ No newline at end of file +[← Return to httpstatuses.com](/) \ No newline at end of file diff --git a/contents/error-500.md b/contents/error-500.md index f874b7c..30efe38 100644 --- a/contents/error-500.md +++ b/contents/error-500.md @@ -8,8 +8,8 @@ layout: page.jade This isn't a page to explain a status code, it's an actual 500, an Internal Server Error. The page you have requested couldn't be delivered for an unknown reason. If you didn't expect to see this error please -[create an issue via GitHub](https://github.com/citricsquid/httpstatus.es/issues). +[create an issue via GitHub](https://github.com/citricsquid/httpstatuses/issues). If you want to learn more about what a 500 is, visit [/500](/500)! -[← Return to httpstatus.es](/) \ No newline at end of file +[← Return to httpstatuses.com](/) \ No newline at end of file diff --git a/contents/index.md b/contents/index.md index 581d762..691e2fb 100644 --- a/contents/index.md +++ b/contents/index.md @@ -5,10 +5,10 @@ layout: index.jade # HTTP Status Codes -httpstatus.es is an easy to reference database of HTTP Status Codes with their +httpstatuses.com is an easy to reference database of HTTP Status Codes with their definitions and helpful code references all in one place. Visit an individual -status code via `httpstatus.es/code` or browse the list below. +status code via `httpstatuses.com/code` or browse the list below. Hosting sponsored by [Runscope](https://www.runscope.com/t/httpstatuses), source code available on -[GitHub](https://github.com/citricsquid/httpstatus.es). \ No newline at end of file +[GitHub](https://github.com/citricsquid/httpstatuses). \ No newline at end of file diff --git a/deploy.sh b/deploy.sh index 92749dd..e8f3e61 100755 --- a/deploy.sh +++ b/deploy.sh @@ -1,7 +1,7 @@ build="build-${CIRCLE_BUILD_NUM}" sudo mkdir ~/${build} -sudo cp -R ~/httpstatus.es/build/. ~/${build} +sudo cp -R ~/httpstatuses.com/build/. ~/${build} echo "Deploying ${build} to ${DEPLOY_TARGET}" -rsync -r -l ~/${build} ${DEPLOY_TARGET}:/srv/www/httpstatus.es -ssh ${DEPLOY_TARGET} "ln -sfn /srv/www/httpstatus.es/${build} /srv/www/httpstatus.es/live" +rsync -r -l ~/${build} ${DEPLOY_TARGET}:/srv/www/httpstatuses.com +ssh ${DEPLOY_TARGET} "ln -sfn /srv/www/httpstatuses.com/${build} /srv/www/httpstatuses.com/live" echo "Build deployed and pushed live" \ No newline at end of file diff --git a/package.json b/package.json index 0e064a7..571ae47 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "httpstatus.es", + "name": "httpstatuses", "version": "1.0.0", "description": "An easy to reference directory of HTTP Status Codes", "main": "build.js", @@ -9,14 +9,14 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/citricsquid/httpstatus.es.git" + "url": "git+https://github.com/citricsquid/httpstatuses.git" }, "author": "Samuel Ryan ", "license": "MIT", "bugs": { - "url": "https://github.com/citricsquid/httpstatus.es/issues" + "url": "https://github.com/citricsquid/httpstatuses/issues" }, - "homepage": "https://github.com/citricsquid/httpstatus.es#readme", + "homepage": "https://github.com/citricsquid/httpstatuses#readme", "dependencies": { "bower": "^1.6.5", "jade": "^1.11.0", diff --git a/templates/code.jade b/templates/code.jade index 1359d74..2d30a97 100644 --- a/templates/code.jade +++ b/templates/code.jade @@ -1,7 +1,7 @@ extends layout.jade block title - title !{code} !{title} — httpstatus.es + title !{code} !{title} — httpstatuses.com block contents .code @@ -13,4 +13,4 @@ block contents h1 #[span !{code}] Code References each value, key in references p !{key} #[code !{value}] - a(href='/') ← Return to httpstatus.es \ No newline at end of file + a(href='/') ← Return to httpstatuses.com \ No newline at end of file diff --git a/templates/layout.jade b/templates/layout.jade index ab1d036..40b5c94 100644 --- a/templates/layout.jade +++ b/templates/layout.jade @@ -2,7 +2,7 @@ doctype html html(lang="en") head block title - title #{title} — httpstatus.es + title #{title} — httpstatuses.com link(rel='shortcut icon', href='/' + fingerprint['favicon.ico'], type='image/x-icon') link(rel='stylesheet', href='/' + fingerprint['style.css']) link(rel='stylesheet', href='https://fonts.googleapis.com/css?family=Montserrat|Open+Sans|Source+Code+Pro:700', type='text/css')