Solved

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

Posted on 2015-02-02
3
111 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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
An enjoyable and seamless user experience can go a long way on an eCommerce site. While a cohesive layout and engaging copy play roles in creating a positive user experience, some sites neglect aspects that seem marginal but in actuality prove very …
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
The is a quite short video tutorial. In this video, I'm going to show you how to create self-host WordPress blog with free hosting service.

911 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

23 Experts available now in Live!

Get 1:1 Help Now