Topic: 404 Error Subscribe 2 widget

0 Members and 1 Guest are viewing this topic.

August 17, 2009, 11:49 AM

Offline lzerangue

  • Newbie
  • *
  • Posts: 4
    • View Profile
When someone subscribes to my blog using the subscribe2 widget, they recieve a confirmation email. Once you click the link in the email it redirects to a 404 page. I have SEO urls enabled.

I turned off my seo urls and I still receive the error message. I have tried with and without the www for my domain. Please advise on how to fix.

August 18, 2009, 11:15 AM

Offline lzerangue

  • Newbie
  • *
  • Posts: 4
    • View Profile
Nevermind I figured it out. On line 600 in subscribe2.php change this
Code: [Select]
$link = get_option('home') . "/?s2=";
to this
Code: [Select]
$link = get_option('home') . "/&s2=";

September 26, 2009, 02:15 PM

Offline Rafael Corral

  • Administrator
  • Sr. Member
  • *****
  • Posts: 320
    • View Profile
lzerangue,

I appreciate this, I have fixed our plugin with your fix.

May 31, 2010, 12:08 AM

Offline cpsadmin

  • Newbie
  • *
  • Posts: 1
    • View Profile
Hi, just posting this incase someone else has a similar issue and cannot get it fixed using the above fix.
For me the problem was with SEF urls, so I just forced Joomla not to use the SEF rewriting for the confirmation link, essential I went to line 600 of subscribe.php and replaced this:

$link = wp_jroute( $link = 'index.php?option=com_wordpress' ) . "&s2=";

 will this:

$link = ( 'http://mydomainurl.com/index.php?option=com_wordpress' ) . "&s2=";

just replace mydomainurl with the correct url for you.

it works for me.