Moving site from localhost to webserver
Moving site from localhost to webserver - links break - can't long into admin
Would be nice to edit and develop on localhost and move to internet webserver when completed.
Tried an install on the internet webserver to look for domain references, and then move site to local, but see no quick and easy fix.
Any ideas would be appreciated.
Would be nice to edit and develop on localhost and move to internet webserver when completed.
Tried an install on the internet webserver to look for domain references, and then move site to local, but see no quick and easy fix.
Any ideas would be appreciated.
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
And what exactly is the problem? Have you changed the URL in the admin panel after moving to localhost?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
installed on webserver - copied to localhost
--> Page not found | Hey! looks like the page doesn't exist.
--> Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.35 (Win32) OpenSSL/1.1.0i PHP/7.2.11
RE: >>> Have you changed the URL in the admin panel after moving to localhost?
I can't get to admin panel
--> Page not found | Hey! looks like the page doesn't exist.
--> Object not found!
The requested URL was not found on this server. The link on the referring page seems to be wrong or outdated. Please inform the author of that page about the error.
If you think this is a server error, please contact the webmaster.
Error 404
localhost
Apache/2.4.35 (Win32) OpenSSL/1.1.0i PHP/7.2.11
RE: >>> Have you changed the URL in the admin panel after moving to localhost?
I can't get to admin panel
I did a fresh install on the localhost, left the Site URL blank, and edited the .htacces file to # Base directory RewriteBase /
And the site uploaded is allowing me access to admin
------
However in the reverse direction, a site set up on the webserver, I still haven't figured out the magic to get the site to work when downloaded on the localhost. Using the same process, set the the Site URL blank, and edited the .htacces file to # Base directory RewriteBase / I am getting Error 404 - localhost - Apache/2.4.35 (Win32) OpenSSL/1.1.0i PHP/7.2.11
------
It is a bit frustrating, I have used other flat file CMS on my localhost and uploaded and downloaded without issue. It feels like there is some config information embedded somewhere that I need to find.
And the site uploaded is allowing me access to admin
------
However in the reverse direction, a site set up on the webserver, I still haven't figured out the magic to get the site to work when downloaded on the localhost. Using the same process, set the the Site URL blank, and edited the .htacces file to # Base directory RewriteBase / I am getting Error 404 - localhost - Apache/2.4.35 (Win32) OpenSSL/1.1.0i PHP/7.2.11
------
It is a bit frustrating, I have used other flat file CMS on my localhost and uploaded and downloaded without issue. It feels like there is some config information embedded somewhere that I need to find.
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 77 times
- Contact:
You can change the settings in the file site.php in the directory /bl-content/databases/.
What do you mean with "left the Site URL blank"?
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
Try to make a backup of content using backup plugin, install a fresh instance on your webserver, and then upload the backuped content.
Have on mind, that
- all the links you paste in editor are absolute by default
- cms settings needs to be adjusted
Have on mind, that
- all the links you paste in editor are absolute by default
- cms settings needs to be adjusted