Moderator: TopStyle Support



SteelToad wrote:Why is it necessary to set up preview mappings ?
SteelToad wrote:If I set up mapping for my local directory to use the website address, then all of my previews fail.

Without preview mappings, TopStyle is previewing a LOCAL copy of the document you're editing

SteelToad wrote:Editing a live site is not an option for me, so I replicate the entire site locally and work on that.
SteelToad wrote:I only refer to pages and files with relative addressing instead of by a full URL. If in my index.html I use <!--#include virtual="~header.html" --> , I want it to include the local ~header.html relative to the file I am editing.
SteelToad wrote:Preview Mappings doesn't work for me because I'm not using a local web server, but a remote one.
SteelToad wrote:If I map my local directory (w:/kscs) to the URL (http://kscs.info/), then I get a 404 even though index.html is present in both locations.
SteelToad wrote:I understand that the Mappings feature is meant for local mapping, so this doesn't surprise me.

TopStyle Support wrote:You don't have to edit a live site. You can install a local web server ...
TopStyle Support wrote:If you're getting a 404 then the URL is incorrect or your web server isn't running (have you tried the same URL in your web browser?) ---- Server mappings are both for live site editing and local web server editing.

SteelToad wrote:If I map W:\kscs\ to http://kscs.info/ I get a page not found.


SteelToad wrote:I made a copy of the index.html and renamed it to index.txt if you want to take a look http://kscs.info/index.txt



Users browsing this forum: No registered users and 1 guest