Subdomain link to domain

Status
Not open for further replies.

IceClaw

New Member
Messages
12
Reaction score
0
Points
0
What would the link be to get from the subdomain to the domain page?
Like a home button.
<a href="???????">
 

Corey

I Break Things
Staff member
Messages
34,551
Reaction score
204
Points
63
I have no clue what you are talking about.
 

tuclan

New Member
Messages
11
Reaction score
0
Points
0
try "../" im not sure but that goes up one directory so it depends on who knows what. I think that is what your looking for but im not sure if it will work for this

(NOTE: It can be used multiple times! I.E. www.sub.site.com/../../../)
 

IceClaw

New Member
Messages
12
Reaction score
0
Points
0
k let's see if i can put it in some different words
let's see
my main page(domain) has links to go to the sub pages(subdomain)
so i want to create a links on the sub pages(subdomain) to go back to the main page(domain)
so u don't have to press the back button of the browser to go back one page
 

tuclan

New Member
Messages
11
Reaction score
0
Points
0
so then it would most likely be javascript:history-1

LOL idk that one though
 

tuclan

New Member
Messages
11
Reaction score
0
Points
0
no problem any time feel free to PM me anything else you have troubles with
 

Alejandro

Staff
Staff member
Community Support
Messages
9,436
Reaction score
1
Points
38
That javascript code only goes one page back, not necessarily to the main domain. I would just use: <a href="http://www.domain.com">Text</a>
 
Status
Not open for further replies.
Top