Joomla 3.0.2 ajax and SEO conflict?

91 views
Skip to first unread message

adelgirl

unread,
Jul 13, 2013, 6:16:21 AM7/13/13
to joomla-de...@googlegroups.com
I have a contact form I have used on several sites and it works fine. I have upgraded one site to 3.0.2 and have all the SEO settings to yes. My ajax post no longer works as it now returns http://mywebsite.com/contact-us?name=blah blah blah. Although it will send the message if I type directly into the address bar (so no problem with form).  

Here's my ajax call if anyone could help would be greatly appreciated. I have googled and could not find a solution

                                $.ajax({
                                  type: "POST",
                                  url: "index.php?option=com_jeprojectmanager&task=messages.send&name=" + name + "&email=" 

+ email + "&tel=" + tel + "&message=" + message,
                                  success: function(){
                                     $("#contact-form").hide();
                                     $(".clearfix").text('Thank you'+" "+name+" "+'for your enquiry please allow 24 hours 

for our team to get back to you');
                                  }
                                });
    

brian teeman

unread,
Jul 13, 2013, 6:19:24 AM7/13/13
to joomla-de...@googlegroups.com
Before wasting any time please update your site to the latest release which at the time of writing is 3.1.1 - There are always bug fixes and security issues resolved with each release so lets make sure you are on the latest version first

adelgirl

unread,
Jul 13, 2013, 6:53:10 AM7/13/13
to joomla-de...@googlegroups.com
I do apologize - Yes it is 3.1.1 I have installed - the form worked fine on a previous site which has 3.0.2. 

Amy Stephen

unread,
Jul 13, 2013, 12:15:23 PM7/13/13
to joomla-de...@googlegroups.com
Hey AdelGirl -

Little confused about what isn't working? If you are able to type it into the address bar and what needs to happen, does (email is sent) then Joomla is doing what it should be doing.

Are you saying the form isn't posting? If you moved it from one site to another -- a first thing to look at is if you have hardcoded the URL host portion.

See if you can describe the situation more specifically -- don't worry about boring anyone -- share a little more detail.


--
You received this message because you are subscribed to the Google Groups "Joomla! General Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to joomla-dev-gene...@googlegroups.com.
To post to this group, send an email to joomla-de...@googlegroups.com.
Visit this group at http://groups.google.com/group/joomla-dev-general.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

adelgirl

unread,
Jul 15, 2013, 2:18:10 AM7/15/13
to joomla-de...@googlegroups.com
Thanks Amy - all working now - it was in my jquery validation code

No issues with Joomla! But of course we know that because the Joomla development team are so awesome at what they do! Thank you Joomla! 



On Saturday, 13 July 2013 19:46:21 UTC+9:30, adelgirl wrote:

Amy Stephen

unread,
Jul 15, 2013, 7:37:39 PM7/15/13
to joomla-de...@googlegroups.com
Glad to hear -- see you around!
Reply all
Reply to author
Forward
0 new messages