I know this isn't an overly complicated issue, but can't seem to figure it out myself... any help in the right direction would be appreciated.
I'm having trouble with installing wordpress to a subdomain. I have a WordPress install on http://www.example.com & I'm installing a separate instance of WordPress on sub.example.com. I've successfully configured the database, uploaded the files & pointed the subdomain to the correct directory on my server.
After I've installed wordpress on my subdomain, I'm redirected from sub.example.com to http://www.example.com/sub. I've changed the settings in WordPress to for the site address URL to be sub.example.com, but all pages continue to direct to http://www.example.com/sub/page etc.
I imagine there is something I need to manually change in the HTCaccess file... not just exactly sure what I need to change & what instance of the HTC access file (eg. the one on the main site http://www.example.com or the one for sub.example.com)
Hope someone can help me out, thanks!