Jump to content

Client requests changing from HTML submit to Javascript submit for SEO?


s0c0

Recommended Posts

I have a client requesting that I change all his froms from an HTML based submit input type, to a javascript based submit button.  Here is the difference in case you are confused:

 

<form name="frm" method="post" action="somepage.php">
<input type="submit" value="submit" name="submit" />
</form>

 

 

<form name="frm">
<input type="button" value="submit" name="submit" onclick="document.form.frm.submit()" />
</form>

 

He says there is an SEO benefit to this cause the form looks like duplicate content the way it is currently setup (the form is included on virtually every single page on the site).  I told him I don't see how this will make a difference.  Am I incorrect?  If so why?

Link to comment
Share on other sites

agreed content pwns html in the seo world  but doing as your client wants makes you money and keeps them happy,

 

i would explain to them that this makes no seo difference what so ever but if they really want you to do it it shouldnt be more then a 10 second edit cause smart coding says a form on every page is included from a php include or asp if you roll that way

 

 

ps the html used there and the js used would not effect this at all the name of the form is the more important thing to seo not the submit button

 

so blegh your customer is wrong

Link to comment
Share on other sites

s0c0, your client is seriously misinformed.

 

Search engine spiders are unable to read and execute javascript. If by chance your content within your site is not accessible without Javascript, your client's page would not be properly indexed.

 

And to echo what others have said, the idea of duplication for the enhancement of SEO rankings is false. As already mentioned, it can really backfire. I wouldn't be surprised if such tactics constitues 'black hat methodologies'. Avoid the idea altogether.

Link to comment
Share on other sites

Search engine spiders are unable to read and execute javascript. If by chance your content within your site is not accessible without Javascript, your client's page would not be properly indexed.

 

That is the basic gist of the client's request, i.e. that you will not have the same content both after and before the form is submitted. The client is trying to prevent it from submitting the forms.

 

However, spiders do not submit forms at all nor send any POST requests.

 

And to echo what others have said, the idea of duplication for the enhancement of SEO rankings is false. As already mentioned, it can really backfire. I wouldn't be surprised if such tactics constitues 'black hat methodologies'. Avoid the idea altogether.

 

I think you misread the post. His client is trying to prevent content duplication because it can have a negative impact on the ranking. The thing is just that it never was an issue to begin with.

Link to comment
Share on other sites

I think you misread the post. His client is trying to prevent content duplication because it can have a negative impact on the ranking. The thing is just that it never was an issue to begin with.

 

You're right... I have been misreading things as of late. I have to slow down a bit here.

Link to comment
Share on other sites

I don't think that this will change anything. As far as I am aware, content != HTML. Therefore, not duplicate content. Duplicate content has to be pretty severe to actually harm you. Same desc, title, body etc.

 

Very true. Recently, and I can not find the blog write now on Google Blogs, but Google basically said that a small percentage of duplicate content is ok. I mean after all, what if you are reviewing an article or quoting a famous quote, does that mean that Google is going to ban you. Definitely not.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.