Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [public-html]

The public_html directory is the default directory from which the Apache web server is usually configured to serve files.

0
votes
0answers
14 views

Get the pdf doc url indexed [duplicate]

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 ...
0
votes
1answer
89 views

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 ...
1
vote
2answers
70 views

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 ...
2
votes
1answer
123 views

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 ...
1
vote
1answer
41 views

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 ...
4
votes
3answers
131 views

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 ...