• Hi, Not sure what I am doing wrong but this is what I have done. Downloaded my blog from web host iPage.
    Installed WAMP server on my PC which seemed to install OK. Moved my blog into the folder www – this might be my first problem?
    When I click on any file in my blog it opens up Dreamweaver (which I have installed on this Laptop) this might be my second problem.

    I assume I have to put some settings into wordpress to access my blog on localhost? However any file I open still opens Dreamweaver – which I don’t want to uninstall.

    Is there anybody that can guide me through how to resolve this issue?

    Thanks

Viewing 15 replies - 1 through 15 (of 17 total)
  • Have you downloaded your database backup dump and restored it to your MySQL server?

    Also, you will need to change your database host localhost if your database was previous hosted other than localhost. You will need to check it on your wp-config.php file.

    Howdy,

    1) create a folder within WWW and place your WP files in there; keeps things more organized and is easier to maintain; this folder name will then be how you access your local site:

    https://localhost/folder_name <“front end” of site … what you would see on the web

    https://localhost/folder_name/wp-admin <access to the “back end” log in>

    2) as mentioned above, you must also export your WP database that is on your iPage installation; I am not familiar with that set up so you may want to install a plugin such as myEASYbackup to make that easier; once you have this database export file (it should have the .sql extension), you will then need to create a new, empty database from withing WAMP and then import into it, the above noted .sql file

    3) most importantly: WAMP MUST BE RUNNING!!! You MUST start Apache and MySQL before you can either do any of the database items (requires accessing phpMyAdmin) or viewing your site or accessing site admin area.

    NOTE: ALL this assumes you had a WordPress installation on this “iPage” account; as I said, I know nothing about this; if, however, this is a “blog” that is set up by iPage, then that is another story!

    And ALSO: WordPress is NOT, I say again, is NOT an executable that you “double-click” to start/run!!! It is a web PROCESS that is accessed by your browser from a web server!!! (which in your case presented here, is what WAMP is doing).

    Cheers!
    Lyle

    Did you change the urls in Settings General as they should be https://localhost/foldername

    Thread Starter garyward22

    (@garyward22)

    HELP – Im still struggling. The blog shows on the Internet fine so that all works https://www.jowyndhamward.com

    Update to where I am.

    1) Couldn’t get Apache running – found out that Skype on Port 80 was causing the server not to run – fixed
    2) have Apache and MySql running in XAMPP (InGreen and running and can access service status
    3) Imported the database from my webhost (iPage) and that seems to have imported there OK – exported from webhost and imported locally
    4) I am sure there are some other settings I should change in wordpress
    5) When I click on Admin in XAMPP for either Apache of MySQL should anything happen?
    6) I assume I do not have to install wordpress locally and then copy over my blog. I have assumed that if I move everything (admin,content,includes etc)from my webhoster that is the complete wordpress install.
    7) Everytime I try to open one of the wordpress files – Dreamweaver opens it – cant seem to stop that!
    8) To access my blog locally http/localhost/www/joblog – correct? and add wp-admin to access dashboard?
    9) Just managed to open wp-admin with Notepad. The current DB hostname shows ‘jowyndhamwardcom.ipagemysql.com’ – should I change this to ‘localhost’
    I did not know where “urls in Settings General” were so didnt do that

    I think I am close and just need a little more guidance!! Many thanks

    Your site may be opening fine as may be it is still coming from your host as you still have not changed the urls.

    You will need to change In your localhost phpmyadmin use one of the methods here
    https://codex.www.ads-software.com/Changing_The_Site_URL

    Thread Starter garyward22

    (@garyward22)

    Hi, Perhaps I missed saying that I only want to use the localhost to make alterations/testing before I go live. The site will remain on my webhosting service (iPage)and of course that is still fully operational. It is the local version of my Blog that I am trying to get up and running so I can make changes, test and otherwise edit before doing it for real. Hope that makes more sense.

    Thanks

    Yes even then you will need to change urls as you are using the copy database that is installed locally so matter of fact you have completely separate database to test and alter once you are satisfied with changes you make locally do the same on online server.

    Thread Starter garyward22

    (@garyward22)

    OK – I have looked at the link but now more confused. In wp-config I have changed it to localhost as below. Should this be more explicit – like localhost/www/joblog or something else.

    Please remember that this is a standard install – I have only created one folder called JoBlog in the folder www which has all the downloaded files from my webhosting server

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    Apologies for my stupidity!

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    In wp-config.php file in your lacal install is fine

    It is urls in settings general which are saved in database are the ones you need to change in
    local install it should be
    https://localhost/JoBlog

    Thread Starter garyward22

    (@garyward22)

    Hi,

    I am still none the wiser – where do I locate urls in settings general so that I can change to
    https://localhost/JoBlog

    I need the idiots guide.

    Thanks

    Is there any way for you log in local admin panel https://localhost/JoBlog/wp-admin if so click on Settings General and you will see the urls there if you can not log in then you can change theme following instructions in link I posted above
    https://codex.www.ads-software.com/Changing_The_Site_URL
    or if you like you can see videos on my website

    Thread Starter garyward22

    (@garyward22)

    Hi As the title says – no access to my blog – or anything else! However in my search for a solution an earlier poster said put my blog in a folder called www. However in reading problem solving for XAMPP I have found out it should be in htdocs. I have moved it there and def feel I am getting closer to displaying something. Now when I try localhost/JoBlog I get an error saying cannot establish database connection. I have checked again in the file wp-admin (still opens in Dreamweaver)which i manually choose notepad to open the file and all the info seems to be correct DB name, DBuser, password , hostname. These are the ones downloaded from my web hosting service and seem to match the file names which appear in Mysql locally when I look at Myphpadmin. My only thought is should hostnmae be localhost/JoBlog? Other then that I am stuck again. Very frustrating – didn’t think this would be that hard to do!

    Thanks again if anybody can assist me.

    Thread Starter garyward22

    (@garyward22)

    Maybe closer. Have accessed the sql database and have located the file wp-options. I have edited two filelds siteurl and home and entered https://localhost/JoBlog in both. However I still have a database error connection could not be established. Should this path be https://localhost/htdocs/JoBlog?

    Desperate!

    recheck your wp-config.php file and see if you right info for the database as it will different from online server install

    I have the same problem …

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Localhost no access to my blog’ is closed to new replies.