|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
date on site
Hello
I'm interested in putting the current date on my site and having it so every day it has the correct date showing. Many sites in my industry appear dated and look like they haven't been updated for months. I'm trying to show that the site is current and a good source of info. (which it is) Whats the best way to display the date so as to not affect SEO? thanks! |
|
#2
|
||||
|
||||
|
Do you have the ability to use SSI for your pages? If you can then my suggestion would be to write a PERL script that will get the current server date and time and print them onto the page. I'll even share with you a script I wrote before.
__________________
Darrin J. Ward, a Professional SEO Consultant and Original Founder of SEO Chat (this site), Google Dance Tool & some other cool stuff! * Rankings Reporter - Track your Website's Keyword Rankings in Google & Yahoo. * ChatButton - Free AJAX Chatboxes to embed onto any Webpage - super-easy copy/paste setup!. |
|
#3
|
|||
|
|||
|
As mentioned, it is easy to display the date with an SSI. Of course, just displaying the date won't convince people that the site is being updated. You would do better to display time sensitive information.
For example you might have a monthly offer. The pseudo code would be simply: Code:
if month=1 then display january offer elsif month=2 then display february offer ... elsif month =12 display december offer end if The syntax is different for different programming languages. The fact that the search engines find something new on your site each month is probably a plus. |
|
#4
|
||||
|
||||
|
I have also written a script to do a similar thing in PERL. It varies by the date instead of the month, but it could be changed to do by the month. I can pass the script on if anybody wants it (yes it's free).
|
|
#5
|
|||
|
|||
|
script
Hello
Yes I can use SSI/PERL If I could get either of these that would be great. Short instructions would also be really nice as well. Thanks! |
|
#6
|
||||
|
||||
|
I have the date on my site. I find it handy to see the last time Freshbot stopped by a page. Just look at the cached version of the page and there is the date. It also shows interesting everflux results. The date has slipped a few days backwards in the past week for one of my pages.
|
|
#7
|
||||
|
||||
|
Use PHP
<? echo date("F j, Y h:i:s A"); ?> |
![]() |
| Viewing: SEO Chat Forums > Google > Google Optimization > date on site |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|