My SellerDeck Account | Newsletter | Free Trial

Community and Knowledge Base

  #1  
Old 04-Aug-2016, 02:15 PM
Gareth Wanklin Gareth Wanklin is offline
Registered User
Join Date: Sep 2012
Full Name: Gareth
Posts: 62
Thanks: 0
Thanked 4 Times in 3 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
Reply With Quote
  #2  
Old 16-Aug-2016, 07:12 AM
graphicz's Avatar
graphicz graphicz is offline
Registered User
Join Date: May 2007
Full Name: Jonathan Chappell
Posts: 724
Thanks: 58
Thanked 91 Times in 71 Posts
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
Reply With Quote
  #3  
Old 17-Jul-2017, 04:52 PM
Mantra Mantra is offline
Registered User
Join Date: Jan 2011
Full Name: Martin Nichols
Posts: 42
Thanks: 18
Thanked 4 Times in 3 Posts
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
Reply With Quote
  #4  
Old 09-Aug-2017, 02:01 PM
webzavi webzavi is offline
Registered User
Join Date: Oct 2016
Full Name: Webzavi
Posts: 12
Thanks: 0
Thanked 3 Times in 3 Posts
Quote:
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
Reply With Quote
The Following User Says Thank You to webzavi For This Useful Post:
Mantra (11-Aug-2017)
  #5  
Old 10-Aug-2017, 08:48 PM
Mantra Mantra is offline
Registered User
Join Date: Jan 2011
Full Name: Martin Nichols
Posts: 42
Thanks: 18
Thanked 4 Times in 3 Posts
Quote:
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
Reply With Quote
  #6  
Old 10-Aug-2017, 09:42 PM
webzavi webzavi is offline
Registered User
Join Date: Oct 2016
Full Name: Webzavi
Posts: 12
Thanks: 0
Thanked 3 Times in 3 Posts
Quote:
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?
Reply With Quote
  #7  
Old 11-Aug-2017, 04:04 PM
Mantra Mantra is offline
Registered User
Join Date: Jan 2011
Full Name: Martin Nichols
Posts: 42
Thanks: 18
Thanked 4 Times in 3 Posts
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
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.