Going through the old site (oec.world) and comparing this to the current staging.oec.world site I have found the following issues that we should fix before doing the full swap from pro.oec.world to oec.world.
[x] Redirect oec.world non-english language links to /en/...
[x] [vizbuilder] add 100% height to embeds so that viz stretches to bottom of page
[x] [vizbuilder] add title to embeds so that embedded vizes also indicate what a viewer is seeing, for example see the old embed link vs new embed link
[x] need to add more html meta tags to page head for example on the legacy site here is what google shows for our results:
which is accomplished with the following tags in the html <head>
<meta name="Description" content="An online resource for international trade data and economic complexity indicators available through interactive visualizations of countries and products.">
<!-- Facebook Properties -->
<meta property="og:image" content="https://oec.world/static/img/facebook.jpg" />
<meta property="og:title" content="Bolivia (BOL) Exports, Imports, and Trade Partners" />
<meta property="og:type" content="article" />
<meta property="og:description" content="An online resource for international trade data and economic complexity indicators available through interactive visualizations of countries and products." />
<title>OEC - Bolivia (BOL) Exports, Imports, and Trade Partners</title>
Going through the old site (oec.world) and comparing this to the current staging.oec.world site I have found the following issues that we should fix before doing the full swap from pro.oec.world to oec.world.
[x] Redirect oec.world non-english language links to
/en/...
[x] Redirect HS id links to their respective OEC HS id link, ie https://oec.world/en/profile/hs92/8703/ --> https://staging.oec.world/en/profile/hs92/178703/
[x] [vizbuilder] need support for
wld
as country id in links: https://staging.oec.world/en/visualize/embed/tree_map/sitc/export/wld/all/show/2014/?controls=false[x] [vizbuilder] add 100% height to embeds so that viz stretches to bottom of page
[x] [vizbuilder] add title to embeds so that embedded vizes also indicate what a viewer is seeing, for example see the old embed link vs new embed link
[x] [vizbuilder] need to redirect HS ids to OEC HS ids, for example this broken link: https://staging.oec.world/en/visualize/tree_map/hs92/import/show/all/0101/2017/ should redirect to https://staging.oec.world/en/visualize/tree_map/hs92/import/show/all/10101/2017/... same goes for embeds like this link: https://staging.oec.world/en/visualize/embed/tree_map/hs92/import/show/all/0101/2017/
[x] need to redirect legacy rankings pages like https://staging.oec.world/en/rankings/country/eci/?year_range=2013-2017
[x] need to add more html meta tags to page head for example on the legacy site here is what google shows for our results:
which is accomplished with the following tags in the html
<head>