sub domain folder
-
Hi
Is the sub domain folder stored inpublic_html> wp-content> uploads> sites> subdomainfolder?
How do I move it tohome> sub.domain.com> public_html> subdomainfile?
So the domain and subdomain folders are separate, not the subdomains in the main domain folder
Thank you
-
I suppose this is in relation to Multisite.
Subdomains are VIRTUAL.
There’s no physical
home> sub.domain.com> public_html>or evenhome> sub.domain.com>directory in the file system at all.There’s no physical home> sub.domain.com> public_html> or even home> sub.domain.com> directory in the file system at all.
Unfortunately, that’s what my host does. When I add subdomains, it creates folders for subdomains outside public_html
Here is the picture: https://prnt.sc/z3k6kr
Is there a solution to match the location of the folder?
Thank you-
This reply was modified 5 years, 3 months ago by
Mushlih Almubarak.
Are you using WordPress multisite at all?
If you are, then perhaps you’re doing it all wrong. You’re not supposed to create any sub-domains at all in your hosting control panel, so what your host does with subdomains has nothing to do with this.
Again, WordPress Multisite’s dub-domains are VIRTUAL. You don’t create any subdomains yourself in your hosting control panel.
As long as you’ve setup a wildcard subdomain in your DNS manager (and pointed it to the root domain’s document root — public_html directory in your case), you create all the subdomains in WordPress: you don’t create the subdomains in your hosting control panel if you’re using WordPress multisite.
You may want to review the following resources:
Are you using WordPress multisite at all?
Yes
You don’t create any subdomains yourself in your hosting control panel.
That means I don’t need to create a sub domain from the control panel? Is it enough to edit the wp-config and .htaccess files?
@gappiah
Jesus Christ, I just created a post about the problem here and after that I read your truly revolutionary post. You turned out to be 150% right thanks to you, I seemed to have made a revolution by moving from the Stone Age to the 21st century, skipping all the intermediate stages. Thank!@mushlih
Yes, he’s right! I confirm, just checked personally.-
This reply was modified 5 years, 3 months ago by
swamn.
Yes, he’s right! I confirm, just checked personally.
@swamn
Even though it’s a sub domain?
Because I’ve tried it and can’t access the subdomain@mushlih
Delete your subdomains on the hosting provider’s website, remove your subdomains from the network. And install them online via wordpress network. You don’t need a hosting provider.Ok, thank you
`Are you using WordPress multisite at all?
If you are, then perhaps you’re doing it all wrong. You’re not supposed to create any sub-domains at all in your hosting control panel, so what your host does with subdomains has nothing to do with this.
Again, WordPress Multisite’s dub-domains are VIRTUAL. You don’t create any subdomains yourself in your hosting control panel.
As long as you’ve setup a wildcard subdomain in your DNS manager (and pointed it to the root domain’s document root — public_html directory in your case), you create all the subdomains in WordPress: you don’t create the subdomains in your hosting control panel if you’re using WordPress multisite.
You may want to review the following resources:
Before You Create A Network
Create A Network
Multisite Network Administration`
Thanks for the great feedback.
-
This reply was modified 5 years, 2 months ago by
cheapmuppet.
-
This reply was modified 5 years, 3 months ago by
The topic ‘sub domain folder’ is closed to new replies.