Jump to content

Problem with PrestaShop home page 1.7


PietroElle
 Share

Recommended Posts

Hello to all

Prestashop Version Used 1.7.7.8

After putting my site online, Google is having difficulty crawling my site from PageSpeed Insights (it reports the following error)

"Lighthouse returned the error: ERRORED_DOCUMENT_REQUEST. Could not reliably load the requested page in Lighthouse. Make sure the verified URL is the correct one and that the server is responding appropriately to all requests. (Status code: 403)"

When I try to insert the home link on Google Ads it gives me the following: "Destination not working"

I tried to hear Google support and they tell me that it could be either a hosting problem or a site problem. The server farm tells me that everything is fine on their part.

Even the search console has a hard time scanning my home.

Can you tell me what could have happened? The site has been migrated from Wordpress (woocommerce) to prestashop. At the Front Office everything is ok so that the first orders begin to arrive.

Can someone help me?

Thanks

the site is the following: dnasalus.it

Share this post


Link to post
Share on other sites

21 minutes ago, PietroElle said:

I tried to hear Google support and they tell me that it could be either a hosting problem or a site problem. The server farm tells me that everything is fine on their part

very few server staff will take responsibility. I know a few VPS outfits who throttle their VPS causing that error. 100% of them are on the cheaper aisle of hosters.

Share this post


Link to post
Share on other sites

2 minuti fa, Nickz dice:

pochissimi membri del personale del server si assumeranno la responsabilità. Conosco alcuni outfit VPS che limitano il loro VPS causando quell'errore. Il 100% di loro si trova nella corsia più economica degli hoster.

Hi Nick

Thank you for your answer. But I have other sites in this server farm and this has never happened to me.

Could it be an ht.access file problem?

I am seeing that the home is redirected I don't know where.

But if you see the site from the outside everything works ok.

I do not know what to do.

Share this post


Link to post
Share on other sites

  • razaro changed the title to Problem with PrestaShop home page 1.7

# ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
# .htaccess automaticaly generated by PrestaShop e-commerce open-source solution
# http://www.prestashop.com - http://www.prestashop.com/forums

<IfModule mod_rewrite.c>
<IfModule mod_env.c>
SetEnv HTTP_MOD_REWRITE On
</IfModule>

RewriteEngine on


#Domain: dnasalus.it
RewriteRule . - [E=REWRITEBASE:/]
RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L]

# Images
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]
RewriteCond %{HTTP_HOST} ^dnasalus.it$
RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]
# AlphaImageLoader for IE and fancybox
RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]

# Dispatcher
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L]
</IfModule>

AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
AddType application/font-woff .woff
AddType font/woff2 .woff2
<IfModule mod_headers.c>
    <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>

    <FilesMatch "\.pdf$">
      Header set Content-Disposition "Attachment"
      Header set X-Content-Type-Options "nosniff"
    </FilesMatch>
</IfModule>

<Files composer.lock>
    # Apache 2.2
    <IfModule !mod_authz_core.c>
        Order deny,allow
        Deny from all
    </IfModule>

    # Apache 2.4
    <IfModule mod_authz_core.c>
        Require all denied
    </IfModule>
</Files>
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    ExpiresByType text/css "access plus 1 week"
    ExpiresByType text/javascript "access plus 1 week"
    ExpiresByType application/javascript "access plus 1 week"
    ExpiresByType application/x-javascript "access plus 1 week"
    ExpiresByType image/x-icon "access plus 1 year"
    ExpiresByType image/svg+xml "access plus 1 year"
    ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
    ExpiresByType application/font-woff "access plus 1 year"
    ExpiresByType application/x-font-woff "access plus 1 year"
    ExpiresByType font/woff2 "access plus 1 year"
    ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
    ExpiresByType font/opentype "access plus 1 year"
    ExpiresByType font/ttf "access plus 1 year"
    ExpiresByType font/otf "access plus 1 year"
    ExpiresByType application/x-font-ttf "access plus 1 year"
    ExpiresByType application/x-font-otf "access plus 1 year"
</IfModule>

<IfModule mod_headers.c>
    Header unset Etag
</IfModule>
FileETag none
<IfModule mod_deflate.c>
    <IfModule mod_filter.c>
        AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype image/svg+xml
    </IfModule>
</IfModule>

#If rewrite mod isn't enabled
ErrorDocument 404 /index.php

# ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again

Share this post


Link to post
Share on other sites

On Gtmetrix I get this
 

Quote

 

Analysis Error

The page returned an error: 403 Forbidden

GTmetrix tried to access the page, but your server has denied access. Your server or application may be blocking GTmetrix or it requires a login.

For more details on general GTmetrix errors, read our guide.

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Are those part of your htaccess or have you placed it into the htaccess?
 

