URL Problems??

Discussion in 'HTML & Website Design' started by BeauRepairsWebDesign, Mar 17, 2014.

  1. #1
    Hi,
    I'm having what i believe is a simple error that is easy to fix i just simply cannot remember what i'm doing wrong.

    I have my client area installed on a subdomain such as "www dot clientarea dot mydomain.com" now i place the url onto a designed button on my home page and every time i go to click on the client area button it sends me over to "www dot mydomain dot com/wwwclientarea dot mydomain dot com" instead of "www dot clientarea dotmydomain.com".

    Now i'm sure its going to be simple fix can anyone point me in the "Right" direction?

    Kind Regards

    Beau
     
    BeauRepairsWebDesign, Mar 17, 2014 IP
  2. HuggyStudios

    HuggyStudios Well-Known Member

    Messages:
    724
    Likes Received:
    20
    Best Answers:
    26
    Trophy Points:
    165
    #2
    Can you post the code? Pretty hard to help without that. Also don't add www. to subdomains it should be subdomain.maindomain.tld
     
    HuggyStudios, Mar 17, 2014 IP
  3. BeauRepairsWebDesign

    BeauRepairsWebDesign Active Member

    Messages:
    378
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #3
    Hi,

    Sorry yes i know not to add www. to subdomains,

    So this is what it keeps getting redirected to
    >http://blchost.com/www.clientarea.blchost.com
    But instead i want it to simply go to
    > www.clientarea.blchost.com

    As for code i've gone through it a few times and all i simply add to the image is http://clientarea.blchost.com

    But it simply keeps redirecting it.

    Thanks
     
    BeauRepairsWebDesign, Mar 17, 2014 IP
  4. BeauRepairsWebDesign

    BeauRepairsWebDesign Active Member

    Messages:
    378
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #4
    Anyone ?? Any help would be appreciated
     
    BeauRepairsWebDesign, Mar 20, 2014 IP
  5. AbstractChaos

    AbstractChaos Member

    Messages:
    58
    Likes Received:
    4
    Best Answers:
    4
    Trophy Points:
    25
    #5
    If as you say the button (image with a Anchor wrapped around) href is indeed "http://clientarea.blchost.com/imagename.type", I would say it could be due to your .htaccess file could you show use the contents of the file? and perhaps the code for that button.
     
    AbstractChaos, Mar 20, 2014 IP
  6. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #6
    It SOUNDS like you aren't including the http:// in the href. There's a big difference between:

    <a href="www.clientarea.blchost.com">

    and

    <a href="http://www.clientarea.blchost.com">

    ----------------------------------

    ** EDIT ** -- yeah, see this?

    <a class="iconSmallClient" href="www.clientarea.blchost.com">

    Should be this:

    <a class="iconSmallClient" href="http://www.clientarea.blchost.com">

    Though damn, that site needs some help on the accessibility and coding. Inaccessible fixed metric fonts, illegible colour contrasts, endless pointless classes for nothing, STRONG on things that don't appear to require emphasis, presentational use of classes, clearfix like it's still 2001, gibberish use of numbered headings...
     
    deathshadow, Mar 20, 2014 IP
  7. BeauRepairsWebDesign

    BeauRepairsWebDesign Active Member

    Messages:
    378
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #7
    ^^ Thought it would have been something as simple as that! Yes your right i know it needs a lot of work, I only get to spend around 30mins a day trying to put it all together and correcting all the issues but i'm very thankful for your help and feedback!.

    Thanks again
     
    BeauRepairsWebDesign, Mar 21, 2014 IP