I am having a wordpress blog. I would like to make it moblie complaint by installing a suitable plugin or some other method. Now when i try to view it in mobile itz showing either "too big url" or "status code 413"
So I would like to fix it ..
Thanks in advance...

Dani AI

Generated

This thread actually has two separate problems to resolve: the client/mobile error you saw and the AdSense-for-mobile setup. reported "too big url" / "status code 413", confirmed pages can sometimes render without a plugin, gave good accessibility/layout guidance, and suggested a layout tweak — useful context, but the fix needs both server-side checks and a mobile ad strategy.

Start by diagnosing the 413/URL-length issue before changing ad code. Reproduce the failing request (browser devtools or curl) and inspect your webserver and proxy logs. A 413 usually means the request body was larger than the server allows; a too-long URL maps to 414. Useful references: the MDN pages for 413 and 414 and your server docs (Nginx/Apache) explain relevant limits. If you run Nginx, raising client_max_body_size is a common remedy; for Apache see LimitRequestBody / LimitRequestLine. Also check any WAF, CDN, or carrier gateway that might rewrite or append very long query strings.

For AdSense on WordPress, use responsive ad units and a device-aware insertion tool rather than hard-coded, fixed-width ads. Plugins that let you inject and target ads by device include Advanced Ads and Ad Inserter; WPtouch provides a mobile theme with ad slots if you prefer a separate mobile UI. Create responsive ad units in your AdSense account, configure the plugin to show them only on small viewports (or only in the mobile theme), and test with real phones and the Chrome DevTools device mode.

Quick checklist: (1) reproduce the error and read server logs, (2) adjust server/proxy limits or contact host if limits are from the carrier/CDN, (3) create responsive AdSense units, (4) use a plugin (Advanced Ads / Ad Inserter / WPtouch) to place mobile ads, and (5) test on real devices and confirm AdSense policy compliance.

Links:

Recommended Answers

All 8 Replies

which plugin do you use? i tried once view my site directly in my mobile without installing any plugins, it works fine.

this non-link(copy n paste with appropriate editing of the yoursite string) may assist in developing for mobile without paying data charges on the mobile

there are any number of user-agent detector scripts that can be used to redirect to a subdomain for mobile browsers,

iconized images to display on tiny screens
high contrast for poor lcd

which plugin do you use? i tried once view my site directly in my mobile without installing any plugins, it works fine.

Actuakky the problem is not in viewing the website.But actually I wanted to monetize it through google adsense for mobile content.

this non-link(copy n paste with appropriate editing of the yoursite string) may assist in developing for mobile without paying data charges on the mobile

there are any number of user-agent detector scripts that can be used to redirect to a subdomain for mobile browsers,

iconized images to display on tiny screens
high contrast for poor lcd

Sorry If the questio is wrong.
I couldnt find how to make it mobile compliant.
But it was just displayed in a mobile simulator ..right?

If you set that link to your site, and it displayed yes

mobile visible does not mean mobile compliant does not mean mobile optimized
the site may look "intersting (translation bad)" on a mobile iiifff
it has a fixed body width that is wider than the mobile screen
it has a fixed font size that cannot be altered to suit the screen resolution
w3c accessibility http://www.w3.org/TR/WCAG10/ and
w3c mobile layout, http://www.w3.org/TR/mobile-bp/
overlap so building an accessible site works (mostly) on a mobile
WorPress is mostly accessible, so is mostly mobileable

The Constraints
The main limitation of a handheld device is the small screen, which may also lack a mechanism for horizontal scrolling. Input is often with a stylus, not a mouse. Downloading to the device is likely to be both expensive and slow, the processors are slow, and the memory is limited. A lot of users may therefore choose to turn off in-line image loading.

Now, what do these limitations imply for the designer?

Design one column layouts and avoid floats.
Optimize your HTML by using efficient, semantic markup and CSS.
Minimize the use of decorative images, avoid relying on images or plug-ins for navigation.
Write good alternative text for images.
Avoid dynamic effects that specifically require a mouse or keyboard for navigating.
http://www.alistapart.com/articles/pocket/

set taborder on navigation controls
ems % sizes, no fixed fonts, no fixed anything,
large images with style @media handheld {img.large { display:none;}} <img class='large' width='400' height='800' src='toobig4mobilescreen.jpeg' /> or a browser detection script that loads the same dabase info into a simpler layout for mobiles
hope the emulator helps,
data charges while testing a page sux hugely

If you set that link to your site, and it displayed yes

mobile visible does not mean mobile compliant does not mean mobile optimized
the site may look "intersting (translation bad)" on a mobile iiifff
it has a fixed body width that is wider than the mobile screen
it has a fixed font size that cannot be altered to suit the screen resolution
w3c accessibility http://www.w3.org/TR/WCAG10/ and
w3c mobile layout, http://www.w3.org/TR/mobile-bp/
overlap so building an accessible site works (mostly) on a mobile
WorPress is mostly accessible, so is mostly mobileable

set taborder on navigation controls
ems % sizes, no fixed fonts, no fixed anything,
large images with style @media handheld {img.large { display:none;}} <img class='large' width='400' height='800' src='toobig4mobilescreen.jpeg' /> or a browser detection script that loads the same dabase info into a simpler layout for mobiles
hope the emulator helps,
data charges while testing a page sux hugely

Again my question has not been satisfied.
I have tested that all the wordpress blog look well on mobile.
I want to implement ADSENSE FOR MOBILE CONTENT in my blog.
That's not possible with just changing the layout,I suppose!!.
So how can I do it?

to implement adsense for mobile, goto site and follow the instructions

@poster-follow almostbobs advice on the adsense issue...on sizing try using a single table structure and fit ur elements in a single row...did a site not long ago and that worked

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.