Solved

Difficulty moving WordPress to new server and new domain

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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Like there are many different versions of Wordpress, there are also a handful of related side projects WordPress users should be familiar with.   All of these projects are open source and GPL licensed, which means there are few restrictions to us…
How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
The purpose of this video is to demonstrate how to properly insert a Vimeo Video into a WordPress site or Blog. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…

758 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

17 Experts available now in Live!

Get 1:1 Help Now