Probably a really, really easy question.
I have a Sony Vaio laptop and I'm in the UK. Obviously the "power adapter" is a particular model with a particular voltage that is specific to this laptop. But is the actual "power cable" that joins the "power adapter" to the plug socket universal?
What...
Hi,
My website (http://tinyurl.com/67y2ez4) looks fine in all current browsers but I have a slight problem with IE6. At the very top of the page is an image (advertisement). In IE6 this is moved down the page creating a large white section. I have tried removing this image and can confirm that...
I have an ID that I would like to convert into a Class. Here is my HTML:
<div id="example">
<ul class="menu">
<li class="expanded last">
<a href="/test" title="">Test1</a>
<ul class="menu">
<li class="leaf first">
<a href="/test" title="">Test2</a>
</li>
<li class="leaf">
<a href="/test"...
It doesn't need to be a select, but it does need the default option to be a member of the list.
The annoying thing is that the original script I posted works perfectly in both Firefox and Safari. It's IE that's the problem (as usual). Maybe I could add a small button to the right of the select...
Is there any way that this script can be modified so that the first option can have a URL please? I'd prefer not to have an entry like <option>-- link --</option> if possible.
Hi.
I'm using a small piece of Javascript to open a URL in a new window when a user selects a value in a combobox:
<head>
<script type="text/javascript">
function urlopen(target)
{
window.open(target)
}
</script>
</head>
and then:
<body>
<form name="test"><select name="test"><option...
Thanks for sticking with this Rob. I tried this but it still didn't redirect I'm afraid:
RewriteRule ^/directory/(.*) http://subdomain.domaintwo.com/$1? [R=301,L]
Here's an example URL:
http://www.domainone.com/go/click?a(2423364)b(19134)foo(21071484)bar(6)
to...
I've tried lots of possibilities and the only one that's come close is:
redirect 301 /directory/ http://subdomain.domain2.com/
The only problem with this is that:
http://www.domainone.com/directory/something
is converted to:
http://subdomain.domaintwo.com/directory/something
Thanks Robert, I've tried your first solution and it won't work I'm afraid - it still goes to the URL on domainone.com
To answer your questions:
1. The two domains are hosted completely separately.
2. All URLS are in the format:
http://www.domainone.com/directory/something...
Sorry elgrandeperro. I'm using a CMS so my "directories" aren't actually directories, they're just URLs created on the fly.
I guess by trying to simplify the question I made it more complicated.
Smah - thanks for your help and apologies for not replying sooner. It looks as if your code redirects ALL of the URLs on the first domain to the subdomain on the second domain.
What I'd actually like to do is only redirect URLs within one directory on the first domain, so...
But surely:
http://subdomain.domaintwo.com/anythingatall
Should actually read:
http://subdomain.domaintwo.com
or something else,
because:
http://www.domainone.com/directory/somethingelse
and
http://www.domainone.com/directory/anythingelse
should be forwarded to...
I need to redirect all URLS relating to a subdirectory on one domain to a subdomain on another domain, e.g.
http://www.domainone.com/directory/anythingatall
Should be redirected to:
http://subdomain.domaintwo.com/anythingatall
This needs to work for...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.