Forum Moderators: open

Message Too Old, No Replies

Convert paths to absolute in multiple HTML documents

Dreamweaver extension? Script, Tool , tip?

         

silverbytes

5:00 pm on Dec 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I need to Convert all paths to absolute (http://www.bla )in multiple HTML documents and I'm looking for a dreamweaver extension or other way to do that.

I tried relativity extension but didn't work.
Any help?

Amicus Careo

7:06 pm on Dec 4, 2005 (gmt 0)

10+ Year Member



I had this same problem a while back. Couldn't figure anything out. Had to go with old fashioned find and replace. If anyone can help out here that would be great.

silverbytes

1:25 pm on Dec 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The extension I mentioned it suppoused to do that but doesn't work for me, can't belive there is no other way...

kaled

2:31 pm on Dec 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



To what purpose? Browsers don't care and despite what many think, search engines probably don't care either.

Kaled.

silverbytes

4:16 pm on Dec 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That is not the point and doesn't help the subject of this thread. Due to reasons we don't need to explain, we need to have absolute paths and comments about how to get it are welcome.

kaled

5:32 pm on Dec 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Other people reading this thread might be interested to know the purpose - myself included. If you're secretive you can hardly expect others to share their knowledge can you?

Kaled.

silverbytes

7:43 pm on Dec 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The purpouse of desiring absolute html paths is not the question. And it is a tech. question only.
BTW still not solved...

tedster

8:28 pm on Dec 5, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



If you've got Dreamweaver, you most likely have Homesite. Homesite has a very good extended search and replace function (it even uses regex) that you could run once or twice on each folder to replace relative URLs. Just be sure to spot any ../ style urls if you have used them and handle them separately.

Other possible challenges that would require forethought might be the use of include files or any cases where you are rewriting urls.

tedster

6:38 am on Dec 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Other people reading this thread might be interested to know the purpose

Although I can't speak for silverbytes, Googleguy didn't mince words when he recommended absolute links back in June:

I recommend absolute links instead of relative links,
because there's less chance for a spider (not just Google,
but any spider) to get confused.

[webmasterworld.com...]
Message #7

kaled

2:25 pm on Dec 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I remember the post. However, if you were to ask GG "Are you aware of any search engine that has problems following relative links?" the answer would probably have been NO and certainly Google would not have been on the list.

There are also people firmly convinced that using abolute links innoculates your site from page hijacking - but it's so unlikely that I can't think of a comparative metaphor.

Kaled.

topsites

1:31 am on Dec 7, 2005 (gmt 0)



I am not sure what you mean by relative/absolute thou I believe you need something to rename a slew of files?

If so, I might recommend a batch file renamer such as:
[1-4a.com...]

If not (or if the problem is internal to the file) and you need something with a global find/replace function, I might recommend Cute Html (thou it is not free).

If that still does not cover things, please explain to me what is being accomplished here and I will see what I can find.
Peace out

Lynque

3:57 am on Dec 7, 2005 (gmt 0)

10+ Year Member



If you've got Dreamweaver, you most likely have Homesite. Homesite has a very good extended search and replace function (it even uses regex) that you could run once or twice on each folder to replace relative URLs. Just be sure to spot any ../ style urls if you have used them and handle them separately.

DeamweaverMX has regex capabilities in it's search/replace tool as well.

Lynque

3:58 am on Dec 7, 2005 (gmt 0)

10+ Year Member



DreamweaverMX...