Post by pvhari » Mon Sep 18, 2017 3:18 am

I am using google feeds for sitemap generation. It makes a full sitemap, however the feeds showing url's without https, i'm using ssl for all links, attaching the current config.php data, if changing the first line " define('HTTP_SERVER', 'http://www.domain.com/'); " to "define('HTTP_SERVER', 'https://www.domain.com/');" its working but facing some other conflicts on themes and modules, please help to do the necessary changes in feeds module.
------------------------------------------------------- config.php ------------------------------------------------------------------------------

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.domain.com/');

// HTTPS
define('HTTPS_SERVER', 'https://www.domain.com/');

// DIR
define('DIR_APPLICATION', '/home/domain/public_html/catalog/');
define('DIR_SYSTEM', '/home/domain/public_html/system/');
define('DIR_IMAGE', '/home/domain/public_html/image/');
define('DIR_STORAGE', '/home/domain/folder/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/theme/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');
------------------------------------------------------------------------ Admin Folder Config.php-----------------------------------------------------------------

Code: Select all

<?php
// HTTP
define('HTTP_SERVER', 'http://www.domain.com/admin/');
define('HTTP_CATALOG', 'http://www.domain.com/');

// HTTPS
define('HTTPS_SERVER', 'https://www.domain.com/admin/');
define('HTTPS_CATALOG', 'https://www.domain.com/');

// DIR
define('DIR_APPLICATION', '/home/domain/public_html/admin/');
define('DIR_SYSTEM', '/home/domain/public_html/system/');
define('DIR_IMAGE', '/home/domain/public_html/image/');
define('DIR_STORAGE', '/home/domain/folder/');
define('DIR_CATALOG', '/home/domain/public_html/catalog/');
define('DIR_LANGUAGE', DIR_APPLICATION . 'language/');
define('DIR_TEMPLATE', DIR_APPLICATION . 'view/template/');
define('DIR_CONFIG', DIR_SYSTEM . 'config/');
define('DIR_CACHE', DIR_STORAGE . 'cache/');
define('DIR_DOWNLOAD', DIR_STORAGE . 'download/');
define('DIR_LOGS', DIR_STORAGE . 'logs/');
define('DIR_MODIFICATION', DIR_STORAGE . 'modification/');
define('DIR_SESSION', DIR_STORAGE . 'session/');
define('DIR_UPLOAD', DIR_STORAGE . 'upload/');

// OpenCart API
define('OPENCART_SERVER', 'https://www.opencart.com/');
------------------------------------------------------------------- .htaccess code for url rewrite --------------------------------------

Code: Select all

RewriteCond %{HTTPS} !on [OR]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule (.*) https://www.domain.com%{REQUEST_URI} [L,R=301]
Thanks in Advance

Newbie

Posts

Joined
Wed Nov 27, 2013 2:15 am

Post by phinq1910 » Tue Sep 19, 2017 12:37 pm

Try replace file in folder feeds and check again :) (for opencart 3.0.2.x)
https://drive.google.com/open?id=0B5Q3d ... FpWZ3hzcFk

User avatar
New member

Posts

Joined
Sat Jun 11, 2016 11:43 am
Location - Hanoi

Post by pvhari » Tue Sep 19, 2017 9:49 pm

phinq1910 wrote:
Tue Sep 19, 2017 12:37 pm
Try replace file in folder feeds and check again :) (for opencart 3.0.2.x)
https://drive.google.com/open?id=0B5Q3d ... FpWZ3hzcFk
Thanks a lot brother, always checking before posting something here, lots of questions found in internet , you are great , thanks again.

Newbie

Posts

Joined
Wed Nov 27, 2013 2:15 am
Who is online

Users browsing this forum: No registered users and 9 guests