Backend WordPress is nog showing right
-
I moved my test website to live. At first I thought everything was working fine, but it seems like my URL is redirecting me to the test website.
And if I go to the backend of my live website, the lay-out of the Backend of WordPress is wrong. For example I do not see the small icons, but just blocks before the menu items.Please can someone help me out?
-
>> I moved my test website to live <<
How did you move your site to live? What are the steps you took?
– I export the .sql of the test website
– I open the .sql folder and replaced the subdirectory to the main directory
– I made a new database and imported the .sql fileWent the my FTP program. Placed the folders of the /test to the root folder. And changed in the wp-config the ‘database name’, ‘database username’ and ‘password’.
Did you fix up *all* the URLs in your database?
Use this to search your database for the OLD url and replace it with your NEW url: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Just double checked this using your link, but still having the same problem. At this moment if I go to my main URL and try to login I am automatically redirected to the test website backend.
Did you upload the interconnectit script and then go to
http://example.com/script-directory-name-hereas noted in its instructions?If you tried that and got redirected, the problem may be in your .htaccess file. If so, post that here.
Yes I uploaded it in another new file in the root.
Below the .htaccess file from the FTP
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>The .htaccess file looks good.
Again, what happens when you try to access
http://example.com/script-directory-name-hereto get to the Interconnect it script?Have you tried accessing from a private/incognito browser window?
The search and replace screen opens.
I fill in the what the program needs to search and in with it needs to be replaced.Weird thing is: I need to change the Database information (this shows the information of the database of my test website)
First I did I dry run and than live run.
>> Weird thing is: I need to change the Database information <<
The script pulls info from your wp-config.php file so either (1) the info in that file is not correct or (2) you’r on the wrong server.
I checked the wp-config.php again, but this information is correct.
The test website is in a subfolder of the root, but I did nog include the testfolder in the URL.To be clear: I went to the link below
http://mywebsite.com/search-replace-db/Search-Replace-DB-masterI did not include the subfolder ‘test’, just like the example below.
http://mywebsite.com/test/search-replace-db/Search-Replace-DB-masterif the site you want modify is in “test” then you should have uploaded there. It’s a VERY BAD IDEA to install wordpress in a subfolder of another WP site.
What I’d do is blow it all away and do the migration over again, replacing any WP site that’s already there.
I don’t think you understand me correct. It is all the same website. I only need to replace the website from the subfolder to the root folder.
First I started with a test website I made this in a subfolder of the website:
http://www.mywebsite.com/test/Now the website is ready to go live into the root folder http://www.mywebsite.com
I moved the wordpress website from the test to the root folder. The website which I wanted to modify is not in the test folder, but the root folder (because this one is showing wrong)
Have you deleted everything from the test folder at this point and replaced everything in the root?
No, because I thought nothing would redirect anymore to the test folder. But I will delete the everything in the test folder and try this.
I just deleted the all the file of the test folder.
If I now go to the website, I get the next failure:Forbidden
You don’t have permission to access /test/ on this server.
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
The topic ‘Backend WordPress is nog showing right’ is closed to new replies.