# Local publishing bug, RW 7

**URL:** <https://forums.realmacsoftware.com/t/local-publishing-bug-rw-7/7939>\
**Category:** RapidWeaver Classic\
**Created:** [June 16, 2016, 5:45pm UTC](https://forums.realmacsoftware.com/t/local-publishing-bug-rw-7/7939 "2016-06-16T17:45:15Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [June 16, 2016, 5:45pm UTC](https://forums.realmacsoftware.com/t/local-publishing-bug-rw-7/7939/1 "2016-06-16T17:45:15Z")

</div>

When I create a ‘Local Folder’ publishing location in Settings \> Publishing \> My Server, it creates directories inside the folder selected which correspond to the folder tree on the server.

Anyone else, please?

---

<div class="post-metadata">

**Author:** ![1611mac](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/1611mac/32/5675_2.png) [@1611mac](https://forums.realmacsoftware.com/u/1611mac)\
**Post date:** [June 16, 2016, 9:29pm UTC](https://forums.realmacsoftware.com/t/local-publishing-bug-rw-7/7939/2 "2016-06-16T21:29:18Z")

</div>

What is your question? Yes. Publishing to a local folder is now the same as “export” in the older versions. It’s builds and writes the files to your specified folder. You can then us FTP to upload to server if you so choose or use the folder to verify structure, etc.

---

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [June 16, 2016, 9:47pm UTC](https://forums.realmacsoftware.com/t/local-publishing-bug-rw-7/7939/3 "2016-06-16T21:47:20Z")

</div>

I’m sorry - I really was not clear ☹

Instead of creating the familiar _RW_ file structure with index.html, rw\_common and all the various ‘files’ folders at root level for Local Publishing, _RW 7.0.2_ **wraps** these in a deep directory structure corresponding to the one necessary for (s)ftp to publish to a remove server in the right place.

E.g. at /user/web/public\_html/site\_name/index.html etc.

IOW it’s picking up and mixing the remote server directory hierarchy in the path of (s)ftp server and the local folder’s name!

---

<div class="post-metadata">

**Author:** ![1611mac](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/1611mac/32/5675_2.png) [@1611mac](https://forums.realmacsoftware.com/u/1611mac)\
**Post date:** [June 16, 2016, 10:22pm UTC](https://forums.realmacsoftware.com/t/local-publishing-bug-rw-7/7939/4 "2016-06-16T22:22:48Z")

</div>

RW7 is exporting same as RW5 and RW6 for me. Perhaps it’s something in your Publshing setup. Have you defined your “Export Location” in the Publish dropdown? Export Location \> Local Folder \> local path. As info my Server path is /public\_htm/ but yours may vary depending on your server setup.

---

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [June 17, 2016, 1:30am UTC](https://forums.realmacsoftware.com/t/local-publishing-bug-rw-7/7939/5 "2016-06-17T01:30:22Z")

</div>

Thanks, Gregory. Yes, the path to the folder in which it is meant to publish is set in the Publish dropdown as the same level as my main Project file, called ‘Publish\_Folder’

Yes, it’s creating subdirectories from that level down five levels corresponding to the equivalent on my host (FutureQuest) of the also common /public\_html

IOW instead of publishing locally to:

~/Sites/RapidWeaverProjects/Thisproject/Publish\_Folder

the files are actually going into:

~/Sites/RapidWeaverProjects/Thisproject/Publish\_Folder/hostname/com/public\_html/msealey/www/… etc

(Names fictional!)

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [June 17, 2016, 3:05pm UTC](https://forums.realmacsoftware.com/t/local-publishing-bug-rw-7/7939/6 "2016-06-17T15:05:40Z")

</div>

Hi Mark,

I’ve been able to replicate the behaviour you’re describing using the following steps.

1. Create a new project
2. Set up a new FTP publishing destination with a remote path
3. Change the publishing destination type to Local Folder
4. Choose an export folder
5. Publish the site

Instead of publishing to the root of the local folder, RW publishes to the path specified in step 2.

We’ll get this fixed up in the next version of RW but for now a simple work around is to add a new publishing destination instead of reusing an existing one.

Cheers  
Tom

---

<div class="post-metadata">

**Author:** ![MarkSealey](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/marksealey/32/22895_2.png) [@MarkSealey](https://forums.realmacsoftware.com/u/MarkSealey)\
**Post date:** [June 17, 2016, 3:53pm UTC](https://forums.realmacsoftware.com/t/local-publishing-bug-rw-7/7939/7 "2016-06-17T15:53:53Z")

</div>

Thanks, Tom! Exactly. Great news - and good luck 🙂
