File path problem
Check my website jobs.nimrans.com
On the index.php of this domain you will find Login link on the top of the page on a black strip.
I have linked this Login link to index.php of my website www.nimrans.com
But this link is not working correctly and doesn't open that page. Is there any coding problem? Or any other problem? Please check it and help me.
Can't see a thing without the source.
What's the link href provided in the page? Does it match what is expected?
somehow, the whole server path is included in the URL ...
But it only seems to be on that link.
Do you have a page where the login exists?
No, the Login link has this code
Yes i have a page where login exists.
well, obviously it doesn't exist.
This is what the link should be: http://www.nimrans.com/
Which is the same as: http://www.nimrans.com/index.php
Click those two links and see what happens ...
It looks a lot like a login to me.
Are you doing some funky mod rewrites in your .htaccess file?
You don't need to put each page or section in its own directory.
Not sure what this is all about ... what are these directories for?
If file.php is in my subdomain and there is a link in file.php. Now i want to connect this link to a file index.php that is in my public_html.
I tried the following:
But this is not opening the index.php. I think that the path that i am using is lacking something. Please tell me if this path requires some change.
HTML is jailed to its root directory. PHP can go across subdomains, but HTML cannot. You need to provide it with a full link to the target. /home/username/public_html is not accessible in HTML.
Why won't this work ....
That seems rather obvious.
I'm I missing something here?
Thanks both of you. My problem is solved. I gave full path to my link i.e.
<a href='http://www.nimrans.com/file.php'>Link</a>. And now its working correctly. But as much as i can remember, i did it using /home/..../public_html/, last time. Anyways thanks.