Javascript(0) extension causing an excess of 404's
-
For some reason I am getting a duplicate version of my urls with /javascript(0) at the end. These are creating an abundance of 404 errors. I know I am not supposed to block JS files so what is the best way to block these?
Ex:
http://www.jasonfox.me/infographics/page/8/javascript(0) is a 404
http://www.jasonfox.me/infographics/page/8/ is not
Thank you.
-
That's correct.
In your HTML you have code as:
-
[_this is the search icon and as it's created it fool some bots that there is file javascript(0) in current folder. So if i'm here:
http://www.jasonfox.me/infographics/page/9/
then bot add file this as relative and full path became:
http://www.jasonfox.me/infographics/page/9/javascript(0)
and this is how 404 is make.Correct way is to replace "javascript(0);" with "javascript:void(0)" or with "#". Only this patch in WordPress theme (look around header.php) will stop 404s._](javascript(0);)
-
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Excessive Loading Speed
Hi Guys!
On-Page Optimization | | SEOTOOLSHERO09
I have an animation website which loading speed is too less. Due to too many videos, i want it to load fast.
Please help me increase my website speed i,e,
https://www.ideasanimation.net/1 -
How to fix a 404?
I had to delete a page of my site, now when I search for it I see it's showing a 404. How to I get that page to stop showing on Google? Thank you in advance!
On-Page Optimization | | Coppell0 -
Do Google's mobile friendly updates effect visibility on desktop results pages?
Google say that their quest to make websites more mobile friendly impacts mobile search results - https://webmasters.googleblog.com/2016/03/continuing-to-make-web-more-mobile.html But I am wondering if having a website that is less mobile friendly effects desktop SERPs as well? We require Adobe Flash as a tool for people to upload their images to us but not on the landing pages we're trying to rank. So our landing pages are not as mobile friendly as they could be (which we're looking to improve) but am worried this is effecting desktop search results even though Google do not claim they do.
On-Page Optimization | | KerryK1 -
2000 Active pages 404 on LIVE Ecommerce site - what will google do now?
Hi All, One of my ecommerce site having more than 20,000 pages from that one of the categories having 2000 pages showing 404 and still taking time for developer to fix this issue and may be they will be able to fix after 2-3 days so is this okay with google or google will take any action during this period? Thanks! Dev
On-Page Optimization | | devdan0 -
What on-site issue could be causing Moz to not detect internal links?
Hey guys, We've done a crawl and none of our internal links are showing up. Are there any on-page factors that would prevent Moz from being able to detect our internal links? Thanks!
On-Page Optimization | | ATMOSMarketing560 -
Different pages for OS's vs 1 Page with Dynamic Content (user agent), what's the right approach?
We are creating a new homepage and the product are at different stages of development for different OS's. The value prop/messaging/some target keywords will be different for the various OS's for that reason. Question is, for SEO reasons, is it better to separate them into different pages or use 1 page and flip different content in based on the user agent?
On-Page Optimization | | JoeLin0 -
Creating Authority and choosing URL's
Creating Domain Authority and choosing URL's: A: What is better if you want to get higher Domain Authority? Choose keyword.domain.com or www.domain.com/keyword when other sites link to it? B: And for Page Authority? Choose keyword.domain.com or www.domain.com/keyword? Thanks!
On-Page Optimization | | HMK-NL0 -
Reducing the site's header to get more content Above the Fold
The user bizzer posted the following question on the post (http://www.seomoz.org/blog/guide-to-ads😞 "I've got my above the fold area very light on advertising since Panda. But reading #4 about the "template" makes me wonder if I should go further and reduce the height of my header area and maybe even remove one of my two sidebars, so as to increase the content-to-template ratio above the fold. Make sense?" What do you think?
On-Page Optimization | | rpedri0