그누질문에다가 해봤다가 퇴짜맞을까봐 혹시나해서 여기에..
최상위루트에 head.php index.php tali.php . 폴더 등등이 있잖아요..?
근데 그 포함된 폴더(스킨) 도 </html> 까지 감싸주는데..
꼭 최상위루트에 있는 파일만 <head>에서 불러 올수 있는걸까요?
skin 에 있는 css 들은 스킨 설정파일에서 불러와야 하던데,.
그렇다고 <html><head> 넣어주면 중복사용되고 표준통과도안되고 ..
이미 head.sub.php 과 tali.sub.php 에서 사용되고 있자나요.
html가 폴더속까지 제어못하는걸까요??
html 에 대한 폴더구조? 에 대해 알고싶습니다 ..
댓글 22개
제가해보니까 안불러와지는것 같던데..
다불러와진다면 dtd 버전에서 따로불러오는
//회원서비스 스킨 CSS 로드if(!is_null($member_skin_path) && file_exists($member_skin_path . '/style.css')) echo '<link rel="stylesheet" type="text/css" href="'.$member_skin_path.'/style.css" charset="UTF-8" media="all" />'."\n";
요런걸 넣지 않았겠죠..
제가말하는건 head.sub 안에서 스킨 스타일시트를 모두 불러오지못하냐 인거죠.
다불러와진다면 dtd 버전에서 따로불러오는
//회원서비스 스킨 CSS 로드if(!is_null($member_skin_path) && file_exists($member_skin_path . '/style.css')) echo '<link rel="stylesheet" type="text/css" href="'.$member_skin_path.'/style.css" charset="UTF-8" media="all" />'."\n";
요런걸 넣지 않았겠죠..
제가말하는건 head.sub 안에서 스킨 스타일시트를 모두 불러오지못하냐 인거죠.
구글에서는
"It is recommended that websites use absolute links rather than relative links. Absolute links prevent the possibility for a spider associating a link incorrectly."
SEO 때문에, 가능한 경우 절대경로를 써라, 상대경로를 쓰지 말아라 라고 합니다.
저도 상대경로를 쓰는게 손에 익어서.... 조금 번거스럽긴 한데....
빌더같은 배포용이 아닌이상, 절대경로를 쓰는게 요즘 원칙이더라구요.
It is a good idea to use absolute paths, without the domain name, on most websites. This format insures that the link or image will be usable no matter where you place the page. This may seem like a silly reason to use longer links, but if you share code across multiple pages and directories on your site, using absolute paths will speed up your maintenance.
사이트 보수유지의 편의성을 위해서라도 절대경로를 써라.
////////////////////////////////
"It is recommended that websites use absolute links rather than relative links. Absolute links prevent the possibility for a spider associating a link incorrectly."
SEO 때문에, 가능한 경우 절대경로를 써라, 상대경로를 쓰지 말아라 라고 합니다.
저도 상대경로를 쓰는게 손에 익어서.... 조금 번거스럽긴 한데....
빌더같은 배포용이 아닌이상, 절대경로를 쓰는게 요즘 원칙이더라구요.
It is a good idea to use absolute paths, without the domain name, on most websites. This format insures that the link or image will be usable no matter where you place the page. This may seem like a silly reason to use longer links, but if you share code across multiple pages and directories on your site, using absolute paths will speed up your maintenance.
사이트 보수유지의 편의성을 위해서라도 절대경로를 써라.
////////////////////////////////
게시글 목록
| 번호 | 제목 |
|---|---|
| 1717629 | |
| 1717626 | |
| 1717625 | |
| 1717621 | |
| 1717619 | |
| 1717611 | |
| 1717610 | |
| 1717609 | |
| 1717607 | |
| 1717601 | |
| 1717598 | |
| 1717591 | |
| 1717590 | |
| 1717583 | |
| 1717575 | |
| 1717572 | |
| 1717568 | |
| 1717566 | |
| 1717549 | |
| 1717545 | |
| 1717533 | |
| 1717512 | |
| 1717511 | |
| 1717508 | |
| 1717495 | |
| 1717479 | |
| 1717473 | |
| 1717470 | |
| 1717463 | |
| 1717452 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기