Cached pages can be visited
-
Hi,
I have this website were you can visit both the actual page and the cached page itself (saw it in Google Search Console).
So I can go to
https://www.mydomain.nl/wp-content/cache/all/slug/index.htmlWhile this should be
https://www.mydomain.nl/slug/I found your article about redirection to the cached page, but that’s not it. There is no redirect rule as mentioned in that article and all pages can be visited without being redirected to the cached page. But the cached pages itself somehow popup in Google Search Console and I can visite these pages without getting redirected back to the correct url.
The only redirects I have are like this:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www\.)?brand2domein\.nl$ [NC]
RewriteRule ^.*$ https://www.maindomain.nl/brand2page/ [L,R=301]
RewriteCond %{HTTP_HOST} !^(www\.)?maindomain\.nl [NC]
RewriteRule ^(.*)$ https://www.maindomain.nl/$1 [L,R=301,NC]
</IfModule(they have a domain for a second brand that should redirect to the page about that brand and then they have some domains with alternative spelling that should redirect to the main domain)
Besides the above there are some page level 302 redirects
Redirect 301 /menukaart-summer/ https://www.maindomain.nl/menukaart/(let me know if you want to send me the actuals htaccess per email)
Thanks
JPThe page I need help with: [log in to see the link]
You must be logged in to reply to this topic.