PDA

View Full Version : How do I do an http to https redirect?


ilene
03-09-2009, 01:56 PM
Hi all,
First time I'm doing a "secure" site for a client. I have the cert and all is ok, but the domain comes up "http" unless you hand-type in "https". Hosting company says I have to do this within Dreamweaver CS3 but I haven't a clue how and can't find anything about it.

Anyone have any idea?

Much appreciated,
Ilene

edbr
03-30-2009, 08:28 AM
http://cooletips.de/htaccess/

davidj
03-30-2009, 10:12 AM
err

just clicked that link ed and the proxy just flagged it as adult content?

edbr
03-30-2009, 10:40 AM
its a htaccess generator, unless im missing the good stuff

ilene
03-30-2009, 11:46 AM
That would be easy if the site were on Linux servers. Unfortunately, it's on a windows server and they don't recognize htacess files.

davidj
03-30-2009, 01:11 PM
http://sniptools.com/vault/windows-apache-and-htaccess-authentication

ilene
03-30-2009, 01:56 PM
Thanks for the post, but they are not my servers...they are on GoDaddy and I can't tell you the run around I got from them. NO help at all. The page my client wanted secure is working fine. (The link within the site links to the https file and shows secure)

Now I have another site that we don't use anymore, but would like to retain the rankings for the keywords (similar on the new site)

Again, I can't figure out how to do a 301 redirect. Yes, I could put some java within the head tag, but I hear that the SE's frown on that and it's really not the correct way.

Any suggestions? I can't deal with customer support at Godaddy.

Much appreciated,
Ilene

P.S. I asked if they use Isapi rewrite (found how to do it through some research) and you'd have thought I had 3 heads!

edbr
03-31-2009, 12:51 AM
how about this i found ?
If you are not using a Unix or Apache server, you can still do a 301 redirect, if you are using .asp pages. Here's what you do:
Place the following code above your <html> tag or <!DOCTYPE>, if you have one:
<%@ Language=VBScript %>
<%
response.status="301 moved permanently"
Response.AddHeader "Location", "http://www.domain.com/file-location.html"
%>

ilene
03-31-2009, 11:20 AM
Dang...found that solution also, but my files are all HTML (you'd think it was a BAD thing at this point).
I read that I can ask GoDaddy to "run them through" asp, but like I said, they are not too willing to help here.
I have no clue how to convert my pages to asp either. Is this something I can possibly do? At this point it's JUST an index page.
OR, is there a way to do create a default.asp page? Is special programming needed for it? Like I said, I know nothing of asp.

I know I'm quickly heading to the end of the tunnel here, but I do appreciate your time and help.

Here's a question... (shot in the dark here) If I cancel the hosting on the account and just forward the domain with a 301 'forward', do I still retain my SE rankings for keywords? That is something I can do within my control panel.

Thanks,
Ilene

Corrosive
03-31-2009, 12:08 PM
Here's a question... (shot in the dark here) If I cancel the hosting on the account and just forward the domain with a 301 'forward', do I still retain my SE rankings for keywords? That is something I can do within my control panel.


Why not just get a new host and then move the domain registration to them? You shouldn't lose any rankings you have.

edbr
04-01-2009, 12:32 AM
a default page would be index.asp if there was no other like index.html. i have no clue on asp either but try putting the above code and call it index.asp and redirect to your trial page call it default for example.
as for ranking i put a redirect on a site due to a business closing and reopening under a different name it had a google pr of 3 and after a year + it is now 2 however most pages were downsized (this is just a reference0 a major factor would be how many back links there are to that site.

i must say though all these problems would go away if you moved the domain to a linux server