How to configure mobile website?
-
Hi,
Please tell me how to make the mobile website availabe:
htp://m.mysite.com
or
http://www.mysite.com i.e. to render different content based on user agent but on the same URL
-
What i am planning to do is - create a small function that based on the user agent will render the content i.e. if the user agent is of smart phones, it will render mobile version of the website and if it is desktop then it will render the desktop version. I hope it does not amounts to cloaking. Please correct me if i am wrong
-
If you would like to redirect it to a subdomain http://m.example.com/ then you can achieve that in a few different ways depending on the server it's hosted on. If you have Apache then you can use your .htaccess file to redirect mobile viewers to the mobile site.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
How to decrease the spam score of website ?
Hello , Everyone I have my own website crawlmyline we are doing seo from last 2 years but didn't do any spammy work on my my site .Still I won't able to stop the spam score and now my website has 28 % spam score according to the moz.I have taken subscription of moz pro but still i can't understand the process. Can anyone please tell me how to decrease the spam score of website ?
Technical SEO | | kuldeep_chauhan0 -
Setting Up A Website For Redirects
I've got an old defunct domain with a lot of backlinks to individual pages. I'd like to use these backlinks for link juice by redirecting them to individual pages on the new domain (both sites belong to the same company). What is the best way to set this up? I presume I need some kind of hosting & site, even if it's just a default Wordpress install, which I can then use to set up the redirects? Would it be best done using .htaccess file for 301 redirects or some other way?
Technical SEO | | abisti20 -
Mobile webpages
Should mobile pages get their own unique meta title? The meta I see on mobile search results is pulled from my desktop page and the mobile page does not include the title meta tag.
Technical SEO | | Mr.bfz0 -
Rottentomatoes.com - mobile ranks better than desktop?
Howdy Mozzers, I don't see this very often but figured I would share my findings, no surprise that I found a huge portal like rottentomatoes.com ranking for the keyword: new on dvd , but for the last month or so - the page that is indexed for it is their "mobile" view. ( Screen Shot Attached ) I have a few ideas how you could go about fixing this - but just more of a conversation piece - have many of you ever seen such a thing - especially on a portal so big? Your pal, Chenzo ScreenShot2014-12-02at101927AM_zps107789f1.png
Technical SEO | | Chenzo0 -
Google not crawling the website from 22nd October
Hi, This is Suresh. I made changes to my website and I see that google is unable to crawl my website from 22nd October. Even it is not showing any content when I use Cache:www.vonexpy.com. Can any body help me in knowing why Google is unable to crawl my website. Is there any technical issue with the website? Website is www.vonexpy.com Thanks in advance.
Technical SEO | | sureshchowdary1 -
Website redirects
We consolidated websites. All the international sites have been brought under the roof of our mothership site based in the US: www.crisisprevention.com ... We mapped out all of the URLs and where they should be redirected. However, if someone types in, say, www.crisisprevention.co.uk it redirects to the mothership site, BUT the old URL hangs around no matter what page you navigate to. I feel like it has duplicate content ramifications or worse. I would like opinions on this, so I can take my findings to IT and figure out a solution. Here’s another example: http://www.positive-options.co.uk and another http://www.positive-options.com
Technical SEO | | spackle0 -
Google Finds New Zealand Websites
Ok my VPS is in America and all my websites with .co.nz have been found by google but luggagenz.com doesn't come up... I then realised that all my websites are classed as american... umm how do I change this without moving my vps?
Technical SEO | | bonmaklad0 -
Do you validate you websites?
Do you consider the guidelines from http://validator.w3.org/ when setting up a new website? As far as I know they don't influence rankings ... What is your opinion about that topix?
Technical SEO | | petrakraft0