which is the document root

Zagorax

Verified User
Joined
Jan 11, 2011
Messages
67
Hi,

I have problem with link.
I'm using wordpress on a domain. If I use link like "wp-includes/js/script.js" I, obviusly, can see my script only from homepage.

Adding the slash in front of the line, like "/wp-includes/js/script.js" make impossible to access the file.

Can you help me? wp-includes is under public_html that is setted as document..

Thank you
 
Hello,

This "/wp-includes/js/script.js" should work. Try to open in browser "/wp-includes/js/script.js?" to avoid caching or use CTRL+F5 (CTRL+R).

You might want to share your domain name with us to check, what is wrong.
 
Back
Top