Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Googlebot CSS and JS Block Warning
 
Reply
   X-Cart forums > Considering X-Cart > Considering using X-Cart for my project
 
Thread Tools Search this Thread
  #1  
Old 07-30-2015, 06:20 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,460
 

Default Googlebot CSS and JS Block Warning

I've been getting a bunch of emails from Google Search Console (Webmaster Tools) in the past couple of days saying that the X-Cart stores built are blocking the CSS/JS files.

I know in my robots.txt file i'm blocking the /skin/ directory to where some of the css is located.

My question is that will unblocking them from robots.txt cause an issue in terms of ranking (and security).

Best Regards

Shafiq :sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote

The following user thanks chamberinternet for this useful post:
ITVV (07-30-2015)
  #2  
Old 07-30-2015, 06:21 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,460
 

Default Re: Googlebot CSS and JS Block Warning

Sorry, i've put this message in the wrong section of the forum...
Moderators: Please can you relocate.
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #3  
Old 07-30-2015, 09:07 AM
 
ITVV ITVV is online now
 

X-Adept
  
Join Date: Nov 2006
Location: UK
Posts: 913
 

Default Re: Googlebot CSS and JS Block Warning

Hi Shafiq,

I can also confirm that I am getting the same message.

I am also confused!

Could anyone shed some light on this issue for us please?

Kind regards

ITVV
__________________
X-Cart Pro 4.6.6 Active and working great!
X-Cart Pro 4.1.7 Retired after 9 years of first class service

Server: CloudLinux (LiteSpeed)
Apache: 2.4.27
PHP: 7.0.21
MySQL: 10.0.31-MariaDB-cll-lve
Arch: x86_64
Reply With Quote
  #4  
Old 07-30-2015, 05:55 PM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,577
 

Default Re: Googlebot CSS and JS Block Warning

I'm blocking the /skin/ directory in my robots.txt and not having any issues. I remember I had to remove item(s) to correct a while ago but I don't remember what I removed.

In my robots.txt file --> Disallow: /skin/

Any chance you can post your robots.txt or PM to me and I'll compare with mine?

Thanks!

Paul
__________________
X-Cart GoldPlus v4.7.11 | PHP 7.2.22
  • XCARTMODS.CO.UK | reBOOT Template |
  • Smack Digital | CDSEO Pro 2.0 + Custom Replacements | Category SEO Map |
  • Total Server Solutions Hosting | Linux | PHP v7.2 | MySQL v5.6.40 |
Reply With Quote

The following 2 users thank elmirage001 for this useful post:
chamberinternet (07-31-2015), ITVV (07-30-2015)
  #5  
Old 07-30-2015, 09:12 PM
 
ITVV ITVV is online now
 

X-Adept
  
Join Date: Nov 2006
Location: UK
Posts: 913
 

Default Re: Googlebot CSS and JS Block Warning

Hi Paul,

PM sent.

Many thanks and kind regards ITVV
__________________
X-Cart Pro 4.6.6 Active and working great!
X-Cart Pro 4.1.7 Retired after 9 years of first class service

Server: CloudLinux (LiteSpeed)
Apache: 2.4.27
PHP: 7.0.21
MySQL: 10.0.31-MariaDB-cll-lve
Arch: x86_64
Reply With Quote
  #6  
Old 07-31-2015, 05:52 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,577
 

Default Re: Googlebot CSS and JS Block Warning

Hi Guys,

Try removing the following line from your robots.txt file.
Code:
Disallow: /*js=
Upload your new robots.txt file
Go to Google Webmaster Tools/Search Console
Then --> Crawl--> robots.txt Tester
Click on Submit then "View uploaded version" then use the tester and see if the errors are gone.

Quote:
My question is that will unblocking them from robots.txt cause an issue in terms of ranking (and security).
Google does not want to be blocked from reading your JS & CSS so unblocking may not be a plus to your rankings but more as removing a negative that might lower your rankings. As far as security goes I'm no expert and would like to hear from those of you who are but I feel we all have bad bots hitting our sites daily without regard to the rules we set in our robots.txt file.

Let me know if the above helped. Thanks!

Paul
__________________
X-Cart GoldPlus v4.7.11 | PHP 7.2.22
  • XCARTMODS.CO.UK | reBOOT Template |
  • Smack Digital | CDSEO Pro 2.0 + Custom Replacements | Category SEO Map |
  • Total Server Solutions Hosting | Linux | PHP v7.2 | MySQL v5.6.40 |
Reply With Quote

The following 3 users thank elmirage001 for this useful post:
chamberinternet (07-31-2015), ITVV (07-31-2015), PhilJ (07-31-2015)
  #7  
Old 07-31-2015, 05:55 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,460
 

Default Re: Googlebot CSS and JS Block Warning

That's great.

I'll have a go at adjusting the robots.txt file according to your recommendations and see how I get on.

Best Regards
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #8  
Old 07-31-2015, 06:41 AM
 
ITVV ITVV is online now
 

X-Adept
  
Join Date: Nov 2006
Location: UK
Posts: 913
 

Default Re: Googlebot CSS and JS Block Warning

Brilliant Paul,

Will give it a go in the morning and report back.

Many thanks for the kind help.

Kind regards

ITVV
__________________
X-Cart Pro 4.6.6 Active and working great!
X-Cart Pro 4.1.7 Retired after 9 years of first class service

Server: CloudLinux (LiteSpeed)
Apache: 2.4.27
PHP: 7.0.21
MySQL: 10.0.31-MariaDB-cll-lve
Arch: x86_64
Reply With Quote
  #9  
Old 07-31-2015, 06:54 AM
 
ITVV ITVV is online now
 

X-Adept
  
Join Date: Nov 2006
Location: UK
Posts: 913
 

Default Re: Googlebot CSS and JS Block Warning

Actually just made the changes and now all is reporting as OK - No Errors.

Many thanks again Paul - Appreciate the help.

Regards

ITVV
__________________
X-Cart Pro 4.6.6 Active and working great!
X-Cart Pro 4.1.7 Retired after 9 years of first class service

Server: CloudLinux (LiteSpeed)
Apache: 2.4.27
PHP: 7.0.21
MySQL: 10.0.31-MariaDB-cll-lve
Arch: x86_64
Reply With Quote

The following user thanks ITVV for this useful post:
elmirage001 (07-31-2015)
  #10  
Old 07-31-2015, 10:23 AM
 
elmirage001 elmirage001 is offline
 

X-Wizard
  
Join Date: Apr 2007
Posts: 1,577
 

Default Re: Googlebot CSS and JS Block Warning

Hi ITVV, Glad it worked! You're very welcome!

Hi Shafiq, keep me posted.

Thanks Guys!

Paul
__________________
X-Cart GoldPlus v4.7.11 | PHP 7.2.22
  • XCARTMODS.CO.UK | reBOOT Template |
  • Smack Digital | CDSEO Pro 2.0 + Custom Replacements | Category SEO Map |
  • Total Server Solutions Hosting | Linux | PHP v7.2 | MySQL v5.6.40 |
Reply With Quote

The following user thanks elmirage001 for this useful post:
ITVV (07-31-2015)
Reply
   X-Cart forums > Considering X-Cart > Considering using X-Cart for my project


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:15 AM.

   

 
X-Cart forums © 2001-2018