Jump to content

Developer Info in HTML Comment


gc40

Recommended Posts

Hello all,

I develop my website in PHP and I have a header file which is included at the top of all of my pages.

 

Within that header file, I have a few HTML commented lines with my copyright info. I am just wondering if there is a better way to do this and if this affects SEO in any way.

 

<!--
*****************************************************************************
*	 =================================================================== 	*
*	 |  Website Info:                                                  |	*
*	 |  This website was created and developed by AUTHOR.        |	*
*	 |  All content and source coding is copyrighted to the author.    |	*
*	 |  Hosting for this website is provided by DOMAIN.COM            | 	*
*	 |                                                                 |	*
*	====================================================================	*
*****************************************************************************
-->

Link to comment
https://forums.phpfreaks.com/topic/144225-developer-info-in-html-comment/
Share on other sites

fyi: you don't need to state that something is copyrighted for it to be copyrighted.  What a lot of people do is have a link to a copyright notice page/file.  Could be your own custom license agreement or point to an existing one that lots of people use.  Just depends on how strict you want your stuff to be copyrighted.

 

Ideally, comments in your html shouldn't affect your site's SEO. 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.