close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

These Paths are killing me...subfolder dropped in URL

Thread began 9/18/2010 9:25 am by m.tendler185754 | Last modified 9/21/2010 10:41 am by m.tendler185754 | 1201 views | 5 replies |

m.tendler185754

These Paths are killing me...subfolder dropped in URL

Go to this site:

lynchdemo/

If you click on the HOME link on the menu it will take you to: www.fotash.com

I don't know if it matters, but the site is being built with a dreamweaver template.

I have tried messing with the options in the Dreamweaver Site Setup Relative settings, adding/removing the slash on the menu link (index.html vs /index.html) and I can't figure it out.

The same thing happens if you click on the link Manufacturers / Akro-Mills...it should go to: bins-totes-plastic.html

I just can't figure out why it drops the "/lynchdemo/" from the path. Did I do something wrong in the CSS Menu Writer or the Site Definition in Dreamweaver?

Please someone help!

Thanks,

Mitch

Sign in to reply to this post

neilo

When I look mat your source code, I see:

<a href="/index.html">Home</a>

The opening forward slash followed by 'index.html' ensures that your browser is made to look for index.html in your site's root directory.

You could use either:

<a href="index.html">Home</a>

or

<a href="/lynchdemo/index.html">Home</a>

or the full remote filepath (to be sure).

Of the first two, above, the second would be preferable, as the path would be correct from anywhere in your site.

Sign in to reply to this post

m.tendler185754

neilo...you are correct, but shouldn't the Menu Writer handle this automatically?

Sign in to reply to this post

neilo

Hi Mitch,

Yes, it usually does. I think it depends on your local and remote site settings at the time the menu is created. If your initial site settings - as defined in Dreamweaver - are something like:

Local Site (and testing server):
C:\Inetpub\wwwroot\fotash\lynchdemo\

Remote Site:
/html/fotash.com/lynchdemo/
then the assumed site root when the menu is built is the \lynchdemo folder, so the created structure on the remote server wrongly assumes that /index.html file is in your site root (i.e. not your \lynchdemo folder).

If your Dreamweaver Site definition is:
Local Site (and testing server):
C:\Inetpub\wwwroot\fotash\

Remote Site:
/html/fotash.com/
and you create the menu in a page in the \lynchdemo folder, then the paths should be correct, as the remote site paths are defined as: www.fotash.com (root) /lynchdemo (pages with menus in).

I may me wrong, I may test it later to check. Hopefully a WA tech can advise on Monday.

It would be worth your while (as you are working with a lot of pages on your site - looking good btw) to convert the pages to .php pages, and then have your menu as an 'include' on each page. You would only then have your menu on one file, which all the other pages 'include' (refer to).

Sign in to reply to this post

Jason ByrnesWebAssist

the paths are created based on the site definition.

On the local Info tab, double check the HTTP Address.

On the Testing Server tab, double check the URLPrefix.

Sign in to reply to this post

m.tendler185754

Thanks everyone...I decided to put the site on one of my hosted testing servers were I could setup a subdomain that pointed to a specific folder, this way I can just use the root avoid all of this.

Mitch

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...