Join Stack Overflow to learn, share knowledge, and build your career. Connect and share knowledge within a single location that is structured and easy to search. I have a mobile site mobile.
We'll also discuss three ways of implementing them on your website. Let's get started! When we talk about redirects, we're referring to the process of mapping one URL to a different one. There are five main types of redirects you can use:. Each type has its own specific purpose and benefits.
The Ultimate WordPress Mobile Redirect Plugin
Have you ever tried typing the URL m. Try it, and you will see that the site looks weird on the big screen. Similarly, try opening a random local website on your mobile. You might come across some sites that are not optimized for mobile and hence it throws you off at first sight. Such sites have a tendency to lose their mobile audiences to their competitors. These days, all good CMS platforms allow you to build websites using responsive design , which adapts depending on the screen size. It's important to review how your website appears on different devices - this can mean the difference between keeping your visitors engaged on your website and losing them, never to return. It's important to also mention that since Google moved to mobile first indexing , the mobile version of your website is what counts to Google, meaning that it is unlikely to perform well in search if it causes visitors to have a bad user experience. While it's becoming more and more uncommon, some businesses still prefer to have a separate website for mobile users. This comes with lots of potential problems that can easily be avoided.
This WordPress plugin will detect mobile devices and redirect the user to the equivalent mobile page as set in the metabox that is added to your page and post screens upon activation. You can optionally override equivalent redirects and instead redirect all mobile users to one URL. Fortunately, most caching plugins can be set to disable caching when mobile devices are detected. To help search engines understand separate mobile URLs tags are automatically added to the desktop pages to tell crawlers about it. For a more in-depth explaination of annotations please see Google developers. This plugin will only redirect users who view the site on a mobile device and you must first fill in redirects in the metabox on pages and posts. By default the cookie is set to expire after 24 hours. The following people have contributed to this plugin.