Skip to main content
Participant
October 31, 2011
Question

'style.css' is a remote file and cannot be edited?

  • October 31, 2011
  • 2 replies
  • 5110 views

man this is driving me absolutely nuts.  So far what i'm trying to do is edit an existing wordpress site in dreamweaver. I have installed and configured MAMP since im on a mac. I have imported a complete set of local files of my site and placed them in the root folder:mamp-htdocs-www.ive created a database in mySql and imported my tables from my server to it and configured it to match the wp-config file. No problems there. In Dreamweaver , after managing sites, i set up local folder as wamp-htdocs-www, and setup my testing server as local/network with address as http://localhost/www.With all that i am able to preview my site, animations and all. But when i try to click on my .css files or .js files and some other i get the error " 'style.css' is a remote file and cannot be edited. When i try to make changes to the css through the styles panel it tells me : Unable to open file "http://www.sitename.org/wp-content-themes/sitename/style.css. You can download the file by using remote view of the files panel, or by selecting the file in the Related Files toolbar and clicking "Get" in the info bar. So for some reason it seems that its still looking online for my css files instead of realizing that they are in my root folder. What Gives. Any help would be so greatly appreciated.

This topic has been closed for replies.

2 replies

Participant
December 29, 2017

I have the same problem even I don't have the mamp or wordpress, it directly from DW, and Still have the same problem?

Any help would be kind and appreciated.

Randy Edmunds
Adobe Employee
Adobe Employee
October 31, 2011

The problem is the "http:// ..." path. DW will not let you edit "remote" files directly (even if they physically exist on your local hard disk).

In general, you can change the path to be site-root relative (i.e. "/wp-content-themes/sitename/style.css"), but that's not always possible when using WordPress. Otherwise, Get a copy to your local Site folder, then Put it back to the server when done editing.

HTH,

Randy