![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
John U. wrote: Here is a common problem: I have many (> 100) links on a web page, all pointing to different pages on the same domain (e.g., "http:// www.x12345.com/"). This is a bother because (1) it takes a lot of typing, and (2) more importantly, if (or when) the main URL changes, it takes a lot of work to update the links. Any text editor--even Windows Notepad--has a search-and-replace feature that will change the domain for you in a single operation. |
#12
| |||
| |||
|
|
Fri, 14 Dec 2007 08:46:05 -0500 from Harlan Messinger hmessinger.removethis (AT) comcast (DOT) net>: John U. wrote: Here is a common problem: I have many (> 100) links on a web page, all pointing to different pages on the same domain (e.g., "http:// www.x12345.com/"). This is a bother because (1) it takes a lot of typing, and (2) more importantly, if (or when) the main URL changes, it takes a lot of work to update the links. Any text editor--even Windows Notepad--has a search-and-replace feature that will change the domain for you in a single operation. In one file at a time. You have to open every file and repeat the search and replace. I think that qualifies as "a lot of work". |
|
However, there should be *very* few occurrences of the domain name in the HTML for a properly constructed site. The link to your home page, from within the site, should be href="/" and not href="http://www.example.com". |
#13
| |||
| |||
|
|
That's what I said. |
![]() |
| Thread Tools | |
| Display Modes | |
| |