Quote

 

<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/gif "access plus 1 month"
    ExpiresByType image/jpeg "access plus 1 month"
    ExpiresByType image/png "access plus 1 month"
    ExpiresByType text/css "access plus 1 week"
    ExpiresByType text/javascript "access plus 1 week"
    ExpiresByType application/javascript "access plus 1 week"
    ExpiresByType application/x-javascript "access plus 1 week"
    ExpiresByType image/x-icon "access plus 1 year"
    ExpiresByType image/svg+xml "access plus 1 year"
    ExpiresByType image/vnd.microsoft.icon "access plus 1 year"
    ExpiresByType application/font-woff "access plus 1 year"
    ExpiresByType application/x-font-woff "access plus 1 year"
    ExpiresByType font/woff2 "access plus 1 year"
    ExpiresByType application/vnd.ms-fontobject "access plus 1 year"
    ExpiresByType font/opentype "access plus 1 year"
    ExpiresByType font/ttf "access plus 1 year"
    ExpiresByType font/otf "access plus 1 year"
    ExpiresByType application/x-font-ttf "access plus 1 year"
    ExpiresByType application/x-font-otf "access plus 1 year"
</IfModule>

<IfModule mod_headers.c>
    Header unset Etag
</IfModule>
FileETag none
<IfModule mod_deflate.c>
    <IfModule mod_filter.c>
        AddOutputFilterByType DEFLATE text/html text/css text/javascript application/javascript application/x-javascript font/ttf application/x-font-ttf font/otf application/x-font-otf font/opentype image/svg+xml
    </IfModule>
</IfModule>

 

 

  • Like 1

Share this post


Link to post
Share on other sites

1 minuto fa, Nickz dice:

Fanno parte del tuo htaccess o lo hai inserito nell'htaccess?
 

 

I have not entered anything in the ht.access.

I just bought some plugins:
 for the redirect, one for the canonical seo
and one Hreflang.

I have installed the latest version of the warehouse theme.

But I've never edited the htaccess file

Share this post


Link to post
Share on other sites

5 minuti fa, Nickz dice:

Ok, quindi disattivane uno e verifica se rimane lo stesso. In caso contrario, riattivarlo e disattivare il successivo. Poi riferisci.:)

No way

I tried to disable these modules but scanning with GT Metrix always gives the same error.

Share this post


Link to post
Share on other sites

12 ore fa, Nickz dice:

Not only the one of your site also the browsercache before attempting gmetrix again.

 

12 ore fa, Nickz dice:

Not only the one of your site also the browsercache before attempting gmetrix again.

Hi Nick nothing to do.

Share this post


Link to post
Share on other sites

Hi Pietro,

are you on Serverplan right? Have you some cache between website and server like Cloudflare?....sometime can give problems, but also it can be a firewall  on server. Contact your hosting, for sure that can detect where the problem comes from. Or maybe some plugin installed can give problem too...

Anyway i'm outside Italy and no problem with the website, it's fast, but in gtmetrix i get the error..bots are blocked...

  • Like 1

Share this post


Link to post
Share on other sites

8 minuti fa, Fabry dice:

ciao Pietro,

sei su Serverplan giusto? Hai della cache tra sito Web e server come Cloudflare?....a volte può dare problemi, ma può anche essere un firewall sul server. Contatta il tuo hosting, per essere sicuro che possa rilevare da dove proviene il problema. O forse anche qualche plugin installato può dare problemi...

Comunque sono fuori dall'Italia e nessun problema con il sito, è veloce, ma in gtmetrix mi da l'errore..i bot sono bloccati...

Hello Fabri

The site is very fast I know, I can't understand where this problem is coming from. Serverfarm is double-checking the problem for me. I have tried deactivating the plugins to no avail. The other pages are crawled regularly by Google, the problem is just crawling the home page.

Has it ever happened to you? Anyway yes, I'm on Serverplan.

Let me know if you can help me.

Thanks

Share this post


Link to post
Share on other sites

On Serverplan i had some customer websites, but i've never had such problem. Also it's not possible to crawl the website with other softwares like Screaming Frog and the page isn't blocked by robot. If i check robot.txt get this msg "Crawling http://dnasalus.it with Googlebot is allowed!"..but in Gtmetrix you get the error

Share this post


Link to post
Share on other sites

21 minuti fa, Fabry dice:

On Serverplan i had some customer websites, but i've never had such problem. Also it's not possible to crawl the website with other softwares like Screaming Frog and the page isn't blocked by robot. If i check robot.txt get this msg "Crawling http://dnasalus.it with Googlebot is allowed!"..but in Gtmetrix you get the error

Hello

The serverfarm confirmed that it was a security issue. After some parameters unlocked, everything is now ok.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More