Solved

Difficulty moving WordPress to new server and new domain

Posted on 2016-10-27
2
25 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
WordPress is constantly evolving, and with each evolution appears to get better and better.  One of the big drawbacks prior to version 3 was that there was no way to be able to set up a custom menu from the backend. The Old Way Adding menus is…
The purpose of this video is to demonstrate how to make a WordPress Site faster and smaller in size by cleaning up the database. This will be demonstrated using a Windows 8 PC. Plugin WP Optimize will be used. Go to your WordPress login page. T…
This video teaches viewers how to create their own website using cPanel and Wordpress. Tutorial walks users through how to set up their own domain name from tools like Domain Registrar, Hosting Account, and Wordpress. More specifically, the order in…

867 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now