Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

robots.txt

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Locked
  • Print view
Advanced search
5 posts • Page 1 of 1
vladeta
Posts: 2
Joined: Fri Dec 19, 2014 1:38 pm

robots.txt

Post by vladeta » Fri Dec 19, 2014 1:44 pm

Hello,

Where and how can I edit default robots.txt file that is being created with each account/domain? I couldn't find it anywhere in the files.

Thanks in advance!
Vladeta
Top

joem
Posts: 378
Joined: Thu Nov 13, 2014 8:33 am

Os: CentOS 6x
Web: nginx + php-fpm
Re: robots.txt

Post by joem » Sat Dec 20, 2014 3:11 am

vladeta wrote:Hello,

Where and how can I edit default robots.txt file that is being created with each account/domain? I couldn't find it anywhere in the files.

Thanks in advance!
Vladeta

Code: Select all

/usr/local/vesta/data/templates/web/skel/public_html
Top

vladeta
Posts: 2
Joined: Fri Dec 19, 2014 1:38 pm

Re: robots.txt

Post by vladeta » Sat Dec 20, 2014 12:29 pm

Thanks a lot! This works :)
Top

indiadamjones
Posts: 4
Joined: Fri Dec 11, 2015 9:49 pm

Re: robots.txt

Post by indiadamjones » Fri Apr 29, 2016 6:01 pm

Hey, I changed both the robots.txt in public_html and public_shtml, and I still can't get the robots.txt to change! I also tried service vesta restart, and it didn't help. What am I missing here? Thanks!

[EDIT] Figured out to just change the robots.txt in the www root. Maybe the other changes did work, I wasn't aware that I had a copy operating in the root.

Thanks!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: robots.txt

Post by skurudo » Mon May 02, 2016 11:05 pm

indiadamjones wrote: [EDIT] Figured out to just change the robots.txt in the www root. Maybe the other changes did work, I wasn't aware that I had a copy operating in the root.
Here - /usr/local/vesta/data/templates/web/skel/public_html
and all new domain will be with your robots.txt
Top


Locked
  • Print view

5 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password