diff --git a/server/config/sitemap.js b/server/config/sitemap.js
index 58131ac02..71fed94d2 100644
--- a/server/config/sitemap.js
+++ b/server/config/sitemap.js
@@ -35,7 +35,7 @@ export default (server) => {
const xml = sitemap.createSitemap({
- hostname: 'http://quran.com',
+ hostname: 'https://quran.com',
cacheTime: 600000, // 600 sec cache period
urls: [
...urls,
diff --git a/src/components/Share/index.js b/src/components/Share/index.js
index 9a18e2d8e..4162668cf 100644
--- a/src/components/Share/index.js
+++ b/src/components/Share/index.js
@@ -15,7 +15,7 @@ export default class Share extends Component {
render() {
const {surahId, name} = this.props.surah;
- const surahUrl = encodeURIComponent(`http://quran.com/${surahId}`);
+ const surahUrl = encodeURIComponent(`https://quran.com/${surahId}`);
return (
diff --git a/src/config.js b/src/config.js
index eec53bbc6..e9fd3eda0 100644
--- a/src/config.js
+++ b/src/config.js
@@ -32,16 +32,16 @@ module.exports = Object.assign({
{name: 'google-site-verification', content: 'ehFz7FvmL7V9MzP40F8_kLABhCzqGzMDMrCnUP44Too'},
{name: 'theme-color', content: '#004f54'},
{property: 'og:site_name', content: title},
- {property: 'og:image', content: 'http://quran.com/images/thumbnail.png'},
+ {property: 'og:image', content: 'https://quran.com/images/thumbnail.png'},
{property: 'og:locale', content: 'en_US'},
{property: 'og:title', content: title},
{property: 'og:description', content: description},
- {property: 'og:url', content: 'http://quran.com'},
+ {property: 'og:url', content: 'https://quran.com'},
{property: 'og:type', content: 'website'},
{name: 'twitter:card', content: 'summary'},
{name: 'twitter:title', content: title},
{name: 'twitter:description', content: description},
- {name: 'twitter:image', content: 'http://quran.com/images/thumbnail.png'},
+ {name: 'twitter:image', content: 'https://quran.com/images/thumbnail.png'},
{name: 'twitter:image:width', content: '200'},
{name: 'twitter:image:height', content: '200'}
],
@@ -59,10 +59,10 @@ module.exports = Object.assign({
"@type": "WebSite",
"name": "Quran",
"alternateName": "Quran.com",
- "url": "http://quran.com",
+ "url": "https://quran.com",
"potentialAction": {
"@type": "SearchAction",
- "target": "http://quran.com/search?q={search_term_string}&referrer=sitelinks_searchbox",
+ "target": "https://quran.com/search?q={search_term_string}&referrer=sitelinks_searchbox",
"query-input": "required name=search_term_string"
}
}`
@@ -72,8 +72,8 @@ module.exports = Object.assign({
innerHTML: `{
"@context": "http://schema.org",
"@type": "Organization",
- "url": "http://quran.com",
- "logo": "http://quran.com/images/thumbnail.png"
+ "url": "https://quran.com",
+ "logo": "https://quran.com/images/thumbnail.png"
}`
}
],
diff --git a/src/containers/Surah/index.js b/src/containers/Surah/index.js
index 542e300ee..9447b3f8d 100644
--- a/src/containers/Surah/index.js
+++ b/src/containers/Surah/index.js
@@ -381,14 +381,14 @@ class Surah extends Component {
"@type": "ListItem",
"position": 1,
"item": {
- "@id": "http://quran.com/",
+ "@id": "https://quran.com/",
"name": "Quran"
}
},{
"@type": "ListItem",
"position": 2,
"item": {
- "@id": "http://quran.com/${surah.id}",
+ "@id": "https://quran.com/${surah.id}",
"name": "${surah.name.simple}"
}
}]
diff --git a/static/robots.txt b/static/robots.txt
index 4923c29bd..5daf993c2 100644
--- a/static/robots.txt
+++ b/static/robots.txt
@@ -1,3 +1,3 @@
User-agent: *
-SITEMAP: http://quran.com/sitemap.xml
+SITEMAP: https://quran.com/sitemap.xml