Skip to main content
MarekMularczyk
Community Expert
Community Expert
May 1, 2010
Question

Dynamically-related files could not be resolved...

  • May 1, 2010
  • 16 replies
  • 119868 views

Hello,

I need some help setting up Dreamweaver CS5 to work with my blog (it runs on wordpress).

I am getting this errror message:

"Dynamically-related files could not be resolved because the site definition is not correct for this server."

What settings do I need to change to manage my blog from withing Dr CS5?

I will appreciate any help.

This topic has been closed for replies.

16 replies

Inspiring
January 7, 2020

I have the same error message: Dynamically-related files could not be resolved because the site definition is not correct for the server.

I'm looking for clues as to what the issue might be.  In reading the various posts on this error, they seem to point in many directions.

I don't like having errors present, but I'll also say I can't see that it's causing any problem with rendering the whole site.

 

Can anyone point me in the right direction?

 

Here's some of my setup which hopefully provides a complete enough picture:

  • This is a Windows 10 machine; WP ver 5.3.2; Dw CC ver 20 build 15196
  • I'm using Laragon local server
  • WP installed
  • Dw has been instructed to go find all dynamically linked files.  Because the page renders, I think it's succeeding, but the error persists.
  • In Dw Live view I can see a fully rendered WP site page
  • In my Site settings I have the following paths.  All point to the same level in the WP file structure:
    • Local site folder: C:\laragon\www\locWP\
    • Testing server folder: C:\laragon\www\locWP\
    • URL: http://locwp.test:81/  (...I needed to use port 81 because there was a conflict on 80)

 

Let me know if there's something else I can relay that would lend some clues. 

Thanks in advance for ideas as to what to look for next.

 

venchr
Participant
April 6, 2016

Try changing the permalink in Wordpress to the default, this worked for me!

Participating Frequently
March 1, 2016

I've just come across this problem and found (elsewhere, just before finding this thread) that the fix is to change the permalinks. However, what if we don't want the plain permalinks option? I never use that because I like the posts to have real names, not numbers. Is there a way of getting Dreamweaver to recognise this or will it simply not work?

AlanGilbertson
Community Expert
Community Expert
March 1, 2016

Kaleel, this is less of a problem than it may seem. Your local WAMP/XAMP development environment can use the generic, DW-friendly permalinks without affecting your live site, which has its own permalink settings. That's how I work with DW when I use it with WAMP.

I don't know what the engineering challenges are in having DW interpret friendly permalinks rather than working directly with the MySQL indexes directly, but I suspect this is far from trivial. I'd rather the dev team put the time into making DW quicker, smoother for responsive design and a lot more robust, given that the workaround for permalink issues is so simple. In the last year I've found myself working less in Dreamweaver and more with Brackets, because the combination of Brackets, Chrome, and Chrome's "Inspect Element" feature is so much faster and never freezes or crashes.

Participating Frequently
March 8, 2016

Thanks Alan, that's useful. I've had a quick look at Brackets and may use it more now.

R8th
Participant
April 6, 2011

I can't beleive that it's just pretty permalinks choking up DW... Well, CS5 improve on CS4... Hopefully CS6 can handle multiple virtual hosts (and DocumentRoots) and htaccess's at the same time! (with perhaps xampp or some sollution bundled and managing the host file for us! LOL)

Also, check out the second answer here and the link to here for sollutions to running more then one testing site.

I really am hoping that the next version has built in management for this (or some nifty CS5 Extension that I could easily install...)

Participating Frequently
October 26, 2010

OK I FINALLY GOT IT!!!!!!!!!!!!!

yes!!

I found out the only issue I was having was that the web URL on my Remote Server was wrong, I always had it http://www.MYDOMAIN.com because I thought thats what I was supposed to do, but I was watching more tutorials and realized that doesnt have to be because I always seen them put their web URL for the local info in the advanced section as http://localhost/DATABASENAME/ and since they have to be the same thing thats why I was confused.  so I changed my web URL of the remote server to be the http://localhost/DATABASENAME/ one and miraculasly it worked!

so now that thats out of the way, is the purpose of opening the wordpress files in dreamweaver to actually edit the blog posts or is it just to change the styling and stuff like that?

Participating Frequently
October 26, 2010

Congratulation! The purpose of using dreamweaver on wordpress is to have WYSIWYG platform for design... and probably very handy for non-programmer making their database driven web site.

bruce

Participating Frequently
October 26, 2010

lol, I actually have no idea what 'WYSIWYG' means

Participating Frequently
October 25, 2010

Still no fix for this issue....oh well at least

the default permalink works.

Cheers

Micheltm

Participating Frequently
October 25, 2010

