Solved

Are the two files .htaccess and robots.txt interchangeable for different sites.

Posted on 2015-02-02
3
107 Views
Last Modified: 2015-02-02
can i use the same .htaccess file and the same robots.txt file for different websites?
Or does the text in those files have to be modified?
0
Comment
Question by:digisel
3 Comments
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 250 total points
ID: 40584051
Sort of.

Those files can have a mix of generic and site-specific commands. The generic ones can be transferred, the site-specific ones need to be altered.
0
 
LVL 16

Assisted Solution

by:Lucas Bishop
Lucas Bishop earned 250 total points
ID: 40584407
They would only be interchangeable if the sites were exact replicas (file/folder names). If there were any 'domain' related rules in the htaccess, those would need to be updated.
0
 

Author Closing Comment

by:digisel
ID: 40584606
thanks for your input
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to dynamically set the form action using jQuery.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now