How do I stop wordpress redirecting from subdomain to primary?

I want to have 2 versions of the site. A testing/development version, and a public, live version. When I try to go to dev.mysite.com, it just redirects to www.mysite.com.

I completely deleted the .htaccess files and that did nothing, so it must be somewhere in wordpress’s files. Has anyone ever done this before? There’s so many includes in the core files, I’m getting lost.

Read More

It’s fine if the site uses the same database, I just want to be able to essentially have a “breakable” site that the general users can’t see.

Does anybody know where I would need to make a change to keep it from redirecting?

Related posts

Leave a Reply

1 comment