I have a problem in my WordPress installation. The root folder of my server has a working wordpress application. And then, I created another folder within the root and installed another wordpress. My folder structure is like this
So, basically, I have two wordpress installation, one in the root and another in a subfolder. Going to http://example.com, the main wordpress app works without any errors. Going to http://example.com/new, it also works. The problem is, clicking a post inside the new app redirect me to the main app. Clicking a post with a link http://example.com/new/post shows an error page. But that post exists within the new app.
Each app has their own DB
Thanks for responses!
You there is some problem in your permalink. check your permalink or, update your new database , as of now your database fetch values from old database…
Go to your dashboard and choose Settings -> General
Then make sure that
WordPress Address (URL) and
Site Address (URL) correctly point to your
new folder, that is
- Go to your Phpmyadmin panel.
- Navigate to your second wordpress database and open table named as “
- At column
option_name” find two rows containing data “
siteurl” and “
- Check column “
option_value” at these two rows.
- They should contain url of your second wordpress installation.