hi,

my work around of this issue:

1. if you are working with "pretty" permalink, you need to switch back to "Ugly" default setting in wordpress first.

2. Open DW and click discover dynamically-related files button

3. DW will find all the related file

4. Go back to wordpress dashboard, change the pemalink setting from "Ugly" to "Pretty" mode again.

5. Go back to DW, and now you can work with DW will "Pretty" permalink feature enabled.

hope adobe will have a better fix on this issue, but we can try out this work around method.

Bruce

Participating Frequently
October 24, 2010

I am also having these issues, but changing the permalimk settings didn't seem to do it for me because they were already set to default.

but one thing I need to be clear on is this:

when using the wordpress files in dreamweaver, do I need to set up a new site definition just for the wordpress blog? like for editing them in dreamweaver?

or is it ok to simply add on another testing server to the remote server I already have for my whole site?

you see my site is not just a blog, the blog is only a part of it cuz I also have a bunch of nav buttons for home page, videos, pictures etc.  and whenever  I see tutorials on how to bring wordpress into dreamweaver, they always make a brand new site definition in dreamweaver as if its the only thing in the site which is unlike mine, because the blog is among many other pages.

any help would be appreciated, thanks!

Participating Frequently
October 25, 2010

Hi there,

In my case, DW only likes workpress "Ugly" link (default) setting. If it's doesn't work for you, there may have setting problems in site definition.

In your case, I think you only need to create ONE site definition even you host more than one wordpress in the same site root. But the site need to be properly defined:

you can follow this:

http://www.youtube.com/watch?v=KPpjuievC04

Just take a look at site definition setting.

From experience:

when using the wordpress files in dreamweaver, do I need to set up a new site definition just for the wordpress blog?

A. NO, only One site definition is enough... but technically, you can create a site definition for your wordpress only.

is it ok to simply add on another testing server to the remote server I already have for my whole site?

A. for web development, it's always good to set up a testing server, and one testing server is enough.

you see my site is not just a blog, the blog is only a part of it cuz I also have a bunch of nav buttons for home page, videos, pictures etc. and whenever I see tutorials on how to bring wordpress into dreamweaver, they always make a brand new site definition in dreamweaver as if its the only thing in the site which is unlike mine, because the blog is among many other pages.

A. Take a look at tutorial video from lydia:

http://www.youtube.com/watch?v=exSNc_t3jVU

http://www.youtube.com/watch?v=JoEvTGCgmnU

there example project is exactly what you are looking for, the wordpress blog is only part of the feature ofthe whole website.

hope can help you.

bruce

Participant
June 17, 2010

To any Joomla users that are managing to get live view to work but can't get it to discover dynamic files, I think I found the problem, Rachels post made me think....if permalinks in Wordpress cause a problem, I wonder if enabling SEO in config does the same?

I'm sort of glad to say taht if you untick the seo stuff in teh global configuration, everything works and all files are properly discovered in DW5

Just a minor bug taht hopefully they will sort

Participant
August 20, 2010

turning of Joomla 1.5.2 global settings for SEO worked! Thank you I messed with this fo more than six hours. Adobe, you should mention this and the word press solutions in you multitude of how to's. It will spare you many bad-mouth posts. When this feature is working it is marvelous.

Participant
September 21, 2010

Another vote for the turning off the SEO links fix!   I suppose this is why it's off by default...

Participating Frequently
June 8, 2010

I personally installed wordpress severals  times locally as i could only make the dynamic discover feature work  maybe once or twice each time i installed, then I would get this error.  After trying several different server setups i almost gave up. Today I  was working with wordpress outside of dreamweaver and was looking for a  way to change permalinks to have a php extension. After looking for a  while I noticed people kept talking about making differnet servers like  xamp able to handle permalinks. Then the light came on for me and I  realized each time I installed wordpress I would eventually change the  default permalink to day and name. So I turned it back to default in  wordpress and bingo I could now discover the files. Tried this several  times to make sure this was the issue. Yippe!!

Michael

Michael

AlanGilbertson
Community Expert
Community Expert
June 16, 2010

That is definitely the fix for Wordpress, Michael. Good find!

Participating Frequently
June 16, 2010

Thanks kindly AIGPHOTO

Michael

Participant
May 13, 2010

@ Samb0123

Thank you very much! I had been setting up sites and servers so many times I lost count ... and it just would not work! I kept getting the "Dynamically-related files could not be resolved .." message.

Now thanks to your video I saw where I went wrong. Got it working now and I must say I am very impressed with this new feature. I will write a detailed review (in Dutch) on my blog and also link to your video.

Thanx again Samb0123!

grtz and happy testing!

dazz