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> ------------------------------------------------------------------------------------- :confused:#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, and not showing the source file path just the "somescript.js": ------------------------------------------------------------------------------------- <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:) |
Can anyone answer this please, I also have the same question.
Thank you! |
|
All times are GMT -6. The time now is 11:42 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.