Redirect aspx files to a different path structure on a different domain using a different server-side language?
-
Without getting into the debate/discussion about which server-side language should or should not be used, I am faced with the reality of moving an old ASP.NET site to a Coldfusion one with a different domain and different folder structure.
Example: www.thissite.com/animals/lion.aspx --> www.thatsite.com/animals/africa/lion.cfm
What is the best way to redirect individual .aspx pages to their .cfm counterparts keeping in mind that, in many cases, the folder paths will be different? If it would mean less work, I am hoping this can be done at the server level (IIS 6) rather than modifying the code on each now-defunct page.
And on a related note, how long should any redirects be kept in place?
My apologies if this has been answered in this forum in the past, but I did do a lot of searching first (both here and elsewhere) before posting this query.
-
Thanks for the quick response, Nakul. The number of affected pages are in the dozens. And we are ranking moderately, but are obviously looking at methods to rank higher.
When you say "ensure each one of your pages redirects to your new .cfm" and "make sure each page is being 301 redirected", should that be done within the code of each page in question? Or can this be accomplished at the server level somehow where we can list the files we need re-directed and to where they should now point?
And regardless of which method, I will still need some assistance on the coding or server setup required.
Thanks!
-
How big is your website ? How many pages are you talking ?
If you get a considerable search traffic, and are ranking well in the search engines, I would strongly advise to ensure each one of your pages redirects to your new .cfm counterpart. There's a lot of advantage in doing that and a absolutely no reason why you shouldn't do it. You know that, and that's why you have been researching and finally posted this question.
You need to work with your programmers and make sure each page is being 301 redirected. I would suggest keeping the redirects almost indefinitely for now. It's definitely not 1, 2 or 3 months. Although, in a couple years, you could remove the links, but then if it does not hurt, it's best to keep them.
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
-
Using same copy on different domain
I have a client that currently has a .com domain (not using hreflang) . They have a new partner in the UK and they want to replicate the website and use a .co.uk domain. It will be a different brand name. Will this cause any SEO issues?
Intermediate & Advanced SEO | | bedynamic0 -
Is there any set benefit in using a URL tracking engine on a domain for passing link juice?
Is there any set benefit in using a URL tracking engine on a domain for passing link juice? I.E. xxxx.com?$id=1111 to then redirect to shareasale? The client has an affiliate program and is thinking of running one in-house as well. Is there a benefit to a “redirect engine” that uses the website root domain?
Intermediate & Advanced SEO | | KellyBrady1 -
Where/how do you set up 301 redirects when keeping the same domain and not preserving the filename?
Hi there, I'm just reaching to to ask for some help in understanding where 301 redirects should be set up on a website when keeping the same domain but not preserving the original filenames? Essentially what is happening is an old website is being completely overhauled and brought up to date from a technical and usability standpoint. While the SEO isn't great naturally many of the pages have been indexed by google over time. A few pages have decent statistics and I don't want to lose the juice from them, but they do still need a lot of improving. So my question is this, would all the redirection take place in the .htaccess file only in this case? From reading here on Moz I think this is the case, but I need to confirm that. I was reading this article which has thrown me slightly: https://moz.com/learn/seo/redirection but this seems more complex as the website was actually moving domains. Open to any insight and if you need further clarification or information let me know.
Intermediate & Advanced SEO | | SEODarren0 -
Redirect at Registrar or Server
Hi folks, I have run into a situation were a new client has 3 TLDs (e.g. mycompany.com, mycompany.org and mycompany.biz), all with the same content. They are on a Windows IIS environment, which I am not familiar with. Until now, all of my clients have been Linux/Apache environment, so I always dealt with these issues utilizing htaccess. Currently all resolve to the same IP, but the URL remains the same in the browser address field (e.g. if you type-in mycompany.org - it remains as such). We want the .org and .biz version to 301 Redirect to the .com TLD. I am wondering what the best practice might be in this situation? Could we simply redirect at the registrar level or would implementation at the server level be best? If so, I would really appreciate an example from someone with experience implementing redirects on IIS. Thank you!
Intermediate & Advanced SEO | | SCW0 -
Why do some domains out rank stronger authority domains
Hi, If we take the Moz stats into account here, how comes sometimes weak Moz stat domains out ranking strong Moz stat domains? For example: A inner page with DA56 / PA40 is outranking a Wikipedia inner page with DA100 / PA82. That's a massive difference basically twice as strong on the Wikipedia page but being out ranking. In this case I assume the onpage SEO is playing a big part, but can onpage optimisation be that powerful? And I see this all the time, what SEO factors cause this? Thanks.
Intermediate & Advanced SEO | | Bondara0 -
New website from scratch and redirects or maintaining domain?
Hi friends, I have to face a big challenge. My client has an online store with about 250 products. The store is based on a web service provider whose CMS gives critical duplicate content issues. My client is considering to rethink the store from scratch and choose a CMS that offers more guarantees. I have two options: Starting the store from scratch with new domain and make redirects (whole domain or page to page?) Maintaining the domain, careful to keep the current structure of the URL, which is currently pretty bad I hope you could help me. Thanks in advance.
Intermediate & Advanced SEO | | sergio_redondo0 -
Best Structure for Multi-Language/International Website
We are getting ready to do a total redsign of our website, which is a multi-language global website (www.hurco.com). Today we use an ip address lookup to determine country of origin and redirect to say hurco.de for Germany. The main reason for this was that our German division was afraid that their potential customers were going to the hurco.com site and seeing product that was not available to them. Is there a better way from an SEO standpoint to structure our website? Should we have all hurco.com traffic goto a country selection page and let them go there manually? Other good practices we should follow? Would you structure the entire site as //www.hurco.com/en-us or /en-canada (language and country) and then have all international domains 301 redirect to the proper one?
Intermediate & Advanced SEO | | fassnachtp0 -
Use of the Canonical Tag, Both Internally and Cross Domain
I've seen the cross domain canonical not work at all in my test cases. And an interesting point was brought to my attention today. That point was that in order for the canonical tag to work, the page that you are referencing needs to have the exact same content. And that this was the whole point of the canonical tag, not for it to be used as a 301 but for it to consolidate pages with the same content. I want to know if this is true. Does the page you reference with a canonical tag have to have the same exact content? And what have been your experiences with using the canonical tag referencing another page on a different domain that has the same exact subject matter but not the exact duplicate content?
Intermediate & Advanced SEO | | GearyLSF372