2017-04-17, 04:53 AM
I want to prevent the search engines from offering the Cached version of my pages and I want the code to work across the entire forum which is using 1.8.10. I found this at HTMLGoodies.com:
It's very very old so do we need to change it at all to use it in 2017? I found this at WillMaster.com:
and supposedly it will work across all browsers which sounds way better than the first code. Lastly I found this at Tech-FAQ.com:
but they mention it's for web hosts and is a server-side solution. So I don't know if they mean this code is intended for say, HostGator, or if it's for anyone who has access to their site's code.
Which of these should I use? Where is the code I have to change located and can you show a screenshot of the code before and after the changes? I like getting as much info as possible so I don't mess anything up. Thank you.
Edit: Changed title and changed the amount of space between my text and the code below it.
<meta name="robots" content="noarchive">
It's very very old so do we need to change it at all to use it in 2017? I found this at WillMaster.com:
<meta http-equiv="cache-control" content="max-age=0">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="-1">
<meta http-equiv="expires" content="Tue, 01 Jan 1980 11:00:00 GMT">
<meta http-equiv="pragma" content="no-cache">
and supposedly it will work across all browsers which sounds way better than the first code. Lastly I found this at Tech-FAQ.com:
<meta http-equiv=”Pragma” content=”no-cache”>
<meta http-equiv=”Expires” content=”-1″>
<meta http-equiv=”CACHE-CONTROL” content=”NO-CACHE”>
but they mention it's for web hosts and is a server-side solution. So I don't know if they mean this code is intended for say, HostGator, or if it's for anyone who has access to their site's code.
Which of these should I use? Where is the code I have to change located and can you show a screenshot of the code before and after the changes? I like getting as much info as possible so I don't mess anything up. Thank you.
Edit: Changed title and changed the amount of space between my text and the code below it.