• Resolved agoraphone

    (@agoraphone)


    I am migrating my site from a paid host to a local one. The problem I’m having is that when I try to access my site, I get the default wordpress welcome message (“first things first”) instead of the homepage. On the plus side, I can log in to the wp-admin tool and see and edit all my pages, but if I try to view any pages outside the admin like a normal user would, I get a page not found error.

    I’m currently using a free dynamic domain name. I edited the wp_options in phpMyAdmin to change the “home” and “siteurl” fields to my new domain name. Before I did that, I couldn’t even log in to wp-admin. I do have the correct DB name specified in wp-config.

    Any ideas?

    In phpMyAdmin, I notice that there are several databases besides the one I imported for my site. They’re called: information_schema, mysql, and wordpress. Do I need all of these or should maybe some be deleted?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    If you have permalinks enabled, try setting them to default. If after that all’s working fine, u can activate a custom permalink structure again.

    Regards

    Thread Starter agoraphone

    (@agoraphone)

    Thanks for the reply. I tried changing permalinks to default, but it did not fix the problem. I no longer get a page not found error when clicking “view” on a specific page from the admin, but instead I just get the default welcome page again. Any other thoughts?

    Hello,

    Before setting up ur dynamic domain, u should try ur web at https://localhost/your_wordpress_folder

    That’s just to check if the web file’s and entries are fine. U should check .htaccess file too, to see if there’s any redirect or rules that are not applying in ur local server.

    Regards !

    Thread Starter agoraphone

    (@agoraphone)

    My server isn’t actually on a desktop machine, but a NAS drive that has web serving capabilities built in. So I’m not able to go to https://localhost, but I am able to go to both https://192.168.1.2 (the local IP of the NAS server) or https://mydynamicurl.net and both show the default “first things first” wordpress welcome page. I should note that my wordpress site is not in a sub-folder, but the root www folder.

    I can also go to 192.168.1.2/wp-admin/ or https://mydynamicurl.net/wp-admin/, where I can log in to the admin for the site, and change settings or edit pages, but as soon as I click on a “view” link for any page, I again get the default welcome page. So it seems the database is functioning, but for some reason, pages aren’t being served correctly.

    Thread Starter agoraphone

    (@agoraphone)

    Ha- well it looks like I fixed it! I renamed that default “index.html” file to “oldindex.html” so it wouldn’t be able to find it, and now the pages are all loading fine. Go figure! Thanks for your suggestions!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can access admin, but not pages’ is closed to new replies.