wampthing Posted March 30, 2006 Share Posted March 30, 2006 On the home page of my jensenconnection.com website, I have just added some of my more favorite quotes. It is set up so that everytime the page loads a new quote is shown. When I look at the page source after it is loaded you cant tell that it is a php include. Does this help my page rank by making it look like the information has changed? Quote Link to comment Share on other sites More sharing options...
Deverill Posted March 30, 2006 Share Posted March 30, 2006 A changing quote won't really have any significant effect on the search engines and how they rank your page. Quote Link to comment Share on other sites More sharing options...
TCH-JimE Posted March 31, 2006 Share Posted March 31, 2006 Hello, I doubt it, I have seen forum boards where people have designed dynamic quotes and it has done thier google rank no harm! JimE Quote Link to comment Share on other sites More sharing options...
NFreak Posted April 17, 2006 Share Posted April 17, 2006 (edited) Maybe I overlooked it, but I didn't see a "description" META tag in the source code. You should try adding one of them so that when Google or another engine crawls your site, they can make your search results look prettier. <META name="description" content="Welcome to the Jensen Family website."> Maybe add more to it than that. Also, sometimes your quote appears blank. You should add an "if" statement in your PHP so that there is always a quote. if ($quote=="") { $quote = "Put some sort of fixed quote in here for when it turns out blank."; } Edited April 17, 2006 by NFreak Quote Link to comment Share on other sites More sharing options...
wampthing Posted April 17, 2006 Author Share Posted April 17, 2006 I will do that. Thanks! Quote Link to comment Share on other sites More sharing options...
newmannewy Posted April 18, 2006 Share Posted April 18, 2006 Hi wampthing. U say youve set up a tip of the day script on your site ? I dont suppose you could tell me where you got it from. as ive been searchng for a script like this for the last 24 hrs and cant seem to find a good one ! regards newmannewy Quote Link to comment Share on other sites More sharing options...
NFreak Posted April 19, 2006 Share Posted April 19, 2006 <?php $arrTip = array(); $arrTip[1]="Make a tip."; $arrTip[2]="Make a tip."; $arrTip[3]="Make a tip."; $arrTip[4]="Make a tip."; $arrTip[5]="Make a tip."; $arrTip[6]="Make a tip."; $arrTip[7]="Make a tip."; $arrTip[8]="Make a tip."; $arrTip[9]="Make a tip."; $arrTip[10]="Make a tip."; $rand = rand(1,10); // This will pick a random number between 1 and 10. Change the number "10" to however many tips you have. $tip = $arrTip[$rand]; print $tip; ?> There's a short little script to get a random tip. Make sure the page is a .php page so that the code will work. If you intend on having hundreds of tips, it's best to just turn it into a MySQL database, although that should work fine. Quote Link to comment Share on other sites More sharing options...
wampthing Posted April 19, 2006 Author Share Posted April 19, 2006 Hi wampthing. U say youve set up a tip of the day script on your site ? I dont suppose you could tell me where you got it from. as ive been searchng for a script like this for the last 24 hrs and cant seem to find a good one ! regards newmannewy I got it from hotscripts. it is called randomquote. it has a simple interface where you can search your quotes, and add or delete them. I searched all of the script files to find a link to the site, but was unble to find one... which is hard to believe. I think it is the one called randomquote.php, but their download page isnt working right now. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.