I want to only process pages that have content-type text/html and that have <!doctype html> in their start, and among those only those that have <html> tag in them, and in such files I want to do some replacements.
How can I achieve it? Add custom header, then tag by them, then check for tags and add next header? Will it work?
Log in to post a comment.