Thread: New HTTPS Site

    #1
  1. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Nov 2015
    Posts
    74
    Rep Power
    2

    New HTTPS Site


    Hi,

    We are currently building a new website to replace our current one. The current site is HTTP and the new site will be HTTPS.
    We have been trying to make sure that all the URLs on the new site will be exactly the same as on the old site. But is this actually neccessary? Because we will be redirecting all the old URLs to the new URLs anyway due to the HTTP/HTTPS switch. So if the URls arent exactly the same does it really matter?
  2. #2
  3. No Profile Picture
    Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    1,363
    Rep Power
    2484
    If all you are doing is adding SSL to the site, then simple redirects will do the trick. Only a few lines of code in your htaccess file or your web.config file, depending on which server platform you are using.

    If on the other hand you are making major changes to the site changing the domain name or theme for instance, then you may want to consider a page for page redirect because it will matter.

    If there is no equivalent page on the new site for a page on the old site, you will either get a 404 not found error, not good, or as some folks do, redirect to your home page, which is the lazy way of doing things and not the best idea if you have links to those old pages bringing in the juice.

    So you will have to keep the old domain live, and update its redirects to the new site as you find your missed pages, using page for page redirects.
    Last edited by KnowOneSpecial; Oct 18th, 2017 at 12:41 PM.
  4. #3
  5. No Profile Picture
    Contributing User
    SEO Chat Explorer (0 - 99 posts)

    Join Date
    Nov 2015
    Posts
    74
    Rep Power
    2
    hi, Thanks for your answer, But my question was actually is there any advantage in making all the URLs exactly the same as the current site? As I will have to redirect all the URLs to HTTPS it surely wouldn't make a difference if our URLs get changed? The new website is exactly the same as the old one, just a better version
  6. #4
  7. No Profile Picture
    Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    1,363
    Rep Power
    2484
    Actually it will matter.. let me explain.

    You have a page on mywidgets.com/my-blue-widgets.html

    You redesign the site using a new theme to give the site a face lift and better urls ( not saying best-blue-widgets is optimal, just an example to use )

    You decide to use mywidgets.com/best-blue-widgets.html

    Well since you are the definitive authority on blue widgets, and that page sells very well. I have it bookmarked for my folks to buy from and then they click the link and badaboom badabing... 404 Page not found.

    Now here is the reason...
    if you keep the urls exactly the same then (using a linux server for this example...) just these 4 lines of code will redirect every page to the new https page.
    This fixes the whole site, and you are done. Everything ports with just these 4 lines of code.
    Code:
    RewriteCond %{HTTP_HOST} ^mywidgets.com [NC]
    RewriteRule ^(.*)$ https://www.mywidgets.com/$1 [L,R=301,NC]
    
    
    #Next fix it so all traffic is re-routed to https version of site
    RewriteCond %{HTTPS} off
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    If the urls change, then you will have to add a RewriteRule for each url that is different. This will increase the size of your htaccess file and processing time. This equates to more work. This just increases the chance for a mistake, and takes more time.
    So if your site has say 1000 urls that change then you will have 1000 rewrite rules and that takes time to process and will slow your site down. Not the best option.
    Code:
    Redirect 301 /my-blue-widgets.html http://www.mywidgets.com/best-blue-widgets.html
  8. #5
  9. No Profile Picture
    Moderator
    SEO Chat Good Citizen (1000 - 1499 posts)

    Join Date
    Sep 2016
    Location
    USA
    Posts
    1,363
    Rep Power
    2484
    Oh one more thing...

    If you check the forum for threads concerning moving a site like this...Many of us, if not all will recommend you don't change the theme and urls at the same time. If something goes wrong was it the theme or was it the url causing the problem.

    I can solve 2+ X = 5 and have the exact answer

    but

    Y + X = 5 can have many answers 1 + 4 , 2 + 3 , -2 + 7 etc, etc

    So if you have issues, it is easier to fix if there is only one variable in the problem to figure out. Do one thing at a time. Make sure it is working then proceed to the next change. Don't make 3 or 4 changes to a site and try to figure out where you went wrong if something breaks. You will end up backing all the changes out 1 at a time till you find the problem. So that is a lot of work you can avoid if you do just one change at a time.

Similar Threads

  1. Change my site to https://
    By Amarante in forum New User SEO Questions and Answers
    Replies: 3
    Last Post: Feb 8th, 2017, 10:29 AM
  2. Site moved to https - What now?
    By madsween in forum New User SEO Questions and Answers
    Replies: 2
    Last Post: Nov 27th, 2016, 04:09 PM
  3. help with 301 redirects from HTTP site to HTTPS site
    By baz9969 in forum New User SEO Questions and Answers
    Replies: 3
    Last Post: Sep 20th, 2016, 07:49 AM
  4. Need a 301 redirect advice for https site
    By manojkumar7 in forum Search Engine Optimization
    Replies: 2
    Last Post: Aug 5th, 2013, 05:35 AM

IMN logo majestic logo threadwatch logo seochat tools logo