zaglebie Posted December 11, 2015 Share Posted December 11, 2015 I've bought SSL cert. and i want to move shop from http to https. Google is treating http/https as separate websites so redirecting old pages to new ones is a MUST.But its not so easy, i've also changed prestashop from 1.4 to 1.6 so here is a problem: most of urls changed a little, id's etcSo i have to redirect 301 each single page to new url if i want force Google to update my urls in search engine. Typical redirect in htaccess would look like this Redirect 301 /page.html https://domain.com/page.htmlBUT when SSL is activated then prestashop already put code in htaccess which is causing redirect from http to https - for all pagesSo when i use this code for redirect then /page html will really mean httpsSo how should i do this ? Redirect 301 http://domain.com/page.html https://domain.com/page.html is not valid htaccess code i think ? Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 11, 2015 Share Posted December 11, 2015 (edited) You do not need to redirect an SSL page call. The reason is because it is not a new address. It is just a different protocol. Google will actually reward your web site because Google is recommending that web sites move to SSL. So simply turn on SSL for your entire web site and enjoy. Nothing else is required. Edited December 11, 2015 by Bill Dalton (see edit history) Link to comment Share on other sites More sharing options...
zaglebie Posted December 12, 2015 Author Share Posted December 12, 2015 Well, this is recipe for total disaster in SE positions. Did you even read my post ? Url's changed, i need to redirect themJust turning SSL would work only if urls would be the same. But i've changed from prestashop 1.4 to 1.6 and made some modifications so its almost like new website newexample:old page: http://www.domain.com/shop-offernew page: https://www.domain/shoppingso as you see just turning SSL will not help, i need also let google know that /shop-offer is now /shoppingso i wonder if Redirect 301 /page.html https://domain.com/newpage.html will work, because its really HTTPS://domain.com/page.html -> https://domain.com/newpage.htmlin reality its double redirect, with SSL turned on prestashop will automatically move http://domain.com/oldpage.html to https://domain.com/oldpage.html and another redirect 301 will move oldpage.html to newpage.htmlbut im worried that such a 'loop' will damage search enginie positions, double redirect is a big no no for google Link to comment Share on other sites More sharing options...
zaglebie Posted December 12, 2015 Author Share Posted December 12, 2015 ok another thing - i have multistore turned on so there is only one htaccess for multiple domains Redirect 301 http://www.domain2.com/page.html /newpage.html dont work, always main domain is loading Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 12, 2015 Share Posted December 12, 2015 Right, I'm sorry I didn't read your post. Good luck to you. Link to comment Share on other sites More sharing options...
bellini13 Posted December 12, 2015 Share Posted December 12, 2015 well, this post has little to do with enabling SSL, your real issue is that you upgraded 2 major versions of Prestashop and some of the URLs have changed. if you disable SSL, you still have the issue. So perhaps you have named your topic incorrectly. Link to comment Share on other sites More sharing options...
zaglebie Posted December 12, 2015 Author Share Posted December 12, 2015 GOD. if i wouldnt enable SSL then i wouldnt have a problemRedirect 301 /oldpage.html to /newpage.html and its done. Think about problem first then try to be smart for god sake i dont have time to waste Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 12, 2015 Share Posted December 12, 2015 (edited) No one is disagreeing that you can redirect Redirect 301 /oldpage.html to /newpage.html. But SSL has nothing to do with the redirect. In your example; old page: http://www.domain.com/shop-offernew page: https://www.domain/shopping You would do something like, RewriteRule ^shop-offer/(.*)$ /shopping/$1 [R=301,NC,L] Assuming all page names have not changed. Edited December 12, 2015 by Bill Dalton (see edit history) Link to comment Share on other sites More sharing options...
zaglebie Posted December 13, 2015 Author Share Posted December 13, 2015 most of urls changed, also, its a multistore how to 'let know' that i want to redirect for example domainC.com not domainB.com Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 13, 2015 Share Posted December 13, 2015 For SEO lets break it down to this, no matter what you do, Google is going to get a 301 error code. Even if you went to all the trouble of setting up a page to page redirect for all of your content, Google gets a 301 to the new content, but that new content doesn't just get a free pass and just replace your old content. It is a new page and it is treated as a new page. So why go to all that trouble, because to a "ROBOT" a 301 is 301. Any call for your old domain regardless of page, send it to your new index page. Easy and done. Google isn't getting 401's and your customers are getting to your new home page. You can log into Webmaster tools and change your domains or/and setup new sitemap, all that stuff. Setting up a page to page redirect is not going to change the fact that you have new pages because Google will not substitute an old page for a new page. If your domain is the same and trusted you can survive the name page change. Link to comment Share on other sites More sharing options...
zaglebie Posted December 13, 2015 Author Share Posted December 13, 2015 (edited) i think you're not too familiar with SEOchanging urls + adding SSL (google treats http and https as separate websites!) without correct redirect = loss of all positions in google, website starts as completely NEWredirecting 301 old urls to new urls = passing all the "power" old website had AND pagerank to new website which means it will replace old website in rankings Edited December 13, 2015 by zaglebie (see edit history) Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 13, 2015 Share Posted December 13, 2015 (edited) I do not work for Prestashop. I do SEO for one of the most successful web sites in Canada. I've had that site at the top of Google through every site change and Google update that has happened in the last 15 years. Sometimes you just don't know who you are going to meet. On this forum are people who make a living with Prestashop. We all have are own business or interests and we try to help each other out. I wish you well, but I'm not here to argue with you and I'm tired of your rudeness. Edited December 13, 2015 by Bill Dalton (see edit history) Link to comment Share on other sites More sharing options...
zaglebie Posted December 14, 2015 Author Share Posted December 14, 2015 so you're saying that when i have url domain.com/somepage and i have plenty of links to it all over internet, and its ranking very well, then when i will change url to domain.com/somepage2 then it will rank exactly the same ? LOL guess what, domain.com/somepage2 will have 0 LINKS and will start as fresh page, and power of old one will go to hellchanging url (url, not domain because you can change domain in webmasters.google as you say) without redirect is a SEO suicide i feel sorry for your clients Link to comment Share on other sites More sharing options...
Bill Dalton Posted December 14, 2015 Share Posted December 14, 2015 Nope that is not what I'm saying. If you publish the cure for cancer and all the universities in the world link to it than yes, please make sure you setup a redirect for that page. The links out on the internet are valuable. But what about the rest of your pages? The only link to the majority of your pages is an internal link. But we didn't have that discussion because you are too rude. Link to comment Share on other sites More sharing options...
Recommended Posts