Forum Moderators: not2easy

Message Too Old, No Replies

my redirection does not read the CSS file!

         

Elipsis

8:47 pm on Oct 23, 2009 (gmt 0)

10+ Year Member



Hi Hi,

I've got a domain, say mydomain.com

But I went and got a miss spelt domain, say mydomane.com

Just so the mydomane could instantly be redirected to the mydomain site.

The my domain site has a domain.css file attached to it. which is fine if you go straight there, but if you get redirected, the css file is not read and the whole thing is just stacked on top of each other.

Foo I really must be noob at this thing. I've done a php header redirect and a meta redirect... and I've even uploaded the css file in the subdirectory... what should I do?

Elipsis

8:59 pm on Oct 23, 2009 (gmt 0)

10+ Year Member



Ahh n/m it was just stuck on stupid auto redirect by the dame cpanel. I just uninstalled and up in a html index with the following code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>mydomain.com</title>
<meta http-equiv="REFRESH" content="0;url=http://www.mydomain.com"></HEAD>
<BODY>
</BODY>
</HTML>

Okies thanks... ish

g1smd

11:15 pm on Oct 23, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



A meta refresh isn't a 'proper' redirect.

Additionally, for the 'right' domain, does non-www correctly redirect to www?

Point all the domains at one server, and then install the right .htaccess code that will then properly 301 redirect for all non-canonical URLs.