×

Notice

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

TOPIC: Comment form will not submit

Comment form will not submit 12 years 11 months ago #11823

  • Stephanie
  • Stephanie's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 8
For about the last seven days the comment form on our website hasn't been working.

It allows you to fill out the form and captcha, but when you hit send it spins for a moment as if working and then nothing happens. No confirmation and no error message.

I tried this on Firefox, IE8 and Flock. Same problem on all browsers.

My website is www.besthudsonvalleyweddingever.com . Version is !JoomlaComment 4.0 beta2

Any help is greatly appreciated. Thanks!

Stephanie

Comment form will not submit 12 years 11 months ago #11825

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I guess that one week ago you installed some sef component - did you?????

When you try to send the comment the response of the page is 301 moved permanently.

Look at the settings of your sef component and disable it for com_comment.

Cheers,
Daniel

Comment form will not submit 12 years 11 months ago #11826

  • Stephanie
  • Stephanie's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 8
Daniel,

I didn't install any SEF components.

However, I did modify my htaccess file to create a 301 domain canoncalization redirects for any urls without "www" to the "www" version. That's probably messing up the comment submission.

Is there any way to modify Joomla Comment to work around this? Or a way that I can exclude it from this redirect? I'd like to keep the modifications made for SEO purposes.

Thanks,

Stephanie

Comment form will not submit 12 years 11 months ago #11827

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Do you have a live_site variable in your configuration.php - what does it say?

And I guess that you've made something wrong with the redirects, because joomlacomment tries to get a response from the www. ....com/index.php version of your site and the 301 redirect redirects to www. .....com

Comment form will not submit 12 years 11 months ago #11830

  • Stephanie
  • Stephanie's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 8
Ah, so that's the redirect that's messing up the comments.

I also created a redirect for index.php to just the www....com.

The reason I did this was to prevent multiple indexed versions of my home page. The downside is that it's not working with joomla comment.

Here's the line from my configuration.php file:

live_sitevar $ = '';

I'm not really sure what that means. (Sorry, I'm barely a beginner hack, not a programmer.) I'm trying to find a way to possibly exclude joomla comment from the redirect.

Daniel, thanks so much for your help with this!

Comment form will not submit 12 years 11 months ago #11831

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
What do you mean with multiple indexed version of your site???

The index.php is needed not only from joomlcomment, but also from all extensions that do some ajax actions. I won't advise you to make redirects for it.

Comment form will not submit 12 years 11 months ago #11835

  • Stephanie
  • Stephanie's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 5
  • Thank you received: 8
When you have multiple versions of a page it's not good for your SEO. For example, www.domain.com , domain.com, www.domain.com/index.php , domain.com/index.php. Each of them can be indexed by the search engines separately, which means you can miss out on some rankings because Google filters out duplicates.

I understand your recommendation not to redirect for index.php. Is there any work around you know of? I'm sure it can be done, just not sure how to do it safely.

Comment form will not submit 12 years 11 months ago #11836

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
I'm not the expert in SEO, but google isn't stupid.
www.example.com and exmple.com are 2 different domains!

www.example.com and www.example.com/index.php are not. Moreover each server is configured so that when you type www.example.com/ it automatically searches first for index.html and if it doesn't find one, it goes for index.php . Google will not look at the index.php as a different page...
  • Page:
  • 1
Time to create page: 0.109 seconds