| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
April 21st - Mobile-Friendly Sites To Rank Better In Mobile Search on Google | ||||
![]() |
|
|
Thread Tools |
#11
|
|||||||||
|
|||||||||
![]() FYI: I found an official announcement about the subj in Google's blog:
http://googlewebmastercentral.blogspot.ru/2015/02/finding-more-mobile-friendly-search.html
__________________
X-Cart team |
|||||||||
|
#12
|
|||||||||
|
|||||||||
![]() This ought to be a sticky thread... (thanks Paul!)
We've moved to HTTPS without much fuss, in fact Google picked up on the homepage almost immediately. To redirect to HTTPS, add to .htaccess (before any URL re-writing rules) Code:
For the XML sitemap generator module, edit modules/XML_Sitemap/func.php and replace all 5 instances of $http_location with $https_location If you use a CDN, there's an alternative - https://www.keycdn.com - which doesn't charge extra for HTTPS. Useful Firefox addon here.
__________________
xcartmods.co.uk X-Cart reBOOT reDUX (Coming Q4 2019) X-Cart reBOOT Template | X-Cart Ultra Template | X-Cart reCaptcha | X-Cart Advanced Meta | X-Cart Users Online More Info | X-Cart Image Sitemap | X-Cart Dynamic Multi-Search | More... |
|||||||||
|
#13
|
|||||||||
|
|||||||||
![]() Quote:
Alternatively instead in init.php find $http_location = 'http://' .... $https_location = 'https://' ...... and below add $http_location = $https_location; Or change the 'http://' above to 'https://' Or take both out leaving the '//' only....
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#14
|
|||||||||
|
|||||||||
![]() > This ought to be a sticky thread...
Done!
__________________
Sincerely yours, Alex Mulin VP of business development for X-Cart X-Payments project manager |
|||||||||
|
#15
|
|||||||||
|
|||||||||
![]() Seemed to for fine for me.... however...
I have two sub domains that sit in my public_html folder and are unrelated to my XCart system. Is there a way to exclude the forced https for those domains?
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#16
|
|||||||||
|
|||||||||
![]() Quote:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#17
|
|||||||||
|
|||||||||
![]() Using the suggested method in Post #12.
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#18
|
|||||||||
|
|||||||||
![]() Taking the example from post #12, you can add the following;
Code:
Basically, this is saying "rewrite on the conditition" that the url "is not" subdomain.domain.com The "!^subdomain" is the "is not subdomain" part. Give that a shot and you should be set.
__________________
Conor Treacy - Big Red SEO - @bigredseo Search Engine Optimization & Internet Marketing - We Bring Your Website Out Of Hiding! If you can't be found on Google, Bing or Yahoo, you pretty much don't exist on the Internet. Omaha SEO Office with National & Local SEO Services Hourly Consulting - great for SEO Disaster Recovery, Audits and DIY Guidance |
|||||||||
#19
|
|||||||||
|
|||||||||
![]() Do I need to add those sub domain names to this? I ask, because as is, the code didn't change anything.
I should mention that if I remove post#12, the sub-domain in question works just fine.
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
#20
|
|||||||
|
|||||||
![]() Quote:
Paul
__________________
X-Cart GoldPlus v4.7.11 | PHP 7.2.22
|
|||||||
![]() |
|
Thread Tools | |
|
|
|
|||
X-Cart forums © 2001-2018
|