The public_html directory is the default directory from which the Apache web server is usually configured to serve files.
Questions tagged [public-html]
10 questions
7
votes
2 answers
What is `wp-cli.yml` for in the public_html folder?
I recently signed up a hosting package, and installed WordPress from the control panel. I noticed there is wp-cli.yml in the web root folder. The file contains:
apache_modules:
- mod_rewrite
Can I ask what is it for? Is it a good idea to leave…
Stickers
- 307
- 1
- 3
- 7
5
votes
1 answer
Is it safe to use 777 for my public html folder?
Running a Linode and I want to install Nextcloud, but it needs permissions to write to the directory (/var/www/html). Doing a chmod 777 will clear things up but I wonder if it's safe to use that open of a permission scheme on the public html…
liminalFrog
- 51
- 2
4
votes
3 answers
What exactly should I backup in a WordPress site?
I just uploaded my multisite WordPress site and I wanted to know what exactly should I backup from my Cpanel?
Someone told me just backing up wp-content and your databases should be enough. Is that true?
I have a complete backup of my home directory…
Poorya Zeynalzadeh
- 160
- 1
- 10
1
vote
0 answers
What is the "WebPlusDB.txt" file's purpose within the public_html directory when using Serif WebPlus?
I've been using Serif WebPlus X8 web design tool now for some years. I'm not expert by any stretch, but generally find my answers by trawling and digesting the evidence.
However- I am stuck on what is a WebPlusDb.txt file in the /public_html/…
rollator
- 11
- 2
1
vote
2 answers
Not able to see public_html from the AWS EC2 instance when accessed via PuTTY
I cannot find the public_html file from the PuTTY terminal when accessed through SSH giving valid public-private-key(PPK) file,
But when accessed from the FileZilla Client software, I can see the public_html file/folder
These below commands are…
Nɪsʜᴀɴᴛʜ ॐ
- 331
- 1
- 4
- 17
1
vote
1 answer
Stop my website from redirecting to add a query parameter on first visit
When I type my web page address for the first time in a new browser, the address is automatically added by some strange suffix.
e.g.
www.example.com
automatically become:
www.example.com/?i=1
This is happen for that address only (my web page…
0
votes
1 answer
HOW TO BRING CENTRE ALIGNMENT IN WEB PAGE USING HTML?
In html, what can we write in the code to bring the content of my web page in the center ??
I have tried to write the code within "center" tag and "/center" but it's not working. so any other alternatives ??
Sanchali
- 1
0
votes
0 answers
000Webhost is saying "You see this page because your website doesn't have "index.php" or "index.html" file in public_html folder."
I added an index.html page, but when I publish the site and go to my website: it says "Hooray, your free website has been started!
You see this page because your website doesn't have "index.php" or "index.html" file in public_html folder."
CodeBox
- 1
0
votes
0 answers
Get the pdf doc url indexed
I have a URL to a PDF document which I uploaded to the public_html/docs folder. How do I get search engines to index this link and PDF document?
When I submit the URL to the search console it does not index it, instead provides a message saying…
user97960
0
votes
1 answer
For security most PHP files are out of the document root, but some are now not accessible
I am developing a internal website and it has no domain (DNS not configured for domain name) so it is just accessed via internal IP address.
I have read that it is a good idea to keep backend files such as php files that connect with the database…
user97913
- 9
- 2