Redirect to Sub-Domain when website is accessed on phone and vice-versa - wordpress

I developed my website over wordpress using a particular theme that isn't very responsive in design. However, I designed a different website on the subdomain - m.website.com.
I want the website to be redirected to the subdomain when accessed on phone and vice versa - incase someone enters the subdomain on desktop, I want it to open the main domain.
I do not know much about coding and would be greatful to the solutions
Thanks!
I tried downloading plugins but they werent compatible with the Wordpress version. Side note - I use hostinger as my hosting platform

Related

Hostgator sub-domain not working

Introduction
I'm new to hostgator and multisites, and my client has an account in hostgator, using the plan that you can have multisites.
The account already have a site "yyy.com" made by some other programmer that they don't work with anymore.
I need do develop a new site for them, hosted in that account, they dont have a domain for it yet, then i tried to create a subdomain on hostgator like xxx.yyy.com, but even waiting 8 hours i cant acess the subdomain, i want to install wordpress in it, to start developing the site.
Techinical Information
The yyy site is in: /home/username/public_html
The xxx subdomain is in /home/username/public_html/xxx.com
I used the "add subdomain" tool and softaculous app installer to install wordpress in that subdomain.
I think that the programmer of yyy.com used magento
QUESTION
What i'm doing wrong and how can i get it right?
(As a standard: sorry for english errors, its not my native language)

How do I use relative links while developing a WordPress site on localhost?

I'm developing a WordPress site. I am testing locally using a WAMP server. The front page of the website has a missing picture. When I click on any link in the front page, it goes "online" (leaves localhost).
What do I have to do, while developing, to stay on localhost and have all relative links?
Did you import your website to localhost? if yes, then you might not have changed URLs of your website to localhost. You can do that by exporting SQL file of your website from phpmyadmin and then change all by any text editor and import it. If its hardcoded for all links then you need to go to each link and change it manually.
What you need to do is set up a local subdomain for your local site. There is a link below on how to achieve this. It is a little bit complicated with WAMP, but not very hard to do. This will mean that your website URL could be website.dev rather than localhost/website, which means that relative URLs will work. I personally use MAMP Pro rather than WAMP, because it allows you to easily set up and manage multiple local subdomains as well as some other handy features. Note that you would need to change your "siteurl" and "home" row values in the database table "wp_options" to the local subdomain if you want to do this on a local wordpress site you have already set up.
It is a bit hard to explain how to set up a local subdomain on here, so if this link ever breaks just google "setup local subdomains using Wamp".
http://www.axertion.com/tutorials/2012/03/how-to-setup-local-subdomains-using-wampserver/

Bootsrap site displays fine on desktop, but mobile does not load at all

So I've uploaded a site built with bootstrap to my clients' domain. I tested the site on my personal domain first http://chacelyon.com/windward , which loads just fine on mobile and desktop. However, on my clients domain,when trying to view the site on my phone, a galaxy S5, it does not load at all.
My client had a wordpress site previously installed on their domain which got hacked. I'm not sure of the implications of this but I deleted all the wordpress files from their public html folder. Should I also delete their database too?
Can somebody please give me some insight as to why this is not working on my clients domain?
My clients domain is http://windward-performance.com

Can a NonWordpress Page on a Wordpress Based Site Cause Issues with Permalinks

I have a website built with Wordpress that has been having permalink issues. A few days ago, I had added a simple file, named qr.php, that I dropped in at the root level (where the wp-content and wp-upload folders reside). It has a script that redirect to pages outside of my website depending on what type of device the user is using. Basically, some one on a Apple device gets redirected to an itunes page, and droid user to the droid app store, etc.
Could this non Wordpress page be causing issues? I have had static or html pages in amonst my root level files before, and never had an issue. I feel like the redirects may change this.
Rather than using the qr.php(cutom redirect file) in your wordpress site. You can use a plugin which will help to redirect the external links.
Some of the plugins which might help you to achieve your purpose are Device Redirect - WordPress Phone &Tablet Redirect , RedirectPlus - Wordpress Mobile Redirect Plugin.
See the screenshots, try demo and check whether it fits your requirement.
No, it dont cause any issue with permalink..
I am also using a wordpress website : abc.com and a php based software integrated to admin folder on root.. And I can access easily abc.com and abc.com/newfolder/abc.php

Wordpress on subfolder of asp.net website

I want my website domain subfolder to point to my website on wordpress.com, and keep the website address in the url bar the same.
For instance, the website is www.domain.com, the blog is www.domain.com/blog, and my wordpress site is mysite.wordpress.com. I want www.domain.com/blog to point to mysite.wordpress.com, but not change the url in the url bar.
The website is built on asp.net. Is this possible?
Uhhhhhh, generally, no.
10 years ago, when frames were acceptable you'd have a <frameset> page on your website and you'd load your wordpress blog into a frame and your visitors wouldn't see the wordpress.com domain name in the address bar - but frames are terrible and break things like bookmarking and site navigation, which is why they were removed from XHTML and HTML5 (their replacement, XFrames, is DoA).
Setting up a simple redirection in IIS would sort-of work, but wouldn't preserve your domain name in the address bar because your visitors need to connect to Wordpress directly.
The only solution, therefore, is to set up a proxy service on your website that proxies requests to your website over to Wordpress. This is no easy undertaking, but it is doable. You only need to proxy the HTML (things like images and other assets can be linked fine). You'd do this with a IHttpHandler in IIS that forges a new request to Wordpress and then uses a library like HtmlAgilityPack to replace appropriate URIs in the HTML with those to your proxy service.
Things like POSTable forms and Ajax requests might break - personally I don't think it's worth the hassle. I'd pay for a premium Wordpress.com subdomain, or have a local Wordpress installation.

Resources