I’ve spent the last two days trying to find a solution and now I’m bordering on going bonkers!
I have WordPress installed on mydomain.org.nz/wordpress and some pages set up with pretty permalinks as mydomain.org.nz/wordpress/services/one, mydomain.org.nz/wordpress/services/two etc.
What I want is for people to be able to go to one.mydomain.org.nz and for it to mirror what’s at mydomain.org.nz/wordpress/services/one i.e.
They can go to mydomain.org.nz/wordpress/services/one or one.mydomain.org.nz and they will be the same (the url will stay the same as what they typed in).
I’ve tried a number of different rewrite rules in the htaccess but so far it either redirects to the root mydomain.org.nz, goes to mydomain.org.nz/wordpress/ or I get a 501 internal server error that porked up all the current subdomains.
I have tried solving this myself but as I have cognitive problems, I’m struggling to work out the needed code myself. If someone could give me the code to copy paste into the htaccess that would be very much appreciated!! Also bearing in mind that at some point mydomain.org.nz/wordpress/ will be changed to just mydomain.org.nz but the wordpress install will stay in the /wordpress/ subdirectory.
Thanks in advance, tis much appreciated! 🙂