Copy of WP folder on localhost
-
I have a WP folder named site1 on my XAMPP localhost (directly on htdocs). I want to make a copy of it and name it site2. Here is how I do it:
- I copy a folder site1 and rename it to site2
- In the config.php I change the name of the database: wp_site1 to wp_site2
- In my browser I open localhost/site2 and it looks fine, but when I clic around I realise that it brings me back to site1 as if something was wrong with URL-s. As if it was still having the old url of site1
- The strange thing is that when I hover oover some link it (at the bootom of the screen) looks like its going to take me to the site2 url, for example it says localhost/site2/blog if I hover a Blog in my menu; but when I click on it it actually brings me to localhost/site1/blog.
- Besides if I try to get into wp-admin (typing localhist/site2/wp-admin it says “You do not have sufficient permissions to access this page.”
In phpMyAdmin I copy the database wp_site1 to wp_site2 with (in the Operations section)
Anyone knows where the problem is?
TNX
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Copy of WP folder on localhost’ is closed to new replies.