What's the best way to set up 301's from an old off-site subdomain to a new off-site subdomain?
-
We are moving our Online store to a new service and we need to create 301's for all of the old product URLs. Being that the old store was hosted off-site, what is the best way to handle the 301 re-directs? Thanks!
-
If an entire structure is changing then it depends to what depth. Basically, are there rules you can apply?
i.e. domain.com/products/[product-group]/product-name/
to
domain.com/[category]/product-name/
If there are rules like that then it reduces you work to pattern matching URLs and redirecting them accordingly, and I can post you .htaccess entries.
If the product names/URL and categories etc are changing then it may boil down to redirecting each URL individually, which for an e-commerce site will be a huge manual job. On the upside, you know for certain URL A --> URL B.
Let me know what applies and I'll let you know what to do Have had to handle domain moves (we are just about to do it again for our own site) so I know it's a headache you want to get right first time.
Oh and make sure you've got BOTH the old and new domains authorised in Google Webmaster Tools before you do the move
-
Thanks Martin! I wish it were that simple. The URL is changing significantly. Also, we need to re-direct individual products to their new location...any ideas on that?
-
If you're happy with the URL structure then a straightforward site-wide redirect from the old sub-domain to the new sub-domain should suffice. You can commonly achieve this with .htaccess or web.config depending on what server you are hosted on.
Are you doing a simple copy of the site to a new location or are you changing URLs/structure along the way?
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Old subdomains - what to do SEO-wise?
Hello, I wanted the community's advice on how to handle old subdomains. We have https://www.yoursite.org. We also have two subdomains directly related to the main website: https://www.archive.yoursite.org and https://www.blog.yoursite.org. As these pages are not actively updated, they are triggering lots and lots of errors in the site crawl (missing meta descriptions, and much much more). We do not have particular intentions of keeping them up-to-date in terms of SEO. What do you guys think is the best option of handling these? I considered de-indexing, but content of these page is still relevant and may be useful - yet it is not up to date and it will never be anymore. Many thanks in advance.
White Hat / Black Hat SEO | | e.wel0 -
I would like opinions on Brian Dean's training courses and his advice -- is it useful?
I would like opinions on Brian Dean's training courses and his advice -- has anyone used it successfully? Is it worth the cost? And useful?
White Hat / Black Hat SEO | | marketingdepartment.ch1 -
Should I delete older posts on my site that are lower quality?
Hey guys! Thanks in advance for thinking through this with me. You're appreciated! I have 350 pieces of Cornerstone Content that has been a large focus of mine over the last couple years. They're incredibly important to my business. That said, less experienced me did what I thought was best by hiring a freelance writer to create extra content to interlink them and add relevancy to the overall site. Looking back through everything, I am starting to realize that this extra content, which now makes up 1/3 my site, is at about 65%-70% quality AND only gets a total of about 250 visitors per month combined -- for all 384 articles. Rather than spending the next 9 months and investing in a higher quality content creator to revamp them, I am seeing the next best option to remove them. From a pros perspective, do you guys think removing these 384 lower quality articles is my best option and focusing my efforts on a better UX, faster site, and continual upgrading of the 350 pieces of Cornerstone Content? I'm honestly at a point where I am ready to cut my losses, admit my mistakes, and swear to publish nothing but gold moving forward. I'd love to hear how you would approach this situation! Thanks 🙂
White Hat / Black Hat SEO | | ryj0 -
Competitors Linking to My Site
One of the more successful competitors in my niche has embarked on new strategy that seems to be working well for him. I noticed that many new links began to appear to my site from my competitor's stable of many websites. It appears that he has setup a link wheel to benefit a site that has been in the top Google position for several months now. The rim of the wheel links back to authority sites, including my own main site (established 7 years, now hanging on to the lowly 10th place on the serp). So the strategy seems to be: a) create a dozen sites that no-follow link back to authority sites including competitors, b) place links in a such a manner (bottom of page, uncolored links, from images) that a customer is unlikely to ever click on it, c.) do-follow to your own site and blast it to the top of Google. I don't think this competitor is worried about getting penalized. I've been watching this for years. When one site gets burned, he just shifts things around and brings up another one of his sites. He seems to age them for years, calling them up one by one as they are needed. Has anyone else noticed this? Is it a trend? Because it sure seems to work. He's crowded the front page now with 4 of his sites. Would it be appropriate for me to "disavow" his links? Would it matter?
White Hat / Black Hat SEO | | DarrenX0 -
Suspicious external links to site have 302 redirects
Hi, I have been asked to look at a site where I suspect some questionable SEO work, particularly link building. The site does seem to be performing very poorly in Google since January 2014, although there are no messages in WMT. Using WMT, OPenSiteExplorer, Majestic & NetPeak, I have analysed inbound links and found a group of links which although are listed in WMT, etc appear to 302 redirect to a directory in China (therefore the actual linking domain is not visible). It looks like a crude type of link farm, but I cant understand why they would use 302s not 301s. The domains are not visible due to redirects. Should I request a disavow or ignore? The linking domains are listed below: http://www.basalts.cn/
White Hat / Black Hat SEO | | crescentdigital
http://www.chinamarbles.com.cn/
http://www.china-slate.com.cn/
http://www.granitecountertop.com.cn/
http://www.granite-exporter.com/
http://www.sandstones.biz/
http://www.stone-2.com/
http://www.stonebuild.cn/
http://www.stonecompany.com.cn/
http://www.stonecontact.cn/
http://www.stonecrate.com/
http://www.stonedesk.com/
http://www.stonedvd.com/
http://www.stonepark.cn/
http://www.stonetool.com.cn/
http://www.stonewebsite.com/ Thanks Steve0 -
Do I need to use meta noindex for my new website before migration?
I just want to know your thoughts if it is necessary to add meta noindex nofollow tag in each page of my new website before migrating the old pages to new pages under a new domain? Would it be better if I'll just add a blockage in my robots.txt then remove it once we launch the new website? Thanks!
White Hat / Black Hat SEO | | esiow20130 -
Site dropped suddenly. Is it due to htaccess?
I had a new site that was ranking on the first page for 5 keywords. My site was hacked recently and I went through a lot of trouble to restore it. Last night, I discovered that my site was nowhere to be found but when i searched site: mysite.com, it was still ranking which means it was not penalized. I discovered the issue to be a .htaccess and it have been resolved. My question is now that the .htaccess issue is resolved , will my site be restored back to the first page? Is there additional things that i should do? I have notified google by submitting my site
White Hat / Black Hat SEO | | semoney0 -
Should I redirect old pages
I have taken over SEO on a site. The old people built thousands of pages with duplicate content. I am converting site to wordpress and was wondering if I should take the time to 301 redirect all 10,000 or so pages with duplicate content. The 10,000 pages all have links back to different to different pages as well as to the homepage. Should I just let them go to a 404 page not found.
White Hat / Black Hat SEO | | Roots70