PHP Help Adding Dynamic Blog Preview to Static Homepage

ramtripper

BANNED
Joined
Jul 31, 2010
Messages
426
Reaction score
274
Guys! Please help!

My homepage is static, while my blog is wordpress, obviously dynamic. I can't add my blog to show on the homepage because it's a .html site (except the wordpress installation) and i need to place php on the .html to allow my blog to show up.

I'm using godaddy and no matter what code i enter into the .htaccess file to allow php to function on the homepage, it's just not working.

Is there anything else i can do to add my blog to my homepage so that my homepage becomes dynamic and has fresh content?

I need this because google likes a page with fresh content over a static page any day and no matter what i do, nothing works.

You can visit my site by visiting my homepage through clicking my username.

Any and all help greatly appreciated! Thanks!
 
What specifically were you doing to the .htaccess file? This?

Code:
AddType application/x-httpd-php .html .htm
 
What specifically were you doing to the .htaccess file? This?

Code:
AddType application/x-httpd-php .html .htm

Just tried that,

tried this


Code:
AddType application/x-httpd-php .html .htm .php

it takes 3 times as long to load my page, and then when it does, im prompted to download a file called download - pretty sure it's a copy of the webpage.
 
Then change your homepage from .html to .php and update your internal links.

thats too crazy of a change man.. i wouldve done it a long time ago, but its really not a good move.
 
try adding this code to htaccess

Code:
RewriteRule ^blog/?$ blog/$1 [L]       -----> if your wp blog under "blog" folder
RewriteRule ^blog/wp-admin/?$ blog/wp-admin/$1 [L]  ------> your wp login
 
ill try it now, but what code do i stick into my index.html to have see my blog feed?

pm'd btw.
 
Back
Top