Skip to main content
LifeisRosie
Inspiring
September 9, 2018
Question

design/live view only shows 404 for all pages

  • September 9, 2018
  • 1 reply
  • 2922 views

help! did it accidentally click something? I cannot view any of my web pages in design live view, it show my 404 error pages.

This topic has been closed for replies.

1 reply

BenPleysier
Community Expert
Community Expert
September 9, 2018

Such a broad question requires a broad answer.

Technically, an Error 404 is a client-side error, implying that the page you were trying to reach on a website couldn't be found on the server.

For a more specific answer, please give us a few leads to work from, such as

  • does the error occur in Dreamweaver or in a browser
  • does the error occur locally or remotely
  • what is the URL to the site.
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
LifeisRosie
Inspiring
September 10, 2018

the 404 is only inside of Dreamweaver.  My website is fine, but I cannot view pages inside of Dreamweaver using Live view. It's doing this with only two of my websites, not a third website. So it's a Dreamweaver "issue," not an actual website issue.  Live view is taking me inside of Dreamweaver to my 404 error page that I have set up on my server.

I do not have a local server set up either. i cannot find in Dreamweaver how to change it back, whatever I may have clicked? I prefer to be able to toggle from "Code/Split/lLive" view to actually "See" my pages inside of Dreamweaver.

LifeisRosie
Inspiring
September 21, 2018

LifeisRosie  wrote

It's clearly a Dreamweaver URL path issue/bug.

Pamela, no it is not. Dreamweaver will only process what it is told to do. Either the site environment or the code will force Dreamweaver to do what it is told.

You have already stated that removing the link to the .htaccess file has made no difference. In that case it must be in the code of your document.

As an example, have a look at lines #16 to #21 of your document

<script>

if (document.location.protocol != "https:")

{

document.location.href = "https://paulhowardmd.com" + document.location.pathname;

};

</script>

The result of the script will cause the link to the document to become

https://paulhowardmd.com/C:/Users/Pamela/Documents/PaulHowardMD%20Responsive%20Web/htdocs/financial.html

This document is obviously non-existent hence the 404 error. (Click on the link to verify)

Possible solutions:

  • ignore the problem
  • remove the script
  • change the redirect to exclude local versions of the document

The latter suggestion could include using the .htaccess file to redirect. You could have a local and a remote version for the file. See https://serverguy.com/servers/redirect-http-to-https/ for more.


I've already tried removing that script.  That script is required for my SSL to work properly with Network Solutions. Had I known a JS script was required instead of the usual htaccess redirect for HTTPS from HTTP I would have gone elsewhere. I was doing the htaccess redirect and it caused holy hell for me with google. NetSol didn't bother to notify me of this JS script requirement when I purchased the SSL last year. It has cost me ranking in a major way because I did the htaccess code which has useless for a NetSol SSL. Ranking in this business is dog-eat-dog so the HTTPS is critical.

I've tried removing that SSL JS script.  The problem doesn't go away. That was the first thing I did in trying to resolve this issue. I removed that JS script on every page. no change.

Thanks for your input.