How correcttly redirect to http://m.mobile.com website
-
Hi everyone, I will appreciate if you will drop here a piece of script ( or link to ) for CORRECT redirection for our http://m.mobile.com website. We are confused what type of redirection should we use java script, htaccess, php, 301, 302....? in order not to damage any rankings and etc...
Thanks
webdeal -
Is it a redirect you actually want? Using a redirect would mean that mobile users would see your non-mobile site and this isn't a good user experience. If it is a redirect you are after (because you no longer want your mobile domain) then you must use a 301 permanent redirect if you want to pass any SEO goodness from old domain to new domain. Where possible redirect relative mobile pages to desktop pages (e.g. mobile homepage to desktop homepage and mobile blue shoes page to desktop blue shoes page).
If it's not a redirect that you are after you may be looking for information on canonical and alternate tags. This allows you to have both sites running duplicate content without it affecting rankings and helps search engines understand the relationship between your mobile and desktop versions. More information here https://developers.google.com/webmasters/smartphone-sites/details
But, ideally your website would be built using responsive design, then you wouldn't need a redirect or canonical tags for mobile site.
Hope that helps.
Davinia -
Hello Webdeal,
Firstly you may find the following helpful - https://developers.google.com/webmasters/smartphone-sites/redirects
"For this purpose, it does not matter if the server redirects with an HTTP 301 or a 302 status code."
Basically make it the site, redirect the mobile users to the correct site. The rankings should be fine if you've set up everything correctly.
Good luck!
-
Hi there,
Always use 301 redirect. 301 redirect passes on the links and juice to new url.. If im not wrong90-95% of links are passed on to the redirected location. -
Hii can you tell me what type of redirect you want, do you want to redirect a website m.mobile.com to someone else, or redirect the whole website mobile.com to m.mobile.com, can you little explain it more. Thanks
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
-
Relaunching website in two phases - 301 redirect approach
Hey Mozzers, Interested to know your thoughts on the following situation. I am relaunching a website with an updated URL structure in TWO phases. Phase one will be a much smaller version of the site, with 30% of the pages going live - the remaining 70% of page won't be available until Phase two. In Phase one, these 30% of pages will be 301 redirected from their like-for-like versions - old site to new site. The remaining 70%... because the like-for-like pages won't be available until Phase two, which is likely to be launched in 3 months time, should I do a temporary redirect on these pages (302) to the new homepage for the time being, until the new versions of the pages are live - and then implement the 301 from old url to new url. A bit of a messy situation, and not ideal for SEO, but my hands are tied as the organisation is pushing ahead with this phased approach. So, interested to hear your thoughts on an appropriate 301 migration plan.
Intermediate & Advanced SEO | | RWesley0 -
Ranking Spanish website in Spain, but I'm based in Australia!
| Hello guys,
Intermediate & Advanced SEO | | wajdisawaqed
I hope you all doing well.I just signed up to this great forum to get some answers on my current SEO campaign, I hope I can find some help in here. I have very important question I hope some of SEO experts can help me please, it will mean the world to me. SO I'm trying to rank this clean,originally Spanish expired domain that I bought in Auction for big money. I added a lot of original content, some keywords start ranking already without any backlinks as the website has huge authority and a lot of quality backlinks, so now I want to start building backlinks to get my keywords on the first page. My question:
I'm a bit worry about installing Google analytics on my site as I will be using gmail account thats based in Australia as I had to use Australian phone number to verify the account. What do you think? is it safe to do that ? (having google account based in Australia linked to website that I'm trying to rank in Spain) I would really appreciate an accurate answer, if you are not sure or if you have never done it before, please don't give me any expectations, as I'm investing a lot of money in this project. Any help would be extremely appreciated my friends. The other question is:
I have bought couple of "new domains" and added some content, to add those domains to my PBN, just to mix up the link profile on my money site. How long do you wait on new domain name before you build any backlinks? I've already added content and social profiles to the new sites, I just need to know when can I start building backlinks to them to power them up as they are new. Thank you so much in advance, I'm looking forward to hear some opinions from experts. Thank you |1 -
Redirecting Old Websites to New Websites
Hi Everyone, We are about to take down a number of websites in favour of a new singular B2B hub and would be looking to redirect all of these sites to the new home. For SEO purposes, what would be the best way to do this? Due to the difference in setups and scale of the site, it would be difficult to correctly match up each page to page between the sites for individual 301 redirects. Could someone advise on the best plan of action? Thanks.
Intermediate & Advanced SEO | | chbiz0 -
Multilingual Redirection
Hey there awesome Mozzers, I have a site that it automatically redirects people by using geolocation ( i know that probably is not good ) to the various languages of the site. I just wanted to know Is 301 or 302 the best option? ( I've heard that for language re-directions 302 is the best case scenario ) My main page for example is www.example.com and it automatically redirects with a 301 to www.example.com/en for any language that is not there. What is the best case scenario? Leave it to redirect to /en or just leave it go to the root page www.example.com.
Intermediate & Advanced SEO | | Angelos_Savvaidis0 -
Domaim.com/jobs?location=10 is indexed, so is domain.com/jobs/sheffield
Whats the best way you'd tackle that problem? I'm inheriting a website and the old devs had multiple internal links pointing to domain.com/jobs?location=10 (plus a ton of other numbers assigned to locations) and so they've been indexed. I usually use WMTs parameter tool but I'm not sure what the best approach would be other than that. Any help would be appreciated!
Intermediate & Advanced SEO | | jasondexter0 -
Circular Canonical/Redirect
My client's site has an issue (see below) and I'm wondering how much it could be affecting crawlability. Has anyone seen a major rankings bump after fixing something like this? 1. In each page the rel=canonical is pointing to the http version of the page while the http version is redirecting to the https version. Basically, a circular redirect-canonical loop is occurring.2. The sitemap.xml is also referring to the http version of the pages rather than the https.
Intermediate & Advanced SEO | | elenaroi0 -
Is it worth redirecting an old domain name which was hacked to my new website?
I had a website which got hacked and malware added to it. I have since closed that website down but I still have the domain name. That domain name prior to the malware was incredibly well ranking for its niche and had a good range of high quality links to it and a domain age of 6 years. I'm now creating a new website which is similar to the old one (the same but with a different platform and layout). Is it a good or bad idea to redirect the old domain name to the new website?
Intermediate & Advanced SEO | | james.rose0 -
Primary Domain or Redirect?
We are starting a new travel guide for a resort town. I have bought an expired domain with decent related links and PR (which seems to have survived the transfer (4 months ago). Beofre we launch the new site I am trying to decide if we should use this expired domain as the primary URL for the new site or just do a permanent redirect and buy a new domain that better matches the theme of the site. I am obviously concerned with starting from scatch with a new domain. I am confident we can build some good rellevant links in a short time but this space is very competetive. Any input would be greatly appreciated.
Intermediate & Advanced SEO | | Locals0