0
votes

I set up a WordPress installation for a friend under a subdirectory on my site. I have set up his domain name to point to the subdirectory of the installation (and I have his domain name registered under my GoDaddy account). I can't figure out how to configure my GoDaddy account or the WordPress installation to use his domain name for all his webpage's addresses.

For example, I want his website to display myfriendssite.com/about.php instead of mysite.com/friendswordpress/about.php

I have tried editing the .htaccess files for both my main sites directory and my friend's directory to no avail (I don't know what I'm doing). Please help!

1
What happens when you go to myfriendsite.com currently?Derek

1 Answers

0
votes

Assuming you are using Apache, you should configure a virtual host with the myfriendssite.com and point it to the correct directory.

Because you haven't provided any example of the config code, I cannot give you specific example but please read through the apache doc for virtual host and you should find what you need. Here's the link

If you can post some sample of the relevant apache config, or specifics like sample domain and directories, I can help you more with a config example.