Announcement

Collapse
No announcement yet.

Redirects

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Redirects

    i have migrated a site to use SD16 and am looking to run an htacces file to deal with the redirects.

    i did not have access to a sitemap of the old store so a list of pages to make manual 301's is not going to happen.

    the old url structure was;

    Domain/top-department/sub-dept/sub-dept-etc/Productname-p(page number index)

    what i need is a way to redirect any page urls that end in say -p388 to be redirected to the same location as the lowest tier department.

    so

    http://www.electricfencingkits.co.uk...nsulators-p388
    &
    http://www.electricfencingkits.co.uk.../insulators-c7

    would both redirect to (Domain/store folder/Page.html

    http://www.electricfencingkits.co.uk...nsulators.html
    www.flytesofancy.co.uk, www.electricfencingkits.co.uk, www.dorsetlogstores.co.uk, www.framebow.co.uk

    #2
    I have just clicked

    http://www.electricfencingkits.co.uk...nsulators-p388
    &
    http://www.electricfencingkits.co.uk.../insulators-c7

    and they redirect to http://www.electricfencingkits.co.uk...nsulators.html

    so it seems you have solved your problem.

    Having run it on the forum wold you be able to share the solution?
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    Comment


      #3
      I have an old legacy Front Page on domain http://www.mantra-audio.co.uk and the whole catalogue site runs on an SSL sub-domain https://shop.mantra-audio.co.uk.
      The Front Page has HTML page links with redirects to SSL Catalogue Sections / Products which used to be OK but I noticed since about February this year that we are losing position in Google Search rankings and I am trying to find a way of overcoming this.
      I think a Sitemap linked to the Front Page could help but what software is available for creating an XML sitemap that is secure and reliable?
      The V16 shop site is self-contained complete with Catalogue Sitemap and both sites have been registered with Google Search Console.
      Any suggestions much appreciated.

      Martin
      Mantra Audio
      Martin
      Mantra Audio

      Comment


        #4
        Originally posted by Mantra View Post
        I have an old legacy Front Page on domain http://www.mantra-audio.co.uk and the whole catalogue site runs on an SSL sub-domain https://shop.mantra-audio.co.uk.
        The Front Page has HTML page links with redirects to SSL Catalogue Sections / Products which used to be OK but I noticed since about February this year that we are losing position in Google Search rankings and I am trying to find a way of overcoming this.
        I think a Sitemap linked to the Front Page could help but what software is available for creating an XML sitemap that is secure and reliable?
        The V16 shop site is self-contained complete with Catalogue Sitemap and both sites have been registered with Google Search Console.
        Any suggestions much appreciated.

        Martin
        Mantra Audio
        Your legacy page is one single page with redirects on it. I doubt Google will like this as it's redirecting a visitor to another site. As sub domain technically is different site.

        Would recommend you add 301 redirects on the legacy page area to the new sub domain

        Comment


          #5
          Originally posted by webzavi View Post
          Your legacy page is one single page with redirects on it. I doubt Google will like this as it's redirecting a visitor to another site. As sub domain technically is different site.

          Would recommend you add 301 redirects on the legacy page area to the new sub domain
          Thank you Websavi, I have inserted the code below at the top of the .htaccess file in the legacy website root folder and http//www.mantra-audio.co.uk now redirects to the SSL https//shop.mantra-audio.co.uk home page.

          RewriteEngine On
          RewriteCond %{HTTP_HOST} ^www.mantra-audio.co.uk [NC]
          RewriteCond %{SERVER_PORT} 80
          RewriteRule ^(.*)$ https://shop.mantra-audio.co.uk/$1 [R,L]

          Do I need to create any additional 301 redirects to cover the legacy front page link HTML pages, or will this now be catered for entirely by the domain redirect?

          Martin
          Martin
          Mantra Audio

          Comment


            #6
            Originally posted by Mantra View Post
            Thank you Websavi, I have inserted the code below at the top of the .htaccess file in the legacy website root folder and http//www.mantra-audio.co.uk now redirects to the SSL https//shop.mantra-audio.co.uk home page.

            RewriteEngine On
            RewriteCond %{HTTP_HOST} ^www.mantra-audio.co.uk [NC]
            RewriteCond %{SERVER_PORT} 80
            RewriteRule ^(.*)$ https://shop.mantra-audio.co.uk/$1 [R,L]

            Do I need to create any additional 301 redirects to cover the legacy front page link HTML pages, or will this now be catered for entirely by the domain redirect?

            Martin
            If you paste into Google search bar site:www.mantra-audio.co.uk

            You'll see you still have old pages index that you've since removed that are now classed as dead pages such as

            https://shop.mantra-audio.co.uk/Goodmans_Stylus.html


            You should be able to make your 301 redirect be full domain redirect so any page ref of www.mantra-audio.co.uk/ gets redirected to shop.mantra-audio.co.uk

            However a page by page redirect might be better. What was the reason for going to a sub domain of shop?

            Comment


              #7
              Acknowledging that this issue requires to be more carefully considered to achieve SEO smooth transfer, I decided to revert to the legacy site .htaccess code to avoid old page indexed links appearing as dead pages.
              I am now seeking guidance from the SSL domain host on how the re-directs needed can be best achieved to ensure compatibility with host server software type in the short term and to convert the shop. site over to an SSL www. site within a time frame to coincide with the SSL certificate renewal date.
              If the SSL domain host does not give the support needed to do this, then I will consider changing over to a domain hosting service that will.

              Thanks again for your input.

              Martin
              Martin
              Mantra Audio

              Comment

              Working...
              X