I have recently created portfolio website for myself, using WordPress. However after adding it to google console. It says that my website isn’t mobile friendly. However, clearly when you go to the website on a mobile device, it works perfectly. I’m a beginner in terms of web dev. I hope there is an east fix.
Thank you all for your help.
My website right now is marginal for page loading speed on mobile. Originally written for desktop, I use a lot of images that are relatively high resolution, and only lightly compressed.
I’d like provide srcset images at various resolutions, but before I start, what are the optimum sizes, and how are they determined?
First approximation that occurs to me is (image as % of screen) * (viewport in pixels) and then calculate this for typical (and what is that, this week?) screen resolutions of desktop, tablet and phone.
On reflection, this approximation is naive.
Reducing the resolution of an image that’s too big will give better results than increasing one that is too small.
There aren’t really three situations to consider, but five, as both mobile and tablet can be use in either orientation. I don’t want the mobile user to have to slurp up new images when they rotate their phone. This isn’t as big a concern for tablets most of the time, as the bulk of tablet usage is on wifi.
Desktop usage has another factor: While screens have gotten wider, many users will have a browser up at less than full width. This one may not matter that much, as desktops have both the bandwidth and the processing speed to resize images.
Phones now come in a bewildering range of sizes and resolutions.
At present I’m looking at producing images at widths of 1300, 800, 500, 300 and setting cutoffs at 900 600 and 350, but this is little more than a WAG.
I have created two CNAMEs for my (CloudFront) domains, like this:
nslookup works, giving me the correct values for both
d-test — but when I actually get the data, using
curl or a browser, all data is retrieved from the origin pointed to by
www, regardless of which URL I actually use. If I use the origin URLs, it works fine.
How is this even possible?
The recent GTM upgrade has thrown me a curveball. Sites that were in the 90s for both measures are now scoring Ds and Es in the new Lighthouse tests. AND they don’t give much info as to why.
I went over to PSI and ran their tests again and began to home in on some of the issues which were not issues under old GTM are now issues, specifically for mobile tests.
Caveat: I don’t have the skills to build anything other than a very basic static site by hand – though I have many of them live for simple needs cases. Most clients was bells and whistles and sliders (I know!) and snazzy forms with dropdowns and Captcha etc. etc. So I have a small handful of WP themes which have always served me well.
The sites which are my most important run WP-Rocket, through Cloudflare, and have a paid-for CDN too (Bunny) so you can’t say I don’t try!
I have changed my choice of form plugin because CF7 was loading Captcha code on every page and have worked our how to stop Sider Revolution code loading on every page too. nicomorgan.co.uk
Still scoring 15% on one site which feels fast when loaded on my phone. johnsonsofoldhurst.co.uk
I feel like I’m banging my head against a wall. People want images, they want interactive elements – Google says I can’t have them!
Any tips gratefully received.
I’m trying to get back into this as I’ve found a personal use.
I have 2 domains. One is hosted with google domains and the other with namecheap.
I dont really care which one I use as the primary or if I even end up using 2 for my purposes.
I would like to be able to do sub.domain.com and have it hit a IP using a certain port. Google domains will let me do this from 1 domain to another but it shows the hand off. So I go to sub.domain.com and it shows my redirect in the address bar as domain2.com:1234.
I want it to just stay in the address bar as sub.domain.com but hit my IP using the specific port and do a different port for a different sub.
I have an ssl cert rolling on 1 domain and google will make one on the other one easily.
I think I need a SRV record but I cant seem to get it to work.
Any help is appreciated.
Yes, the browser and webserver are on the same machine!
Whenever I try to embed a HTML file from outside of the WWW root in an
iframe, thus using the
file:/// URL syntax, it is ignored. No error message logged or anything. Just nothing is done whatsoever.
If I change the path from
./blablabla.html, and put the file in the WWW root, it will display the HTML page in the iframe. So it’s not some kind of fundamental issue with displaying iframes or anything. I have tried both with and without URL-encoding the
IFRAMEs inherently unable to display
file:/// URIs, even though the MozDev page mentions no restrictions whatsoever for the
src attribute? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
I’m asking what Affiliate/Advertising programs, companies, do you know that are reliable, global, and have and API so I can make my site automatically fill up the database of promotions/banners and keep them up to date.
I know Aliexpress for example.
Is there a way with
robots.txt or page headers to inform web crawlers they must agree to a terms of service prior to indexing any crawled pages?
My website lets people share subtitles, and sometimes users upload copyrighted material. Therefore, I wasn’t surprised to find that google blacklisted the pages which contain copyrighted material, and I am removing those.
However, the domain
example.com is now also blacklisted. How can I get it off the list, and let users find it via Google?
I’ve downloaded the copyright removals data from Google’s transparency report, scanned through, and found that many of the removal requests aren’t to pages like
example.com/disney_movie.html, but the domain
example.com. I also got the report from the lumen database, same problem. I found a relevant question here, but it mentions emails where Google notifies me of a DMCA removal, but I don’t have any such emails.