How to remove/hide file path in HEAD section

hello everybody, i want to ask a question, in the head section i wrote this:

#Default

<link rel=“stylesheet” type=“text/css” href=“<?php bloginfo(‘stylesheet_url’); ?>” media=“screen” />
<script src=“<?php bloginfo(‘template_url’); ?>/style/js/somescripts1.js” type=“text/javascript” charset=“utf-8”></script>
<script src=“<?php bloginfo(‘template_url’); ?>/style/js/somescripts2.js” type=“text/javascript” charset=“utf-8”></script>
<script src=“<?php bloginfo(‘template_url’); ?>/style/js/somescripts3.js” type=“text/javascript” charset=“utf-8”></script>

and when we go to the webpage then right click, it will show:

<link rel=“stylesheet” type=“text/css” href=“http://www.example.com/wp-content/themes/exampletheme/exampletheme/style.css” media=“screen” />
<script src=“http://www.example.com/wp-content/themes/exampletheme/exampletheme/style/js/somescripts1.js” type=“text/javascript” charset=“utf-8”></script>
<script src=“http://www.example.com/wp-content/themes/exampletheme/exampletheme/style/js/somescripts2.js” type=“text/javascript” charset=“utf-8”></script>
content/themes/exampletheme/exampletheme/style/js/somescripts3.js" type=“text/javascript” charset=“utf-8”></script>


#Question:
how to do and what should i do, so when we go to the webpage then right click it will show something like this:

<link rel=“stylesheet” href=“/css/style.css” type=“text/css”>
<script type=“text/javascript” language=“javascript” src=“/js/somescripts1.js”></script>
<script type=“text/javascript” language=“javascript” src=“/js/somescripts2.js”></script>
<script type=“text/javascript” language=“javascript” src=“/js/somescripts3.js”></script>

or

<link rel=“stylesheet” href=“…/css/style.css” type=“text/css”>
<script type=“text/javascript” language=“javascript” src=“…/js/somescripts1.js”></script>
<script type=“text/javascript” language=“javascript” src=“…/js/somescripts2.js”></script>
<script type=“text/javascript” language=“javascript” src=“…/js/somescripts3.js”></script>

#End

can somebody teach me or show me how to do that, any help highly appreciated, And im so sorry if my english not good.

thank you :slight_smile:

if you are on apache, maybe you’d like to play with url rewriting (some info here: http://www.askapache.com/htaccess/mod_rewrite-tips-and-tricks.html )

so you can create “fake” paths like: everything that starts with “/assets/” will be redirected to “wp-content/themes/your_theme”

Hello, argonauta…

thank you for replying my post and i really appreciate you information.

now let see what i can do… wish me luck… ^_^V

regads,

^_^V