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!
To do this, log into your WordPress Dashboard and navigate to the Settings > General section. In the field WordPress Address (URL), you need to define the directory where your site's core files are located. While in the Site Address (URL) field, type in the URL you want the site to load with.
If you want to use a subdomain with WordPress, you can either create entirely separate WordPress installs on each subdomain, or you can use a WordPress Multisite network to create separate sites on subdomains that are all powered by the same WordPress install.
If you want to install WordPress on your root domain name (like example.com), then you need to upload WordPress files to your website's root directory. Usually this directory is called /public_html/.
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...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With