IP address URLs being indexed, 301 to domain?
-
I apoligize if this question as been asked before, I couldnt' find in the Q&A though.
I noticed Google has been indexing our IP address for some pages (ie: 123.123.123.123/page.html instead of domain.com/page.html). I suspect this is possibly due to a few straggler relative links instead of absolute, or possibly something else I'm not thinking of.
My less-evasive solution a few months back was to ensure canonical tags were on all pages, and then replaced any relative links w/ absolutes. This does not seem to be fixing the problem though, as recently as today new pages were scooped up with the IP address.
My next thought is to 301 redirect any IP address URL to the domain, but I was afraid that may be too drastic and that the canonical should be sufficient (which it doesn't seem to be). Has anyone dealt with this issue? Do you think the 301 would be a safe move, any other suggestions?
thanks.
-
KT I think you are telling us that you have a static domain. As in your domain is the only domain on that IP address here is an example of what I'm talking about http://www.whatismyip.com/faq/difference-between-static-ip-address-and-dynamic-ip-address.asp if that is what you meant "by some sites (who do things well) 301 on the IP, others don't so I wasn't sure if I was missing something"
I would say the only chance of any site doing well in the search engine world is if it is a static domain obviously gone over that still there are very many security reasons to have a DHCP over static IP if somebody decides to attack your site for whatever reason you are a sitting duck with a static IP at least a DHCP can change it and the way all the search engines are set up now a virtual IP domain name or DHCP is treated just as if it were a static IP to Google there is no difference the DNS domain name service has to take those numbers and turn them into a readable user friendly word we can remember I think you're confused about the difference between an IP and a domain regardless of what you do your site will suffer greatly if you do not do a 301 redirect or some sort of mapping as I suggested and please understand that is a guess I don't know that a robot.txt would be sufficient I would strongly suggest because you're putting so much time and effort into making a website that you want to rank well on the search engine's using a 301 redirect whether or not use static IP or domain on a DHCP here is some more info as well http://en.wikipedia.org/wiki/URL_redirection
I wish you the best with this please do inform me of any way that you have of knowing you will not be victim to the same issues everyone else's when it comes to duplicate the links duplicated content. I do know Google bots don't just stop when they see no follow they go on and they indexed everything then they decide what they wanted for you to rank well. I think it would be more than confusing when you type site:example.com and site: www.example.com into Google only to find you spent time building links for one of your two websites.
Regardless I wish you the best on your endeavor,
Thomas
-
-
Hi Ryan,
Unfortunately English is not my first language I am a German (I live in the states as well but primarily English is not my strong point) I am telling you this because when I had written that reply I used voice recognition system and unfortunately have not been able to find the data I will reinvestigate where I was saying so that it makes more sense. I do know this 301 redirects to slow things down and I am saying this without expert knowledge so please take what I'm saying with a grain of salt. My understanding is the reason you need a 301 redirect is to eliminate the double content issue Google will from what I understand punish you for trying to use your same old content more than once especially if it is in a setting that is absolutely identical. I have been told blogs are held to different standards. The main problem I can definitely understand is most people I believe don't think www. is a subdomain when in fact it is much like three days www.example.com and blog.example.com are very much alike in fact one could make the argument if it wasn't for what the W. stands for World Wide Web and people just getting used to typing them in me might be better off as almost every hosting platform/webmaster platform or tools allows you to redirect your personal preference. For instance http://twitter.com has no www.and that makes sense for them they are trying to use the least amount of keys and is a web app. Where someone like Acme huge corporation would never dream of not having the address be written with www.acme-huge-corporation.com because the average web user believes website start with four things www. and unless you're using a CMS or CDN (that essentially does what the 301 redirect does) you will create duplicate content and be penalized when you build links because some will go to the non-WW W. and others to the root by making them more in the same all year SEO efforts go towards the same thing and don't forget by duplicating pages Google will most likely punish you. I do have a theory about how to get around using a 301 redirect and still keep the speed you deserve and not be punished for the things I spoke about earlier.I would like this to be confirmed before any of you spend your time trying what I'm guessing might work in the situation. You would design your robot.txt file to only include URLs ending with / so when you run your sightmap.xml or sightmap.aspx believe it or not they both use XML overall ASP just hangs out on server-side. You will see that there are two of every page like http://www.ColdFusionisstillmyfavorite.com/ Then under it or above you should see http://www.ColdFusionisstillmyfavorite.com the way I theorize you can make this work is tell the robots.txt to no follow the links without / it is my opinion they will follow them anyway but relay to Google that the information you're site map I wanted to take allowing for Google to hopefully not include your duplicate content and all is right in the world. This time to let everyone know fire host is a fantastic host however if the price is steep which if you're running one site or two obviously it's more than you need to pay I want to share with you a couple alternatives first media Temple V.E very fast but I'm not a lie media Temple gets bad rap from their GS server primarily and having been a customer of theirs only on the DV & VE I can assure you there still is a lot of bugs in GS because every time I would log in there were something about GS being down or worse. Having said that I do like media Temple as a company I know they are replacing GS with CS that has been in work the works for while and I believe it will fix the problems I know most of you guys here unless thinking of VE or DV our saying thanks a lot for the tip, well I did my best and I would strongly suggest http://vps.net/ they have everything media Temple has including a larger CDN in addition to having a full data center in England and the United States and an excellent uptime rating were talking the same service better speed and uptime of rack space there cost is around $20 and up but they offer huge at least to myself good reason to try them out one being cloud VPS Beta with unheard of speed okay I'll tell you outside their network according to them there over 1 Gb if that's not enough the owner of woohoo templates is a investor and you guessed it you get a free professional WordPress template with all the bells and whistles along with SEO as an option. I do know the high-end word press templates are extremely well optimized so my recommendation for the is out right now is if you don't have a good host and please feel free to correct me if I'm wrong I'm not stating anything meant to offend but I do believe you get what you pay for and I would pay for this http://vps.net/ is going to give you I believe the best thing for your buck where else can you get the elasticity of Amazon with excellent free service 24 seven cloud backup and an interface just as pretty as media temples that's saying a lot. Just to let you know I have nothing to do with any of these companies I see no profit by telling you what I know. ◦ Smart Hosting - The latest Cloud technology packaged up in an easy to understand web hosting or VPS package.
- 100% Uptime - Auto-healing and auto-scaling for your website or VPS ensures 100% availability.
- Ready to Run Templates - Deploy one of the 100's of ready rolled VPS templates or create your own in minutes.
- No contracts - Pay daily or monthly and only for what you want to use, be in control of your billing.
Try us for $1 - Sign up for a daily VPS node now!
In the near future we will introduce the ability for users to download/upload these templates (for local testing and modifications), and migrate/copy them to another Cloud, also at the moment all accounts are limited to 1 FREE custom template slot, the ability to purchase additional slots will also be added soon.
. I think you can get it the same or better performance out of mediatemple.net/ V.E it has solid state hard drive standard but you must be very comfortable with out a GUI you login using SS H. that's it and there's not much support but it's probably the fast site for $30 a month and if you want to add Media Temple'sPro CDN it is in fact hosted by edge network and I believe that $29 month an outstanding deal. However I know I mentioned I would bring this up my last post I am glad I'm able to give it to you here CloudFlare keep in mind they are company that allows for basic domestic US only CDN you are in no way forced to use media Temple you can add it for free to any web host you can control the DNS on at no cost at all unless like there their higher packages ( I think it uses openDNS.com which is another fantastic program that is free I highly recommend to everyone) so much like OpenDNS.com you get it free virus, spam bots you name it protection along with faster overall download speeds especially to people using slower connections. Remember just because somebody isn't running fiber does not mean they're not worth giving the best experience to and advertising just as much to. Most people run somewhere in the middle of what the fastest possible ISP provides for their area of the world. I'm running fiber at 40 Mb symmetrical right now but that's new and for the past five years I paid more money just to get 25 Mb download and nearly 3 Mb up. What I'm saying is if you optimize your site correctly then either use Google to rewrite your site for speed or not you are going to get in much quicker website than taking something that you bought that is not optimized at all and paying Google to magically rewrite then pushed the site. You only get a 10% improvement in less the site is fundamentally sound. If you need to rewrite depending on your side of course some of these high-end WordPress templates are free with http://vps.net/I hope I've hope someone. I am extremely sorry if I got off track a little bit I am chemical engineering on German time so I must go thank you all so much for taking my opinion into consideration please leave me feedback about your thoughts on my theories or if you do turn out how they went I will do the same. I do ask if you don't like what my opinion is you can just say it's not your thing I am not opposed to hearing anything that gets to the bottom line having said that I have years of this under my belt have worked with many companies Web trends Adobe Omniture & HubSpot. Please don't think I am ranking companies as SEOMOZ is the backbone of some of the best SEO's in the world.
Hope this helps people also check out http://builtwith.com/ their free services ability to tell you exactly what's running on your website is amazing. I also would like to tell every one at SEO moz thank you for the new keyword tip it has not hurt been my raking not having them in addition you are very right all I can really do with them is show my competitors what I've been working on.
Respectfully,
Thomas
PS
http://mediatemple.net/cloudflare/#about
Whats is CloudFlare?
It’s a free CDN (content delivery network) with a security layer that ’just works‘ in conjunction with your existing hosting service. When we learned about it, we knew our customers had to have it.
-
How does it work?
CloudFlare re-routes your sites’ traffic through its global network; blocking threats and caching content. This saves your bandwidth & resources while speeding up load times.
-
Will it work for any of my services?
It will work for any (mt) hosting service. Not a customer yet? Get started with Media Temple web hosting.
-
How do I enable it on my (mt) service?
Quick & simple set-up via the AccountCenter will have you up and running in 5 minutes! Step-by-step instructions can be found in the How do I enable CloudFlare? article.
-
Does CloudFlare support SSL?
Yes, however, in order to use SSL (https://) you’ll need to upgrade to a paid service through CloudFlare.
-
Where do I put my files?
You upload all your files to your (mt) hosting service as usual.
-
What happens when I update my website?
(mt) will serve any new files while CloudFlare updates its global network. You also have control over your cache settings.
-
Can I turn CloudFlare off?
That’s simple. Just disable it in your AccountCenter. Step-by-step instructions here: How do I disable the CloudFlare service?
-
-
mtipolyexe, your reply seems very thought out and helpful, but I can't tell for sure as something went wrong when you added it and it breaks the horizontal frame of a normal Q&A reply. Can you please fix your response so we can all read it?
-
I feel like a lot of people are told 301 redirects are a must. There is a downside most of it involves slowing your page response time. I do believe firmly though at this time we must use 301 redirects or risk putting all of our work into what could amount to only one half before we did as it is split between the two pages created when we make a domain. The other huge problem without 301 redirects is Google will bring down the hammer so to say for duplicate content. You can have a good amount of duplicate content special in a blog but exact is going to hurt you. I dealt with this same issue I strongly strongly suggest making up for the speed difference with two Links I’m adding that have different ways that should be applied to everyone’s site elements one be and compensate http://code.google.com/speed/articles/ next is an excellent tool to tell you what you can improve under site http://developer.yahoo.com/yslow/ this is were my personal favorites as people around the world don’t always have the same Internet connection speeds I can tell you with absolute certainty the money is just as green from a person who uses dial up as it is for a person using fiber http://www.webpagetest.org/
my most valuable thing I can probably gift to you is this link http://www.readwriteweb.com/archives/15_tools_to_help_speed_up_your_website.php
they are nothing short of true wealth of information on how to handle 301 redirects and the speed difference I have for sites and currently use CDN's include Akamai, Limelight Networks their goals our as fast as you can there are others listed in the readwriteWeb.com above and
now if you are thinking God Tom you just told me a lot of stuff that could be very expensive and a lot of work and you would be right. So if you want the totally turnkey option please been introduced Google's new system http://code.google.com/speed/pss/index.html FYI Google uses http://tools.pingdom.com/ so should you it's free media Temple is an excellent host that offers a free CDN in addition to a proceed in for $25 a month. I use http://www.firehost.com and they come with a free CDN that is excellent it handles video overall worst-case scenario you have a poorly written website is and effect and might need it to be completely rewritten with. I think that readwriteweb.com is your best bet. Sorry I was so long-winded I really hope this is viable information to somebody hopefully you and best of luck to you.
Don't let this happen to you
Every day, more than 99 human years are wasted because of uncompressed content. Although support for compression is a standard feature of all modern browsers, there are still many cases in which users of these browsers do not receive compressed content. This wastes bandwidth and slows down users' interactions with web pages.
One of the great things about using a popular JavaScript library like JQuery or Dojo is that Google offers a content distribution network and loading architecture, which means the scripts load very quickly. But what about smaller JavaScript libraries?
That’s where CDN JS comes in. The newish site offers CDN hosting for less popular, but still useful JavaScript libraries. The site uses Amazon CloudFront, along with Amazon S3 for DNS, making it, in all likelihood, faster than serving the same scripts off your own server. You can check out the uptime stats for CDN JS on Pingdom.
CDN JS doesn’t have everything, but they do have one script many developers use all the time these days — Modernizr. If there’s a library you’d like to see hosted, be sure to let CDN JS know.
We’d like to see the site make it possible to combine scripts — say, load Modernizr and respond.js (not currently available at all) — into a single, minified script, but even as it stands, loading two scripts from a CDN is often faster than a single script from your own server.
[edited by KeriMorgret so it won't scroll horizontally]
-
I typically use this in an .htaccess file:
RewriteCond %{HTTP_HOST} ^[0-9]+(.[0-9]+){3} [OR]
RewriteCond %{HTTP_HOST} !^www.yourdomain.com$ [OR]
RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
RewriteRule ^(.*)$ http://www.yourdomain.com/$1 [L,R=301]Explanation: If it is an ip, doesn't start with www, or doesn't have the www, rewrite it to the http://www.
-
Thanks Ryan, not too concerned about the process of performing a 301, just looking more for agreement on if it's the best practice in this scenario. Some sites (who do things well) 301 on the IP, others don't so I wasn't sure if I was missing something.
thanks again.
-
A 301 is definitely preferable over a canonical. I would recommend a simple regex expression to 301 redirect any IP related traffic to the relative page on your chosen domain.
Example: 123.123.123.123/welcome would be redirected to mysite.com/welcome
This can be achieved with a single rule. The code for the rule would vary based on your server setup. If you are on managed hosting, your host can set this up for you.
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
-
Can you help by advising how to stop a URL from referring to another URL on my website please?
Stopping a redirect from one URL to another due to a 404 error? Referred URL which is (https://webwritinglab.com/know-exactly-what-your-ideal-clients-want-in-8-easy-steps/%5Bnull%20id=43484%5D) Referring URL (https://webwritinglab.com/know-exactly-what-your-ideal-clients-want-in-8-easy-steps/)
Technical SEO | | Nichole.wynter20200 -
301 redirects for all urls - legal dispute
The website in question is a very high traffic website with substantial credibility in it's subject matter (sorry, can't share more details) that delivers an overwhelming majority of traffic from SEO, much of which is new visitors. A legal dispute has resulted in both parties agreeing to forward a percentage of the total URLs to alternative websites (only 1 website for each party). All URLs for the domain will be forwarded elsewhere. It does not make sense to me that the "sum of the parts" will be as strong once the redirects are implemented but I am looking for feedback. It is fair to say that the alternative domains of each party are no where near as strong as the domain being "parted out." Will the SEO juice be distributed to each domain in full? Will both parties lose out substantially? Feel free to ask for clarifications and I'll do the best I can given the legal parameters. Thanks.
Technical SEO | | ReachMaineAgency0 -
Undo a 301 or Starting New Domain?
Hi Guys & Gals, I have a question I'd appreciate your input on. Quick History
Technical SEO | | Nobody1560986989723
When I first started in web design it was just me and a couple of clients. I had a website based on my name on the domain moxby.org.uk. The only 'SEO' work done on it was a bit of on-site work, various links based on forum and blog activity I was involved in (genuine involvement not crappy link building) and of course, building websites with a credit in the footer. When we got serious about the business we considered and finally put in place a new website, new branding and 301'd old URLs to their shiny new location on the new domain: _summitweb.net _(put in place about 12 months ago) Ranks were pretty much maintained and until recently we ranked well locally (still figuring the fallout from the last week or so's changes). The Question I would like to build a personal website, well I'm going to anyway. But as it's a personal/showcase website I need a personal URL for it and my natural choice would be my old url moxby.org.uk. However it is not that simple because summitweb.net is benefitting from redirected links and I don't want to harm our business' rankings just to reclaim a personal URL. So... is there benefit or would it be to my detriment to undo the 301 and build a website on moxby.org.uk or would it, in fact, just make more sense to buy a new domain and have a clean slate?0 -
How to prevent duplicat content issue and indexing sub domain [ CDN sub domain]?
Hello! I wish to use CDN server to optimize my page loading time ( MaxCDN). I have to use a custom CDN sub domain to use these services. If I added a sub domain, then my blog has two URL (http://www.example.com and http://cdn.example.com) for the same content. I have more than 450 blog posts. I think it will cause duplicate content issues. In this situation, what is the best method (rel=canonical or no-indexing) to prevent duplicate content issue and prevent indexing sub domain? And take the optimum service of the CDN. Thanks!
Technical SEO | | Godad0 -
Should I do a 301 redirect
Hi Everyone, Hope you can help me out here. I have .co.uk & .ie website with similar content. On a particular section of the .co.uk website it is updated daily (Q&As, Blog posts etc) .ie does have this section but to a lesser degree, no daily updates etc, I was wondering if we should simply do a 301 redirect when someone is on the .ie website to .co.uk, it means the user is getting a much better experience however not entirely the consequences from search engines on this? Thanks
Technical SEO | | Paul781 -
New Website, New URL, New Content - What do we do with the old site? Are 301's the only option?
We've just built a new site for a client. They were adamant on changing the url. The new site is entirely new content, however the subject mater is the same. Some pages are even titled very similarly. Is is advisable to keep the old site running, and link it to the new site? Permanently, or temporarily? Do we simply place redirects from the old site the new? Old site was 30 pages, new site is 80 pages. So redirects won't be available to all the new pages. It seems a shame to trash the old site, it is getting some good traffic, and the content - although outdated is unique and of a high quality. Old url is 4+ yrs old, the new url is new. Some enlightened opinions would be greatly welcomed. Thanks
Technical SEO | | MarketsOnline0 -
Creating new website with possible Url change (301 involved?)
Hi, I am currently getting a web designer to upgrade my website. I have built lost of links to my internal pages, should I get him to 301 redirect example.com/about.html (old) to example.com/about (new) OR Is there any need for this once the page doesn't change to example.com/about-us? Thank you in advance 🙂
Technical SEO | | Socialdude0 -
Directory URL structure last / in the url
Ok, So my site's urls works like this www.site.com/widgets/ If you go to www.site.com/widgets (without the last / ) you get a 404. My site did no used to require the last / to load the page but it has over the last year and my rankings have dropped on those pages... But Yahoo and BING still indexes all my pages without the last / and it some how still loads the page if you go to it from yahoo or bing, but it looks like this in the address bar once you arrive from bing or yahoo. http://www.site.com/404.asp?404;http://site.com:80/widgets/ How do I fix this? Should'nt all the engines see those pages the same way with the last / included? What is the best structure for SEO?
Technical SEO | | DavidS-2820610