Solved

Difficulty moving WordPress to new server and new domain

Posted on 2016-10-27
2
46 Views
Last Modified: 2016-10-27
A client gave me a WordPress database and a ZIP of files for their existing WordPRess site (alehcanada.ca) and told me to recreate it on a new server with the domain aleh.ca.

I moved everything over, and the website seems to work at http://www.aleh.ca
However, I can't get into the admin page. I get a "page not found" error when I try to go to www.aleh.ca/wp-admin

I modifed the siteurl and home in the "options" table
I added the lines:
define('WP_SITEURL', 'http://www.aleh.ca'); 
define('WP_HOME', 'http://www.aleh.ca'); 

Open in new window

to the wp-config.php file
I can't find an .htaccess file so I created a simple one based on this page https://codex.wordpress.org/htaccess

Still can't get into the dashboard.

What else might I try?
0
Comment
Question by:Lev Seltzer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 41862744
1) Look in the wp-options table for references to the old URL or server paths and update them.
0
 

Author Closing Comment

by:Lev Seltzer
ID: 41862753
Client had used a plugin to change the admin URL from "wp-admin" to something else. THey also changed the prefix on the tables in the database from "wp_". This was the cause of the problem. I worked around it and now everything is funcitoning.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Now that you've installed WordPress 2.9 (http://www.experts-exchange.com/articles/Web_Development/Blogs/WordPress/WordPress-2-9-What-to-Expect-When-Upgrading-to-WordPress-2-9.html?) on your site, you need to install some plugins to get the most out …
If you are looking for plug-ins to add functions to your WordPress small business web site, take some time to read though this comprehensive list.  These are all the plugins I use for my customers WordPress web sites, as well as my own.  Be sure to …
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to set up an RSS Feed on a WordPress Website. This will be demonstrated using a Windows 8 PC. Feedburner will be used for this demonstration. Go to your WordPress login page. This will look like the…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question