If you implement a 301 redirect from http to https then it will be fine. Google will understand it as the same pages.
[quote name='CarStickersDecals' timestamp='1409717815' post='191338']
Anyone figure out how to make this all work in V4.2.x… We still cannot. Sure we can get the pages to load https yet the SEO stuff doesn't work… Submitted a request for them to update the knowledge base but who knows when that will happen…
http://kb.cs-cart.co…tps-whole-store
as you can see there is SEO changes that need attention in V 3… Assume there is something in V4.2.x that needs changed also.
Come On Cs-Cart… We need a little faster responses. Those of us who are trying to stay ahead of the game need the support that is expected.
[/quote]
Hey,
Did you get it to work? I added the code, but the page will load. Let me know if you got it to work?
Thank you
[quote name='tom437' timestamp='1428522587' post='210747']
Hey,
Did you get it to work? I added the code, but the page will load. Let me know if you got it to work?
Thank you
[/quote]
Yes we are running full HTTPS://
Don't forget to fix sitemap issues and nofollow meta's
sorry, I tried the code, but the pages will not load for me, did you use this code;
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.)$ https://www.your_domain.com/$1 [R,L,NE]
The only thing I need to change there is just my domain name right?
Did I add it to the right place?
RewriteCond %{HTTP_HOST} !^www.mydomain.com$ [NC]
RewriteRule ^(.)$ [url=“http://www.mydomain.com/$1”]http://www.mydomain.com/$1[/url] [L,R=301]
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} libwww-perl.
RewriteRule . – [F,L]
RewriteCond %{HTTP_HOST} ^192.40.114.96
RewriteRule (.*) [url=“http://www.mydomain.com/$1”]http://www.mydomain.com/$1[/url] [R=301,L]
Pleas note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.
Some hostings require RewriteBase to be uncommented
Example:
Your store url is [url=“http://www.yourcompany.com/store/cart”]http://www.yourcompany.com/store/cart[/url]
So “RewriteBase” should be:
RewriteBase
[color=#ff0000]RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ [url=“https://www.mydomain.com/$1”]https://www.mydomain.com/$1[/url] [R,L,NE][/color]
RewriteRule ^sitemap.xml$ ./index.php?dispatch=xmlsitemap.view [L]
RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php?sef_rewrite=1 [L,QSA]
#AddType application/x-httpd-php54 php54
#AddHandler application/x-httpd-php54 .php
Do not use cs-carts suggestion… Unless you want to lose your link juice… Need the 301 redirect in there…
RewriteBase /
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ [url=“https://www.carstickersdecals.com/$1”]https://www.your-site.com/$1[/url] [R=301,L,NE]
Here are all the fixes for SEO and Sitemap generation…
[quote name='CarStickersDecals' timestamp='1419779640' post='201132']
Our experiences…
If you don't fix this you'll be telling search engines not to index you…
Indexing Changes
remove the following line
in the following files.
/design/themes/basic/templates/addons/seo/addons/hooks/meta.post.tpl
/var/themes_repository/basic/templates/addons/seo/hooks/index/meta.post.tpl
/var/themes_repository/responsive/templates/addons/seo/hooks/index/meta.post.tpl
And if your using the SEO add-on add the following to your robots.txt
this will stop indexing of your cart and checkout pages.
Disallow: /index.php
Also fix the sitemap generation…
Open the app/addons/google_sitemap/func.php and replace:
if (count($languages) == 1) {
$links[] = fn_url($link, 'C', 'http', CART_LANGUAGE);
} else {
foreach ($languages as $lang_code => $lang) {
$links[] = fn_url($link . '&sl=' . $lang_code, 'C', 'http', $lang_code);
}
}
With this
if (count($languages) == 1) {
$links[] = fn_url($link, 'C', 'https', CART_LANGUAGE);
} else {
foreach ($languages as $lang_code => $lang) {
$links[] = fn_url($link . '&sl=' . $lang_code, 'C', 'https', $lang_code);
}
}
And
$location = Registry::get('config.http_location');
with
$location = Registry::get('config.https_location');
[/quote]
In the following instead of removing the line…
/design/themes/basic/templates/addons/seo/addons/hooks/meta.post.tpl
/var/themes_repository/basic/templates/addons/seo/hooks/index/meta.post.tpl
/var/themes_repository/responsive/templates/addons/seo/hooks/index/meta.post.tpl
replace with
I see that cs-cart updated its knowledge base now to reflect the 301 redirect…
Also as long as you are using the SEO addon …
Add the following line to your robots.txt
Disallow: /index.php
All of the above is everything we did to get it working…
We've been running that way for 4 months now…
No issues…
Thank you very much, I will go ahead and make the changes now. Will update
Don't forget this fix… For versions 4.2.4 and below. Supposed to be fixed in 4.3.1
http://forum.cs-cart…nt-save-result/
[quote name='CarStickersDecals' timestamp='1428524427' post='210753']
Also as long as you are using the SEO addon …
Add the following line to your robots.txt
Disallow: /index.php
All of the above is everything we did to get it working…
We've been running that way for 4 months now…
No issues…
[/quote]
Hello,
In my sitemap should the url change from http to https, because it didn't change.
[color=#000000][font=monospace][size=3]
[indent=1]
http://www.mywebsite.com/
2015-04-14
daily
1[/indent]
[/size][/font][/color][color=#000000][font=monospace][size=3]
[indent=1]
[indent=1]mywebsite.com - This website is for sale! - mywebsite Resources and Information.
2015-04-14
daily
0.5[/indent]
[/size][/font][/color][color=#000000][font=monospace][size=3]
[indent=1]
mywebsite.com - This website is for sale! - mywebsite Resources and Information.
2015-04-14
daily
0.5[/indent]
[/size][/font][/color][color=#000000][font=monospace][size=3]
[indent=1]
[indent=1]mywebsite.com - This website is for sale! - mywebsite Resources and Information.
2015-04-14
daily
0.5[/indent]
[/size][/font][/color][color=#000000][font=monospace][size=3]
[indent=1]
[/indent][/size][/font][/color]
[quote name='tom437' timestamp='1429029606' post='211466']
Hello,
In my sitemap should the url change from http to https, because it didn't change.
[color=#000000][font=monospace][size=3][/color]
[indent=1]
http://www.mywebsite.com/
2015-04-14
daily
1[/indent]
[/size][/font][color=#000000][font=monospace][size=3]
[/color]
[indent=1]
[color=#000000][/color][/indent]
[indent=1][color=#000000]http://www.mywebsite…puters/tablets/[/color][/indent]
[color=#000000]
2015-04-14
daily
0.5[/color]
[color=#000000][/size][/font][/color][color=#000000][font=monospace][size=3]
[/color]
[indent=1]
[color=#000000]mywebsite.com - This website is for sale! - mywebsite Resources and Information.
2015-04-14
daily
0.5[/color][/indent]
[color=#000000][/size][/font][/color][color=#000000][font=monospace][size=3]
[/color]
[indent=1]
[color=#000000][/color][/indent]
[indent=1][color=#000000]http://www.mywebsite…nics/computers/[/color][/indent]
[color=#000000]
2015-04-14
daily
0.5[/color]
[color=#000000][/size][/font][/color][color=#000000][font=monospace][size=3]
[/color]
[indent=1]
[color=#000000][/color][/indent]
[color=#000000][/size][/font][/color]
[/quote]
Probably a cache issue, did you clear the cache
John
Yup. Manually delete the cache and verify changes in app/addons/google_sitemap/func.php
[quote name='johnbol1' timestamp='1429035552' post='211486']
Probably a cache issue, did you clear the cache
John
[/quote]
Yes, I did that and still its only http.
[quote name='CarStickersDecals' timestamp='1429035935' post='211487']
Yup. Manually delete the cache and verify changes in app/addons/google_sitemap/func.php
[/quote]
What do I look for in func.php?
I think I might have got it to work.
Thank you guys for your help.
[quote name='tom437' timestamp='1429061081' post='211513']
I think I might have got it to work.
Thank you guys for your help.
[/quote]
have you corrected htacesss for 301 redirect for best practice ?
[quote name='demeldoo' timestamp='1429085228' post='211534']
have you corrected htacesss for 301 redirect for best practice ?
[/quote]
No, not yet. Don't really know how to do that yet.
Just another thought on this…what if you are just going Live with a site now that has never been crawled, does it still need the redirect 301, as no pages are indexed yet, ?
JOhn
[quote name='johnbol1' timestamp='1429538715' post='212088']
Just another thought on this…what if you are just going Live with a site now that has never been crawled, does it still need the redirect 301, as no pages are indexed yet, ?
JOhn
[/quote]
Not really… No Point…