I needed to generate a .htaccess redirect file where each line has a simple command redirect 301 old-file new-file The file called crawl-error.txt with all the required urls that needed a redirect was quite long so I did the following in no time. First ensure that the file is really a proper text …
Read more →Awk
Posts tagged with