<script>
document.write(location.href);
</script>
gives me the domain with the directory which is for example (something.com/g) what i want is that content hosted on something.com/g seems like is hosted in something.com so that it tells all eveything im hosted in something.com.if you could give the response in javascript it would help.thank you