![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Sorry if this is a FAQ, but I just realised I may be doing something wrong on my sites. With SEO in mind, should links in subdirectories be full-path: http://www.example.com/example.html or relative: ../example.html |
#3
| |||
| |||
|
|
GB Blanchard <1122 (AT) 1122noexiste (DOT) net> wrote: Sorry if this is a FAQ, but I just realised I may be doing something wrong on my sites. With SEO in mind, should links in subdirectories be full-path: http://www.example.com/example.html or relative: ../example.html Does it matter to your visitor? No. Gives one more info then the other? No. Does using the latter make *your* work easier: yes. Why should the latter make "my" work easier??? |
#4
| |||
| |||
|
|
"John Bokma" <john (AT) castleamber (DOT) com> skrev i meddelandet news:Xns972A87179336Ccastleamber (AT) 130 (DOT) 133.1.4... GB Blanchard <1122 (AT) 1122noexiste (DOT) net> wrote: Sorry if this is a FAQ, but I just realised I may be doing something wrong on my sites. With SEO in mind, should links in subdirectories be full-path: http://www.example.com/example.html or relative: ../example.html Does it matter to your visitor? No. Gives one more info then the other? No. Does using the latter make *your* work easier: yes. Why should the latter make "my" work easier??? |
#5
| |||
| |||
|
|
Luigi Donatello Asero wrote: "John Bokma" <john (AT) castleamber (DOT) com> skrev i meddelandet news:Xns972A87179336Ccastleamber (AT) 130 (DOT) 133.1.4... GB Blanchard <1122 (AT) 1122noexiste (DOT) net> wrote: Sorry if this is a FAQ, but I just realised I may be doing something wrong on my sites. With SEO in mind, should links in subdirectories be full-path: http://www.example.com/example.html or relative: ../example.html Does it matter to your visitor? No. Gives one more info then the other? No. Does using the latter make *your* work easier: yes. Why should the latter make "my" work easier??? Hmm.. how to explain this to you... Try it yourself. Type 10 links in your page full path. Use a stopwatch to see how long it takes you. Then type 10 links with just ../ before the filename. Time that too. Which of the two took you the longest? |
|
Besides that, if you'd ever want to (temporarily) move an entire directory with subdirectories to another place in the site (for instance from https://www.scaiecat-spa-gigi.com/sv/ to https://www.scaiecat-spa-gigi.com/it/ ) you won't have to change any links inside that directory if you used relative links. |
#6
| |||
| |||
|
|
"John Bokma" <john (AT) castleamber (DOT) com> skrev i meddelandet news:Xns972A87179336Ccastleamber (AT) 130 (DOT) 133.1.4... GB Blanchard <1122 (AT) 1122noexiste (DOT) net> wrote: Sorry if this is a FAQ, but I just realised I may be doing something wrong on my sites. With SEO in mind, should links in subdirectories be full-path: http://www.example.com/example.html or relative: ../example.html Does it matter to your visitor? No. Gives one more info then the other? No. Does using the latter make *your* work easier: yes. Why should the latter make "my" work easier??? |
#7
| |||
| |||
|
|
"Luigi Donatello Asero" <jaggillarfotboll (AT) telia (DOT) com> wrote: "John Bokma" <john (AT) castleamber (DOT) com> skrev i meddelandet news:Xns972A87179336Ccastleamber (AT) 130 (DOT) 133.1.4... GB Blanchard <1122 (AT) 1122noexiste (DOT) net> wrote: Sorry if this is a FAQ, but I just realised I may be doing something wrong on my sites. With SEO in mind, should links in subdirectories be full-path: http://www.example.com/example.html or relative: ../example.html Does it matter to your visitor? No. Gives one more info then the other? No. Does using the latter make *your* work easier: yes. Why should the latter make "my" work easier??? Ok (I am not going to explain the obvious today): how about: it saves some bandwidth. |
#8
| |||
| |||
|
|
No. Does using the latter make *your* work easier: yes. Why should the latter make "my" work easier??? Ok (I am not going to explain the obvious today): how about: it saves some bandwidth. |

#9
| |||
| |||
|
|
"Els" <els.aNOSPAM (AT) tiscali (DOT) nl> skrev i meddelandet news:x77p33vtvjox$.dlg (AT) locusmeus (DOT) com... Luigi Donatello Asero wrote: "John Bokma" <john (AT) castleamber (DOT) com> skrev i meddelandet news:Xns972A87179336Ccastleamber (AT) 130 (DOT) 133.1.4... GB Blanchard <1122 (AT) 1122noexiste (DOT) net> wrote: Sorry if this is a FAQ, but I just realised I may be doing something wrong on my sites. With SEO in mind, should links in subdirectories be full-path: http://www.example.com/example.html or relative: ../example.html Does it matter to your visitor? No. Gives one more info then the other? No. Does using the latter make *your* work easier: yes. Why should the latter make "my" work easier??? Hmm.. how to explain this to you... Try it yourself. Type 10 links in your page full path. Use a stopwatch to see how long it takes you. Then type 10 links with just ../ before the filename. Time that too. Which of the two took you the longest? You just copy the part which is before the name of the file itself. Besides that, if you'd ever want to (temporarily) move an entire directory with subdirectories to another place in the site (for instance from https://www.scaiecat-spa-gigi.com/sv/ to https://www.scaiecat-spa-gigi.com/it/ ) you won't have to change any links inside that directory if you used relative links. If you use a file called let´s say foo.html which you include using php ?php include "foo.html"; ? you just have to modify the links in that file. |
#10
| |||
| |||
|
|
"John Bokma" <john (AT) castleamber (DOT) com> skrev i meddelandet |
|
Ok (I am not going to explain the obvious today): how about: it saves some bandwidth. But, on the other side, if I have to copy a link to let´s say the page C and I already have this link on the page A and now I want to have the same link to C from the page B, the latter does not work... |
![]() |
| Thread Tools | |
| Display Modes | |
| |