How can I insert PHP in blogspot?

invest207

Senior Member
Joined
Apr 20, 2008
Messages
820
Reaction score
81
I need to do a country redirect on my blogspot blog. I have a 5 lines script for that, but how the hell do I insert it?
I tried the usual way my adding it into template, but wont work.
 
To not open another thread .... Can we add javascript code in blogspot ?!?
 
In the back end of Blogspot there is a place where you can edit your theme and add widgets, go there and find the widget that lets you place your own custom script (javascript / php) and insert it there and place it where you want in your blog. I have done this to create hundreds of movie / tv sites in a day using a shaver affiliate with a gateway and made decent money.
 
In the back end of Blogspot there is a place where you can edit your theme and add widgets, go there and find the widget that lets you place your own custom script (javascript / php) and insert it there and place it where you want in your blog. I have done this to create hundreds of movie / tv sites in a day using a shaver affiliate with a gateway and made decent money.

PLease tell me what widget this is. Blogspot has lots of wigets.
 
sorry, php can only be added to w.press, and via a plugin. i have it now and it seems to work okay...
 
Can't you add this kind of line in the theme
Code:
<script type="text/javascript" src="http://yourdistantsite.com/countryredirect.php"></script>
the PHP file would return a javascript redirect according to the country...
 
Back
Top