El Dorado

A full-stack community web application written in Ruby/Rails
Tue, 05 Dec 2006, 7:46pm Force SSL Plugin »
sac
New member
Registered: Nov, 2006
Last visit: Sun, 10 Dec 2006
Posts: 5

I tried but got an error.

"Parse error: syntax error, unexpected $end in ---(path) force-ssl.php on line 40. "

I added

if (is_page('22'))
{

before

function force_ssl() {

and

}

after

add_action('plugins_loaded', 'force_ssl');
2?>

Is something wrong? 22 is the ID of the page. I tried to use the title of the page as well but got the same error.

Offline