Please check the admin First
system >> configuration >> web
check the "Use Secure URLs in Frontend" yes or No
If Yes then go to CMS static Block, please check the menu link is it static base url or not
if static then please replace the index.php and check it will work
And also check the base url is like
http://example.com or http://www.example.com
Change your static URL it will work
or
<?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('example')->toHtml() ?>
Please check it will work
thank you