|
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
<meta name="robots" content="index, follow"> - A way of adding to all pages quickly?This is a discussion on <meta name="robots" content="index, follow"> - A way of adding to all pages quickly? within the HTML & CSS forums. Topic: I am required to add <meta name="robots" content="index, follow"> to all of ... |
![]() |
![]() |
|
![]() |
LinkBack | Thread Tools | ![]() | Search this Thread | ![]() | Display Modes | ![]() |
|
|
#1 (permalink) |
|
I am required to add <meta name="robots" content="index, follow"> to all of the product pages on our site. We have over a hundred products and it would be very hard adding that code to the html of all of the product pages.
So is there an easier/better way of doing this? Andy |
|
|
|
|
|
|
#2 (permalink) |
|
If the product pages share a common header or footer then that would be the logical place to add the code. I would think you would get the same affect by adding a robots.txt file to the root directory.
|
|
|
|
|
|
|
#3 (permalink) |
|
You can try adding this through "DW global change". First is go to EDIT then FIND AND REPLACE. then choose Folder (the folder where the files your going to change). Then choose a code in your page near where you are going to put the new code. The code you choose will be the one your going to "replace". Replace it with the new code you are going to add + the code you were going to "replace". Then replace all.
Note: Make a copy of your original files so that incase that there's some errors you still have a back up. |
|
|
|
|