From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 263701383E0 for ; Thu, 1 Oct 2015 12:22:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81F7821C026; Thu, 1 Oct 2015 12:21:52 +0000 (UTC) Received: from homiemail-a81.g.dreamhost.com (sub5.mail.dreamhost.com [208.113.200.129]) by pigeon.gentoo.org (Postfix) with ESMTP id 6DAD521C00B for ; Thu, 1 Oct 2015 12:21:51 +0000 (UTC) Received: from homiemail-a81.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTP id A17DEA8072 for ; Thu, 1 Oct 2015 05:21:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=libertytrek.org; h=subject :to:references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=libertytrek.org; bh=2 yhF9oIHkOzoXk0MhcH+217usgA=; b=h5AUt6ydlpK/JXC1MwTq0LdjMm2qktLsU 9Z6XjxeZol3Yr3Ncplt08Ww/z1bbYwlkcaVHNOcL88MSGi6E6izF+KsZFAY3nAtr I/VIYzob40sx+zL3wB5Ir9LHmsJvmiZL1QMn/dpX6kY4G9xdUb+OmmWW+nd/YD4X b/ofEEp/zo= Received: from [192.168.1.110] (unknown [159.63.145.4]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: tanstaafl@libertytrek.org) by homiemail-a81.g.dreamhost.com (Postfix) with ESMTPSA id 759DAA806F for ; Thu, 1 Oct 2015 05:21:49 -0700 (PDT) Subject: Re: [gentoo-user] Major site redesign, SEO, and 301 redirects To: gentoo-user@lists.gentoo.org References: <560AEDFA.9000706@libertytrek.org> <560B2CC3.6030901@gmail.com> <560D1A76.5020502@libertytrek.org> <560D1FF7.1020605@gmail.com> From: Tanstaafl Message-ID: <560D255C.4010100@libertytrek.org> Date: Thu, 1 Oct 2015 08:21:48 -0400 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <560D1FF7.1020605@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 9ca31a97-df72-4a70-a338-8e5b97462693 X-Archives-Hash: 7d98862a16651df97dde928231557a0c Thanks to Alan and the others for the responses... The main problem is this project is being managed by a non-tech manager who apparently thinks they know a lot more than they do, and the Boss is technically challenged, so it is easy for someone to convince him of almost anything (like, he should delegate this to a non-tech person and not involve his one tech guy)... One reason he sometimes doesn't involve me until things get to this point is because I tend to be a 'wet blanket', ruining bright shiny sales pitches with injections of reality. You'd think he'd have learned by now. The last time, about 5 years ago, the person who managed the project (different person) didn't get ownership of the source code in the contract, so we didn't get all of the source files for the Flash junk they created, then when we wanted to make some changes to the text embedded in the Flash, I had to ask them for the source files, and they wanted a bunch of money. Unbelievable. We'll see how the dev(s) respond to my questions, but I may come back here with more info and more advice if I need it. Thanks again to all, it has been a big help! On 10/1/2015 7:58 AM, Alan McKinnon wrote: > On 01/10/2015 13:35, Tanstaafl wrote: >> Thanks Alan (and everyone else), >> >> One important follow-up below... >> >> On 9/29/2015 8:28 PM, Alan McKinnon wrote: >>> It would be wise to clarify with the devs exactly what it is they are >>> looking for. >> >> That is the purpose of my upcoming phone call with him. >> >>> And overall, in your shoes I would be firm, adamant and above all polite >>> and say that infrastructure changes go through you and you alone, and >>> must be vetted by you with full transparency. >> >> That is what I've been doing so far, but I think the boss is getting >> close to just saying 'give it to them'... > > Depending on how senior you are in the place, as technical guy you have > a duty to perform diligence. Persist. > >> >> But - no one has addressed my main question... >> >> I understand that 301 redirects are performed by web servers only, you >> can't really do these in DNS. However, some Managed DNS providers - >> DNSMadeEasy included - offer this ability as a service. DNSMadeEasy >> calls them 'http redirects', and the actual redirect is accomplished by >> one of their own web servers they have set up to handle these. > > Information is still sparse, so I'm having to fill in the blanks a lot. > Here's what I imagine is probably happening: > > The only useful thing you can get out of DNS for an HTTP request is an A > record for an IP address. > > Say you are example.com and do your own DNS; www.example.com is 1.2.3.4. > A SaaS provider can control your DNS and they set the TTL on that A > record very low so (like DynDNS does) they can point it at their web > servers. > > A request comes in for http://www.example.com/index.html, and your DNS > cache needs to query it. The provider's DNS returns 2.3.4.5 which is the > provider's front end web server. That web server figures out the address > is your's, and issues a 301 to the user, which takes them to the > production web server with the real site on it. > > Providers do this a lot so they can load balance web sites, redirect > users to local nearby web servers and other optimizations. The downside > is they need to control your DNS. > > Me, personally I would never allow that, not for the entire domain. I > would rather delegate the specific address they want to control > (www.example.com) and let them tweak that all day if they like. > >> Is it 'normal' to do these 301 redirects at the DNS level like that? I >> would think they should be using the current web server hosting the >> current site to start doing the redirects as they get the new landing >> pages done? > > Depends what their business model is. If they deliver the full service, > they'd have to do something like I described above for it to work. > > This is assuming the contractor is a full SaaS provider and not only a > web-site developement company > >> Apache does this using a .htaccess file (if I'm interpreting >> my googling responses correctly). > > An .htaccess file is nothing special, all it is is a config file that > can contain whatever directives are allowed in httpd.conf but applies > only to the directive .htaccess is in. Everything in .htaccess is a > valid directive that can go in httpd.conf, but not necessarily the other > way round. They are especially useful for shared hosting where you want > your customers to be able to tweak specific directives for their sites > and you can't give them access to httpd.conf and really can't be > bothered doing it for them for every requested change :-) > > So when google gives a result saying "do it in .htaccess", that's the > internetz being meaningless. What it really means is "configure apache > to do a redirect for URLs that look like so" > > >> And now that I worded it that way - how would they do that exactly? >> Would the proper method be to redirect it to a new test domain, ie: >> >> www.example.com/page1.htm >> www.new-example.com/newpage1.htm ? >> >> Or save the new page on the old server, then do: >> >> www.example.com/page1.htm >> www.example.com/newpage1.htm ? >> >> Now I'm confusing myself... > > > It can get confusing. Best to ask them directly what they intend to do. > We can presume all day and never figure it out. > >