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
-
Google News - How to be featured in different countries with same domain
Hello, I am sure I am not the first to go through this but I did not find the answers in the previous Q&As. So, sorry if this question is bit redundant for some folks. We have a site in English with readers in multiple english speaking countries. How to make www.mysite.com accepted in Google news for US, UK, India, Australia and Canada at the same time? It is currently accepted in the US but, as I stated above, we do have a strong audience in other countries. I have read about sub-domains, but wouldn't it be considered duplicated content if I had the exact same article in different sub-domains? We are talking about creating 4 copies on mysite.com just to be added to Google News in those specific countries www.mysite.com/same-article/
Intermediate & Advanced SEO | | Koki.Mourao
uk.mysite.com/same-article/
au.mysite.com/same-article/
in.mysite.com/same-article/
ca.mysite.com/same-article/ Isn't there a better way of having mysite.com included in Google News for all English speaking countries?0 -
Redirect domain or keep separate domains in each country?
Hi all Hoping this might be something that can be answered given the number of variables 🙂
Intermediate & Advanced SEO | | IsaCleanse
My main site is www.isacleanse.com.au (Obviously targeted to Australian Market) and also www.isacleanse.co.nz targeted to NZ. The main Keywords im targeting are 'Isagenix' for both and also Isagenix Australia, Isagenix Perth, Sydney (Australian cities) and Isagenix NZ, Isagenix New Zealand, Isagenix Auckland etc.. for NZ The Australian site gets a lot more traffic and Australian market gets a lot more searches - I also have a section www.isacleanse.com.au/isagenix-new-zealand/ on the Australian site. The question is am I best off redirrecting the .co.nz domain completley to the Australian Domain to give it extra SEO Juice?0 -
installed PageSpeed Module on our server but no difference to site
Hi
Intermediate & Advanced SEO | | Direct_Ram
I have been searching for an answer for a while now and couldnt find it so maybe someone has had a similar problem. We have installed PageSpeed Module on our server. The administrator has said it is active and has run a test below: [root@mydomain ~]# curl -D- https://www.mydomain.com/ | head -10
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
14 102k 14 15029 0 0 40506 0 0:00:02 --:--:-- 0:00:02 64780HTTP/1.1 200 OK
Server: nginx/1.6.0
Date: Fri, 10 Apr 2015 11:28:43 GMT
Content-Type: text/html
Content-Length: 104885
Connection: keep-alive
Set-Cookie: ci_session=BGANYlg8VmsPLgN1AWABMldkAGUGLVZwVmhQdQd0CGIEaFI6VgkEOQdmUSYHbQZyXz9TZVE4Vm4CIwxnB2hYbAZrAGUHZQg%2BUjUFOgRlUWAEYg05WDxWMg82A2ABOQEzV2IAaQZsVjBWPFA2BzEIaAQ%2FUjBWNwRmBztRJgdtBnJfP1NnUTpWbgIjDDoHflhSBjwAMgdjCHlSNAVwBHdRJwQ6DStYM1ZgD2YDPAF4ATJXZABmBiFWMVY%2FUD4HKQg5BDRSelZnBGAHIFE%2FByUGO180U2ZRMFZ2AnQMIAdrWH8GAgA3B2AIblI%2FBXcEJlE%2BBHINYlg4VmAPZwM8AXgBYFchAC0GY1YsVjpQKAc2CDIEKVJjVnYEeAd6UTwHYAZeXzNTYlEnViYCZAw3B2ZYbAYpAHsHawhiUj8FdgR8USgEZg02WHxWeA91A2oBMwFhVzcAKgZ9Vm9WIlAxBykIOgQ%2BUnpWYQRwB0xRVwcFBi5fNlN4UTtWYgIvDGEHIFg%2BBn0AFAdmCHhSOAVgBCRRQARCDRtYKVYrDzkDbwE4ASxXZQBxBj1WLVY%2BUCYHawhiBGVSPVYyBD4HLVE1B3gGMF89U3ZRZlY9AmMMIAd9WGUGbwB5BzYIJVJlBS0ENlEnBDoNK1gzVmAPZgM8AXgBb1c1ACwGe1ZcVmxQZQdzCGIEcVI9ViIEKQcgUT8HPwY7XzRTYlE4VmwCNwxlBztYPgZvAGUHPAh4UmsFOgQ%2BUScEdA0rWGxWIw8KA2IBOwF3VzUAfQY0VnBWN1A2Bz0IKQQlUm9WKw%3D%3D; expires=Fri, 10-Apr-2015 13:28:43 GMT; path=/
Set-Cookie: ci_session=a%3A0%3A%7B%7D; expires=Thu, 10-Apr-2014 21:28:43 GMT; path=/
Set-Cookie: ci_session=BWEFalk4UWwJKFIq; expires=Fri, 10-Apr-2015 13:28:43 GMT; path=/
X-Mod-Pagespeed: 1.9.32.3-4448 But there doesn't seem to be any difference to the sites speed or change in google speed test recommendations. I do not have much knowledge on servers but the server company has assured me it is active and all the filters are on - so not sure why I am not seeing anything different. if anyone has any advise on this it would be great. thanks E0 -
Content From One Domain Mysteriously Indexing Under a Different Domain's URL
I've pulled out all the stops and so far this seems like a very technical issue with either Googlebot or our servers. I highly encourage and appreciate responses from those with knowledge of technical SEO/website problems. First some background info: Three websites, http://www.americanmuscle.com, m.americanmuscle.com and http://www.extremeterrain.com as well as all of their sub-domains could potentially be involved. AmericanMuscle sells Mustang parts, Extremeterrain is Jeep-only. Sometime recently, Google has been crawling our americanmuscle.com pages and serving them in the SERPs under an extremeterrain sub-domain, services.extremeterrain.com. You can see for yourself below. Total # of services.extremeterrain.com pages in Google's index: http://screencast.com/t/Dvqhk1TqBtoK When you click the cached version of there supposed pages, you see an americanmuscle page (some desktop, some mobile, none of which exist on extremeterrain.com😞 http://screencast.com/t/FkUgz8NGfFe All of these links give you a 404 when clicked... Many of these pages I've checked have cached multiple times while still being a 404 link--googlebot apparently has re-crawled many times so this is not a one-time fluke. The services. sub-domain serves both AM and XT and lives on the same server as our m.americanmuscle website, but answer to different ports. services.extremeterrain is never used to feed AM data, so why Google is associating the two is a mystery to me. the mobile americanmuscle website is set to only respond on a different port than services. and only responds to AM mobile sub-domains, not googlebot or any other user-agent. Any ideas? As one could imagine this is not an ideal scenario for either website.
Intermediate & Advanced SEO | | andrewv0 -
Do I need to set Preferred domain when the non-www redirects to www version?
Hi mozzers, Not sure if I should setup preferred domain when the non www version redirects to the www version? if yes why? Thanks!
Intermediate & Advanced SEO | | Ideas-Money-Art0 -
Help understanding 301 domain redirect
Can anyone help me understand a specific process of a 301 redirecting a domain. Here is what I would like to know.... When you 301 redirect a site, most if not all the links follow to your new site. But how does this process happen? 1.When Google sees the new domain does it simply apply the backlink profile of the old site to the new one? 2. Does it have to re-crawl all the links one by one and apply them to the new domain? 3. or something else?
Intermediate & Advanced SEO | | gazzerman10 -
Redirect on exact match domain to Brand domain question :)
Hi, If I have a website with the domain crazysocks.co.uk and a title tag 'black socks' would I see any benefit redirecting blacksocks.co.uk to crazysocks.co.uk, to give my keyword 'black socks' a boost in the SE's from the EMD. I see it loads where an EMD is indexed for its term but when you click the result it redirects to a branded domain. I personally cant see this being true but wanted to double check.
Intermediate & Advanced SEO | | activitysuper0 -
Sub-domains and different languages
Hi there! All our content is in two languages: English and Spanish, but they're basically the same (sometimes longer, sometimes shorter). We have the English content under a subdomain (en.mydomain.com) and the Spanish one under another subdomain (es.mydomain.com). First of all: is that correct? Is it better to have it under folders or under subdomains? But the most important question. When a user enters to mydomain.com is redirected through a 302 to the Spanish subdomain or to the English subdomain, depending on the language of his browser (microsoft.com works this way). We have now a lot of links pointing to mydomain.com but... where is all this link flow going?? Are we losing it? Should we have a landing page under mydomain.com pointing to both subdomains? or maybe redirect it through a 301 to just one of the subdomains, then redirect the user to his language if necessary? Thank you very much!!!
Intermediate & Advanced SEO | | bodaclick0