Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Hiding content – CSS or Php? Reply To: Hiding content – CSS or Php?

#187109
Paulie_D
Member

Firstly, if you mention ESS EE O in a post here it will get flagged as spam.

Use 5EO instead

Secondly which is preferable is a decision for you.

If you serve the page but hide the element with display:none it will get read and indexed by web spiders and other search engines…if you don’t serve it all, using PHP, it’s not in the source code to start with so it won’t.

Insofar as this only to be hidden on a single page and displayed on all the others, I’d go the display:none route…simpler all round.