×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Webhook and SEO URLs ?

Webhook and SEO URLs ? 9 years 7 months ago #30878

  • Singe Black
  • Singe Black's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi- So far this is a very simple component to setup and use. The only issue I ran into is with Search Engine Friendly URLs turned on.

The key, which for example is DOMAIN.com/index.php?option=com_cmc&form...quest&key=WEBHOOKKEY will not be passed along properly with Search Friendly URLs turned on in Joomla.

Before I go any further, is there a simple solution for this by chance?

Thank you, any help will be appreciated.

Webhook and SEO URLs ? 9 years 7 months ago #30892

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey,
SEF url shouldn't have any effect on this url. At least the Joomla standard one? Are you using any 3rd party SEF component?

Webhook and SEO URLs ? 9 years 7 months ago #30893

  • Singe Black
  • Singe Black's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi Daniel,

I am actually not using any third party SEF components. I also must apologize, as I did not clarify whether I was talking about the component or the module. The CMC component works absolutely fine. The module also works perfectly fine with SEF turned OFF. The issue is when SEF is ON that it seems to have trouble passing the URL to Mailchimp.

The only thing that I have customized in my htaccess file is: RewriteCond %{REQUEST_URI} ^/index\.php/ and RewriteRule ^index.php/(.*) /$1 [R=301,L], but I have tested the module without them and still no luck.

Do you believe that the problem is with my htaccess configuration? I will try to debug a bit more and see what I can find. Any suggestions you might have would be greatly appreciated. Other than that, your script is a huge time-saver. Great work!

Webhook and SEO URLs ? 9 years 7 months ago #30903

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The thing is. If you have SEF on and you pass a non-sef url - it should work.
The server is making some magic to redirect SEF urls to the index.php file. In the case of a non-sef url you are directly accessing the index.php file and then you shouldn't have any issues.
What's exactly the error you get when you access the webhook url?

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.123 seconds