Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 128
  • Last Modified:

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

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
digisel
Asked:
digisel
2 Solutions
 
Jason C. LevineNo oneCommented:
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
 
Lucas BishopClick TrackerCommented:
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
 
digiselAuthor Commented:
thanks for your input
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now