Tumgik
#still on break but got a new canon url for here where i don't have to substitute letters with others so hii
novistadors · 1 year
Text
lluzija → novistadors ♡
8 notes · View notes
suzanneshannon · 4 years
Text
Don't ever break a URL if you can help it
Back in 2017 I said "URLs are UI" and I stand by it. At the time, however, I was running this 18 year old blog using ASP.NET WebForms and the URL was, ahem, https://www.hanselman.com/blog/URLsAreUI.aspx
The blog post got on Hacker News and folks were not impressed with my PascalCasing but were particularly offended by the .aspx extension shouting "this is the technology this blog is written in!" A rightfully valid complaint, to be clear.
ASP.NET has supported extensionless URLs for nearly a decade but I have been just using and enjoying my blog. I've been slowly moving my three "Hanselman, Inc" (it's not really a company) sites over to Azure, to Linux, and to ASP.NET Core. You can actually scroll to the bottom of this site and see the git commit hash AND CI/CD Build (both private links) that this production instance was built and deployed from.
As tastes change, from anglebrackets to curly braces to significant whitespace, they also change in URL styles, from .cgi extesnions, to my PascalCased.aspx, to the more 'modern' lowercased kebab-casing of today.
But how does one change 6000 URLs without breaking their Google Juice? I have history here. Here's a 17 year old blog post...the URL isn't broken. It's important to never change a URL and if you do, always offer a redirect.
When Mark Downie and I discussed moving the venerable .NET blog engine "DasBlog" over to .NET Core, we decided that no matter what, we'd allow for choice in URL style without breaking URLs. His blog runs DasBlog Core also and applies these same techniques.
We decided on two layers of URL management.
An optional and configurable XML file in the older IIS Rewrite format that users can update to taste.
Why? Users with old blogs like me already have rules in this IISRewrite format. Even though I now run on Linux and there's no IIS to be found, the file exists and works. So we use the IIS Rewrite Module to consume these files. It's a wonderful compatibility feature of ASP.NET Core.
The core/base Endpoints that DasBlog would support on its own. This would include a matrix of every URL format that DasBlog has ever supported in the last 10 years.
Here's that code. There may be terser ways to express this, but this is super clear. With or without extension, without or without year/month/day.
app.UseEndpoints(endpoints => { endpoints.MapHealthChecks("/healthcheck"); if (dasBlogSettings.SiteConfiguration.EnableTitlePermaLinkUnique) { endpoints.MapControllerRoute( "Original Post Format", "~/{year:int}/{month:int}/{day:int}/{posttitle}.aspx", new { controller = "BlogPost", action = "Post", posttitle = "" }); endpoints.MapControllerRoute( "New Post Format", "~/{year:int}/{month:int}/{day:int}/{posttitle}", new { controller = "BlogPost", action = "Post", postitle = "" }); } else { endpoints.MapControllerRoute( "Original Post Format", "~/{posttitle}.aspx", new { controller = "BlogPost", action = "Post", posttitle = "" }); endpoints.MapControllerRoute( "New Post Format", "~/{posttitle}", new { controller = "BlogPost", action = "Post", postitle = "" }); } endpoints.MapControllerRoute( name: "default", "~/{controller=Home}/{action=Index}/{id?}"); });
If someone shows up at any of the half dozen URL formats I've had over the years they'll get a 301 permanent redirect to the canonical one.
UPDATE: Great tip from Tune in the comments: "After moving several websites to new navigation and url structures, I've learned to start redirecting with harmless temporary redirects (http 302) and replace it with a permanent redirect (http 301), only after the dust has settled…"
The old IIS format is added to our site with just two lines:
var options = new RewriteOptions().AddIISUrlRewrite(env.ContentRootFileProvider, IISUrlRewriteConfigPath); app.UseRewriter(options);
And offers rewrites to everything that used to be. Even thousands of old RSS readers (yes, truly) that continually hit my blog will get the right new clean URLs with rules like this:
<rule name="Redirect RSS syndication" stopProcessing="true"> <match url="^SyndicationService.asmx/GetRss" /> <action type="Redirect" url="/blog/feed/rss" redirectType="Permanent" /> </rule>
Or even when posts used GUIDs (not sure what we were thinking, Clemens!):
<rule name="Very old perm;alink style (guid)" stopProcessing="true"> <match url="^PermaLink.aspx" /> <conditions> <add input="{QUERY_STRING}" pattern="&?guid=(.*)" /> </conditions> <action type="Redirect" url="/blog/post/{C:1}" redirectType="Permanent" /> </rule>
We also always try to express rel="canonical" to tell search engines which link is the official - canonical - one. We've also autogenerated Google Sitemaps for over 14 years.
What's the point here? I care about my URLs. I want them to stick around. Every 404 is someone having a bad experience and some thoughtful rules at multiple layers with the flexibility to easily add others will ensure that even 10-20 year old references to my blog will still resolve!
Oh, and that article that they didn't like over on Hacker News? It's automatically now https://www.hanselman.com/blog/urls-are-ui so that's nice, too!
Here's some articles I've already written on the subject of moving this blog to the cloud:
Real World Cloud Migrations: Moving a 17 year old series of sites from bare metal to Azure
Dealing with Application Base URLs and Razor link generation while hosting ASP.NET web apps behind Reverse Proxies
Updating an ASP.NET Core 2.2 Web Site to .NET Core 3.1 LTS
Making a cleaner and more intentional azure-pipelines.yml for an ASP.NET Core Web App
Moving an ASP.NET Core from Azure App Service on Windows to Linux by testing in WSL and Docker first
If you find any issues with this blog like
Broken links and 404s where you wouldn't expect them
Broken images, zero byte images, giant images
General oddness
Please file them here https://github.com/shanselman/hanselman.com-bugs and let me know!
Sponsor: Suffering from a lack of clarity around software bugs? Give your customers the experience they deserve and expect with error monitoring from Raygun.com. Installs in minutes, try it today!
© 2020 Scott Hanselman. All rights reserved.
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
      Don't ever break a URL if you can help it published first on https://deskbysnafu.tumblr.com/
0 notes
philipholt · 4 years
Text
Don't ever break a URL if you can help it
Back in 2017 I said "URLs are UI" and I stand by it. At the time, however, I was running this 18 year old blog using ASP.NET WebForms and the URL was, ahem, https://www.hanselman.com/blog/URLsAreUI.aspx
The blog post got on Hacker News and folks were not impressed with my PascalCasing but were particularly offended by the .aspx extension shouting "this is the technology this blog is written in!" A rightfully valid complaint, to be clear.
ASP.NET MVC has supported extensionless URLs for nearly a decade but I have been just using and enjoying my blog. I've been slowly moving my three "Hanselman, Inc" (it's not really a company) sites over to Azure, to Linux, and to ASP.NET Core. You can actually scroll to the bottom of this site and see the git commit hash AND CI/CD Build (both private links) that this production instance was built and deployed from.
As tastes change, from anglebrackets to curly braces to significant whitespace, they also change in URL styles, from .cgi extesnions, to my PascalCased.aspx, to the more 'modern' lowercased kebab-casing of today.
But how does one change 6000 URLs without breaking their Google Juice? I have history here. Here's a 17 year old blog post...the URL isn't broken. It's important to never change a URL and if you do, always offer a redirect.
When Mark Downie and I discussed moving the venerable .NET blog engine "DasBlog" over to .NET Core, we decided that no matter what, we'd allow for choice in URL style without breaking URLs. His blog runs DasBlog Core also and applies these same techniques.
We decided on two layers of URL management.
An optional and configurable XML file in the older IIS Rewrite format that users can update to taste.
Why? Users with old blogs like me already have rules in this IISRewrite format. Even though I now run on Linux and there's no IIS to be found, the file exists and works. So we use the IIS Rewrite Module to consume these files. It's a wonderful compatibility feature of ASP.NET Core.
The core/base Endpoints that DasBlog would support on its own. This would include a matrix of every URL format that DasBlog has ever supported in the last 10 years.
Here's that code. There may be terser ways to express this, but this is super clear. With or without extension, without or without year/month/day.
app.UseEndpoints(endpoints => { endpoints.MapHealthChecks("/healthcheck"); if (dasBlogSettings.SiteConfiguration.EnableTitlePermaLinkUnique) { endpoints.MapControllerRoute( "Original Post Format", "~/{year:int}/{month:int}/{day:int}/{posttitle}.aspx", new { controller = "BlogPost", action = "Post", posttitle = "" }); endpoints.MapControllerRoute( "New Post Format", "~/{year:int}/{month:int}/{day:int}/{posttitle}", new { controller = "BlogPost", action = "Post", postitle = "" }); } else { endpoints.MapControllerRoute( "Original Post Format", "~/{posttitle}.aspx", new { controller = "BlogPost", action = "Post", posttitle = "" }); endpoints.MapControllerRoute( "New Post Format", "~/{posttitle}", new { controller = "BlogPost", action = "Post", postitle = "" }); } endpoints.MapControllerRoute( name: "default", "~/{controller=Home}/{action=Index}/{id?}"); });
If someone shows up at any of the half dozen URL formats I've had over the years they'll get a 301 permanent redirect to the canonical one.
The old IIS format is added to our site with just two lines:
var options = new RewriteOptions().AddIISUrlRewrite(env.ContentRootFileProvider, IISUrlRewriteConfigPath); app.UseRewriter(options);
And offers rewrites to everything that used to be. Even thousands of old RSS readers (yes, truly) that continually hit my blog will get the right new clean URLs with rules like this:
<rule name="Redirect RSS syndication" stopProcessing="true"> <match url="^SyndicationService.asmx/GetRss" /> <action type="Redirect" url="/blog/feed/rss" redirectType="Permanent" /> </rule>
Or even when posts used GUIDs (not sure what we were thinking, Clemens!):
<rule name="Very old perm;alink style (guid)" stopProcessing="true"> <match url="^PermaLink.aspx" /> <conditions> <add input="{QUERY_STRING}" pattern="&?guid=(.*)" /> </conditions> <action type="Redirect" url="/blog/post/{C:1}" redirectType="Permanent" /> </rule>
We also always try to express rel="canonical" to tell search engines which link is the official - canonical - one. We've also autogenerated Google Sitemaps for over 14 years.
What's the point here? I care about my URLs. I want them to stick around. Every 404 is someone having a bad experience and some thoughtful rules at multiple layers with the flexibility to easily add others will ensure that even 10-20 year old references to my blog will still resolve!
Oh, and that article that they didn't like over on Hacker News? It's automatically now https://www.hanselman.com/blog/urls-are-ui so that's nice, too!
Here's some articles I've already written on the subject of moving this blog to the cloud:
Real World Cloud Migrations: Moving a 17 year old series of sites from bare metal to Azure
Dealing with Application Base URLs and Razor link generation while hosting ASP.NET web apps behind Reverse Proxies
Updating an ASP.NET Core 2.2 Web Site to .NET Core 3.1 LTS
Making a cleaner and more intentional azure-pipelines.yml for an ASP.NET Core Web App
Moving an ASP.NET Core from Azure App Service on Windows to Linux by testing in WSL and Docker first
If you find any issues with this blog like
Broken links and 404s where you wouldn't expect them
Broken images, zero byte images, giant images
General oddness
Please file them here https://github.com/shanselman/hanselman.com-bugs and let me know!
Sponsor: Suffering from a lack of clarity around software bugs? Give your customers the experience they deserve and expect with error monitoring from Raygun.com. Installs in minutes, try it today!
© 2020 Scott Hanselman. All rights reserved.
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
      Don't ever break a URL if you can help it published first on http://7elementswd.tumblr.com/
0 notes
she-willnotfall · 6 years
Text
What You Know About SEO 2019 And What You Don't Know About SEO 2019
The particular search engine optimization (SEO) is usually an important design feature associated with the website that enables the particular spider or robot to very easily access it, thereby increasing the visibility on the internet. The sensible strategy for SEO would certainly still appear to be in order to reduce Googlebot crawl expectations plus consolidate ranking equity & possible in high-quality canonical pages plus you do that by reducing duplicate or near-duplicate content. This can take a LONG period for a site to recuperate from using black hat SEARCH ENGINE OPTIMIZATION tactics and fixing the troubles will never necessarily bring organic visitors back as it was prior to a penalty. The particular best SEO Guide is right here to dispel those myths, plus give you all you require to know about SEO in order to show up online and additional search engines, and ultimately make use of SEO to grow your company. > > Upon Page Optimization: On-page SEO is definitely the act of optimizing unique pages with a specific finish goal to rank higher plus acquire more important movement within web crawlers. There are a lot of websites providing pertinent information regarding SEO and online marketing, and you could learn from them. But it's perplexing why some businesses don't attempt harder with analysis, revisions, plus new content with their SEARCH ENGINE OPTIMIZATION online marketing strategy. An effective SEO strategy will certainly be made up of a mixture of elements that ensure your internet site is trusted by both customers as well as the lookup engines. By taking their particular marketing needs online and employing confer with an experienced SEARCH ENGINE OPTIMIZATION agency, a business will be able to achieve thousands, or even millions associated with people that they would have got not been able to usually. Join us for the three-day, one-track conference full regarding forward-thinking, tactical sessions in SEARCH ENGINE MARKETING, growth marketing, the mobile panorama, analytics, content marketing, and a lot more. The objective associated with SEO is to get a new website ranked as high while possible on search engines, like Google. In case you are improving user encounter by focusing primarily on the particular quality of the MC associated with your pages and avoiding -- even removing - old-school SEARCH ENGINE OPTIMIZATION techniques - those certainly are usually positive steps to getting even more traffic from Google in 2018 - and the type associated with content performance Google rewards is usually in the end largely from How To Get People To Like SEO 2019 least about a satisfying consumer experience. For instance, when I'm logged in to Google+ and We search for SEO, I obtain the following in my top 5 search results. Black head wear SEO practice involves breaking almost all of the rules and rules of the search engine. Every time you notice or hear the phrase lookup engine optimization, ” substitute exactly what create quality and indicating relevance” and you'll have the correct mindset permanently SEO work. SEOs conveniently call this effect ‘domain authority' and it appeared in order to be related to ‘PageRank' -- the system Google started in order to rank the web within 1998. When you have more time plus are keen to follow the particular SEO industry, subscribe to Moz and Search Engine Land. Integrating these keywords into the article allows you to add range while still retaining SEO energy. You will become introduced to the foundational components of how search engines such as google work, how the SEARCH ENGINE OPTIMIZATION landscape is promoting and exactly what you can expect in the particular future. The SISTRIX Toolbox consists associated with six modules 1) SEO, 2) Universal, 3) Links, 4) Advertisements, 5) Social and 6) Optimizer. Low-quality content can severely impact the achievements of SEO, within 2018. When your own SEO starts building strong environment, competitors can start maligning your own SEO backlinks. ” With content marketing spend likely to reach $300 billion by 2019, this statistic is worrisome. Now the electronic marketing companies know how in order to use AI for SEO, plus in coming years AI can dominate in developing the SEARCH ENGINE OPTIMIZATION strategies of the digital advertising companies. Ray Cheselka, AdWords and SEARCH ENGINE OPTIMIZATION Manager at webFEAT Complete, the design and SEO agency, states that in 2019 search purpose Blog9T will continue to become even more important. Expert writers of SEO articles will certainly take the time to study the particular industry or specialized niche market. 2 tools to help with nearby SEO are BrightLocal (for rankings) and MozLocal (for local research optimization). Concerning on-page SEO best practices, I usually link out to other quality appropriate pages on other websites exactly where possible and where a human being would find it valuable. It includes a favorite Regular Table of SEO Success Factors”, a 9-chapter guide to SEARCH ENGINE OPTIMIZATION basics, and links to several from the site's most useful blog posts. Search engine optimisation (SEO) could be the process of impacting the online visibility of the particular website or a web web page in a web search motor 's unpaid results—often known because "natural", " organic ", or even "earned" results. Seo (SEO) is a procedure of improving positions in natural (non-paid) search results searching motors. Additional SEO ranking factors include: obtainable URLs, domain age (older is usually usually better), page speed, cellular friendliness, business information, and specialized SEO. Your own search engine optimization strategy can end up being divided into two different classes: on-page SEO and off-page SEARCH ENGINE OPTIMIZATION. When you familiarize yourself with this neighborhood, you will inevitably stumble your own way onto the websites associated with SEO Gurus” selling courses that will teach you SEO for hundreds of dollars. Expert SEO writers can also make use of modifiers and keyword variations in order to further optimize the content. Within a lot associated with cases, this happens as the consequence of non-ethical SEO specifically buying and selling links which usually could get you up the particular Google ‘adder' quickly. Content is definitely key but content alone will be no longer king; content, circumstance, and relevance will drive overall performance of content and digital marketing and advertising, and SEO is part yet not full parcel. Ultimate WordPress SEARCH ENGINE OPTIMIZATION Guide for Beginners (Step simply by Step) — 28% of sites on the internet use Wp. SEO is usually abused as a blanket term with regard to digital marketing. Looking deeper: In present-day SEARCH ENGINE OPTIMIZATION, you can't simply include because several keywords as possible to achieve the people who are searching for you. SEO stands for Search Motor Optimization and refers to methods you can use to assist ensure that your site rates high in the results associated with search engines for example Google. It blends ranks and search volumes in the manner that makes it even more relevant, insightful and easier in order to understand than any other SEARCH ENGINE OPTIMIZATION performance tracking approach. About: Advanced Search Summit is usually designed for advanced SEO experts, digital marketers, and analysts with enterprise and mid-market sized businesses who want advanced tactics plus techniques. SEO stands for seo. ” It is the process associated with getting traffic through the free, ” organic, ” editorial” or natural” search results on search motors like google. If you're planning about ramping up SEM initiatives to complement organic SEO, end up being sure to take a appearance at Google Adwords ' Lookup Ads page. The large a part of SEO is developing valuable, high-quality content (e. grams., blog articles and web web page copy) that your customers may find helpful. SEO alone cannot perform much for your business yet when combined with content marketing and advertising, social internet marketing, email marketing and advertising, mobile marketing and PPC advertising, it can help businesses achieve the pinnacle of success on the web. A lot of of these so-called 'tweaks' include advertising and link-gathering, and We use SEO and article marketing and advertising for that. Within 2018, your SEO success will not depend on how well a person optimize your website for Search engines. But if you're brief on money, use these diy SEO ideas to improve your natural rankings. If you choose SEARCH ENGINE OPTIMIZATION, you're helping Google's spiders in order to crawl and understand your posts. The job of a good SEO is to manage the particular optimization of websites to guarantee they gain web site traffic from research engines such as Google and Bing. One great part of content that will ranks well within the research results is its beginner's facts SEO. SEOs plus online marketing specialists in basic who are dealing with intercontinental websites or for online businesses thinking about going international may certainly benefit from attending ISS. We would certainly like to serve you in order to save money and your power by offering affordable SEO solutions to increase link popularity. Work the key word into the SEO page name, content header, image, image betagt text, etc. SEO equipment provide position monitoring, deep key phrase research, and crawling through easy to customize reports and analytics. Certainly, white hat SEO always incorporated creating high quality, unique content material as a prerequisite for acquiring long-term quality results, this reality hasn't changed. Beyond compensated and organic, there are additional types of SEO and expertise and niches within search motor marketing. Upon the subject of speed, with the beginning of 2017 right now there was still much resistance in order to AMP in the SEO local community overall, but as we mind toward 2018 that feels in order to be dissipating now somewhat along with a reluctant acceptance that AMPLIFIER looks as though it's not really going away sooner. The biggest way that individuals misuse SEO is assuming that will it's a game or that will it's about outsmarting or deceiving the search engines. Both are crucial to the particular success of an SEO strategy, but they're on completely different edges of the fence when this comes to improving your search motor rankings. Greater than 50% of mobile phone customers started using voice search correct from 2015, and so we all can expect that in 2019 and after that not much less than 50% of searches may be in the form associated with voice search. Within the past, getting a great SEO was only about making use of keywords. Remember that SEO is usually about targeting real people, not really only search engines. When you do these on-page plus off-page elements of SEO with least along with your rivals, you can achieve higher lookup engine ranking positions in the particular organic section of search motor results pages and have the quality website capable of keeping your revenue goals. In my opinion that 2018 is going to be the particular year where voice search changes how users search and SEOs need to optimize. SEO or Search engine optimisation is a term coined jointly to describe the techniques that will the website should use in order to boost its rankings on the search engine. Search engine optimisation (SEO) is one of the particular most important marketing considerations in your studio website. SEO might generate a sufficient return upon investment However, search engines are usually not taken care of organic search visitors, their algorithms change, and right now there are no guarantees of continuing referrals. A great starting point whenever using keywords for SEO is usually to identify existing pages that will may use some optimization. These are called keywords, plus as you will see, these people are an important part associated with SEO. In fact, this particular will actually hurt your cyberspace SEO because search engines such as google will recognize it since keyword stuffing - or the particular act of including keywords particularly to rank for that key phrase, rather than to answer the person's question. Prior to we get going, one thing a person want to keep in brain when using some of the following SEARCH ENGINE OPTIMIZATION elements is not to overdo it. You might be enticed to shove a lot associated with keywords onto your pages, yet that is not the objective. In situation you create links to various other websites and reverse, it will certainly improve your SEO ranking. In fact Cisco predicts that globally, on-line video traffic will be eighty percent of all consumer Web traffic by 2019 (a quantity that is up from sixty four percent in 2014). I've bookmarked therefore many SEO websites and sources that it's overwhelming to also look at. Link authority is the major component of SEO, yet purchasing links is forbidden simply by Google, Bing, and other research engines. Therefore, cheer up and apparel up to policy for SEO- the particular organic top-ranking practice. SEARCH ENGINE OPTIMIZATION (search engine optimization) places your own website within the natural outcomes section of search engines. SEO is specifically important for businesses because it guarantees they're answering their audience's greatest questions on search engines, whilst driving traffic to their items and services. Regarding marketers who were brought upward in the ‘traditional SEO marketplace, ' 2018 is really the time to adapt or expire. White hat SEO includes just about all the SEO practices we've discussed about so far which have got a long term approach in order to site optimization and focus upon the user experience and exactly what people need. Cost effectiveness - SEO is definitely one of the most most affordable marketing strategies because it focuses on users who are actively searching for your products and providers online. The reality is that you can obtain top Search engine ranking roles spending a little bit associated with money and working on the particular project yourself or paying the professional Seo services thousands associated with dollars to get your Site on the first page. Although black hat SEARCH ENGINE OPTIMIZATION methods may boost a home page's search engine page rank within the short term, these strategies could also get the web site banned from the search motors altogether. According in order to research and advisory firm Forrester, programmatic marketing is expected in order to account for 50% of just about all advertising by 2019. On this web page you'll find a list associated with 21 SEO insanely tactical strategies that you can use in order to boost your engine rankings. 26% of respondents state email is the digital marketing and advertising channel using the greatest positive effect on revenue; SEO is 2nd (17%), followed by paid lookup (15%), social media (5%), plus online display advertising (5%). Along with an increased focus on consumer experience, Google has challenged the particular SEO community to pay even more attention to the entire expertise of a website and exactly how the content interacts with customers, rather than just the simple elements that most optimize towards. While that will certainly not get solved in 2018, we require integrate the SEO group alongside other marketing, both compensated and owned initiatives. For example, several businesses miss the mark along with SEO and images, and nevertheless rank well. Luckily, you can find your personal broken links on site using the particular myriad of Tools available. Ask any SEO services company and they will tell a person that whenever a page is definitely searched, the major search motors spiders search it through hyperlinks. Effective SEO aims to boost research engine position, user visits, come back visits, and to improve transformation rates, which reflect the quantities of visitors who take preferred actions on the site. Wise SEARCH ENGINE OPTIMIZATION activities increase your rankings in the particular search engine results page (SERP). This is the supreme goal for ecommerce SEO, plus the traffic those links will certainly bring through will convert from a very high rate. SEO organizations are able to track almost every aspect of their technique, like increases in rankings, visitors and conversions. The strategies which were the simplest (reciprocal links or directory submissions) perform not work anymore, therefore the particular SEOs spend a lot associated with time trying different approaches. The particular Moz Pro is another collection of Tools that check the particular important factors related to your own website's search ranking. Selection of key phrases or phrases plays an essential component in an SEO campaign given that it saves you the photos in the dark. In 2019 the particular digital marketing companies can anticipate a lot of voice lookups, and by 2020, about 50 percent of the searches will end up being either voice searches or image-based searches. Read our Mobile SEO 2019 Checklist before you decide in order to implement. Typically the first facet of optimizing images is definitely including your keywords in typically the image file name (seo_guide. jpg). The inevitable modifications that will occur in SEARCH ENGINE OPTIMIZATION in the near future are usually abolition of keywords stuffing plus spam backlinks, real-time personalized customer care by online marketers, improvement within the quality of visual content material as a result of development of video SEO, optimization associated with websites with conversational keywords plus generating massive quantity of current data. SEARCH ENGINE OPTIMIZATION remains one of the lengthy term marketing strategies that function best for companies that are usually looking to improve their on the web visibility. SEO differs from local research engine optimization in that the particular latter is targeted on customization a business' online presence therefore that its web pages will be going to be displayed simply by search engines when a consumer enters a local search intended for its products or services. The challenge for webmasters plus SEO is that Google does not want company owners to rank with regard to lots of keywords using autogenerated content especially when that creates A LOT of pages upon a website using (for instance) a list of keyword variants page-to-page. In time, the collection between social media marketing management, channel growth, and SEO will be considerably blurrier than it really will be today. In 2016, SEO experts have got determined which factors are almost all likely to affect your SEARCH ENGINE OPTIMIZATION rankings. Customers and marketers will need in order to begin implementing multiple forms associated with digital marketing tactics including compensated search, social media marketing, nearby SEO, in addition to SEARCH ENGINE OPTIMIZATION if they hope to control a given Google SERP. Before beginning with this, the SEO experts should visit your business and realize each and every aspect associated with your company so that these people can help your achieve your own marketing goals. What really matters in SEARCH ENGINE OPTIMIZATION in 2018 is what a person prioritise today to ensure that will in 3-6 months you may see improvements in the high quality of your organic traffic. Mobile will account for 72% of US digital ad invest by 2019. This particular means that SEOs spend the lot of time working upon getting links in a procedure called link building Link-building strategies can range from simply asking for a link to writing the guest post - and right now there are many others. Basically, SEO plans the keywords that will are to be delivered plus content provides them. So, when you are considering about applying SEO in the particular broad sense, you need in order to channelize its technical specifications by means of content marketing. In 2019, you can wager that White Hat SEO can have separated itself even more from Black Hat SEO, plus that above all else, supplying quality content will be the particular most important factor for companies ranking in search. The outcomes are not instant, you can use the time on attempting other Internet marketing techniques whilst SEO would go to function. The third major SEARCH ENGINE OPTIMIZATION ranking signal is Google's synthetic intelligence search ranking algorithm. Sometimes SEO is definitely simply a matter of producing sure your site is organised in a way that research engines like google understand. SEARCH ENGINE OPTIMIZATION involves a number of changes towards the HTML of person Web pages to obtain a higher search engine ranking. As a result associated with technological advancement, SEO is in order to undergo more drastic changes, plus the two latest technologies that will are expected to influence SEARCH ENGINE OPTIMIZATION to some very great level are AI (Artificial Intelligence) plus Voice Search. It looks typically used in SEO as the general definition for the method that the mathematical detection associated with synonyms, and how certain terms are related to others inside a piece of text, is used to the indexing of web pages by search engines like search engines. So if you would end up being to write 5% for every keyword then your word SEARCH ENGINE OPTIMIZATION and Article will be within the content 75 times every. Like any good SEO company before concentrating on the info will do a proper hyperlink edit and fix all the particular error pages. Taking the work to comprehend even the essentials of SEO can help your own site gain higher click-through prices, engagement, and of course, search positions. Kent Lewis, President and Founder of the particular Portland based performance firm, Anvil, predicts that both Amazon research and voice search will end up being trends in 2019. MarketingVox warns towards getting tied to a "link farm" whose bad SEO routines could bring you down. Your web web pages must earn that high rank with high-quality content and best-practice SEO. Content is the 2nd major SEO ranking factor, plus is just as important because links. Previously known because WordPress SEO by Yoast, Yoast SEO is one of the particular most quintessential WordPress plugins whenever it comes to search motor optimization. While SEOs need in order to understand it is not just about rankings, UX specialists require to admit that user expertise kicks in even before making use of the website. You can find on-site and off site SEO techniques that you may use to higher your research engine ranking. Here's a true statement a person hear as often: Your SEARCH ENGINE OPTIMIZATION technique for 2018 shouldn't concentrate on keywords. (1888PressRelease) Stone Marketing, a Boston-based, full-service SEARCH ENGINE OPTIMIZATION and internet marketing firm today announces they have been positioned as the number five SEARCH ENGINE OPTIMIZATION firm in the 2010 Advertising World Top ten SEO Organization Award initiative. According to Forrester Study, the number of global smart phone subscribers is expected to achieve 3. 5 billion by 2019, crossing the 50% mark intended for smartphone penetration by 2018, plus reaching 59% by 2019. On-page SEARCH ENGINE OPTIMIZATION ensures that your site can be read by both possible customers and search engine programs. In 2019, voice-search will end up being the dominant way that individuals search. But SEO is all regarding the organic” rankings, which show up in the middle of the particular search results page. The most important SEARCH ENGINE OPTIMIZATION factor for creating high-quality articles is doing good keyword study. Criteria changes in 2018 seem in order to centre on reducing the effectiveness of old-school SEO techniques, along with the May 2015 Google ‘Quality' criteria update bruisingly familiar. Keep in mind in SEO article writing recommendations you keywords have to create sense too. Domain Authority within SEO is a rank that will measures how popular and reliable search engines call at your own website. If the terms you might be hoping to rank regarding don't display on the page, this will be much more difficult to achieve your goals -- making on-page optimization a important part of most SEO promotions.
0 notes
suzanneshannon · 4 years
Text
Don't ever break a URL if you can help it
Back in 2017 I said "URLs are UI" and I stand by it. At the time, however, I was running this 18 year old blog using ASP.NET WebForms and the URL was, ahem, https://www.hanselman.com/blog/URLsAreUI.aspx
The blog post got on Hacker News and folks were not impressed with my PascalCasing but were particularly offended by the .aspx extension shouting "this is the technology this blog is written in!" A rightfully valid complaint, to be clear.
ASP.NET MVC has supported extensionless URLs for nearly a decade but I have been just using and enjoying my blog. I've been slowly moving my three "Hanselman, Inc" (it's not really a company) sites over to Azure, to Linux, and to ASP.NET Core. You can actually scroll to the bottom of this site and see the git commit hash AND CI/CD Build (both private links) that this production instance was built and deployed from.
As tastes change, from anglebrackets to curly braces to significant whitespace, they also change in URL styles, from .cgi extesnions, to my PascalCased.aspx, to the more 'modern' lowercased kebab-casing of today.
But how does one change 6000 URLs without breaking their Google Juice? I have history here. Here's a 17 year old blog post...the URL isn't broken. It's important to never change a URL and if you do, always offer a redirect.
When Mark Downie and I discussed moving the venerable .NET blog engine "DasBlog" over to .NET Core, we decided that no matter what, we'd allow for choice in URL style without breaking URLs. His blog runs DasBlog Core also and applies these same techniques.
We decided on two layers of URL management.
An optional and configurable XML file in the older IIS Rewrite format that users can update to taste.
Why? Users with old blogs like me already have rules in this IISRewrite format. Even though I now run on Linux and there's no IIS to be found, the file exists and works. So we use the IIS Rewrite Module to consume these files. It's a wonderful compatibility feature of ASP.NET Core.
The core/base Endpoints that DasBlog would support on its own. This would include a matrix of every URL format that DasBlog has ever supported in the last 10 years.
Here's that code. There may be terser ways to express this, but this is super clear. With or without extension, without or without year/month/day.
app.UseEndpoints(endpoints => { endpoints.MapHealthChecks("/healthcheck"); if (dasBlogSettings.SiteConfiguration.EnableTitlePermaLinkUnique) { endpoints.MapControllerRoute( "Original Post Format", "~/{year:int}/{month:int}/{day:int}/{posttitle}.aspx", new { controller = "BlogPost", action = "Post", posttitle = "" }); endpoints.MapControllerRoute( "New Post Format", "~/{year:int}/{month:int}/{day:int}/{posttitle}", new { controller = "BlogPost", action = "Post", postitle = "" }); } else { endpoints.MapControllerRoute( "Original Post Format", "~/{posttitle}.aspx", new { controller = "BlogPost", action = "Post", posttitle = "" }); endpoints.MapControllerRoute( "New Post Format", "~/{posttitle}", new { controller = "BlogPost", action = "Post", postitle = "" }); } endpoints.MapControllerRoute( name: "default", "~/{controller=Home}/{action=Index}/{id?}"); });
If someone shows up at any of the half dozen URL formats I've had over the years they'll get a 301 permanent redirect to the canonical one.
The old IIS format is added to our site with just two lines:
var options = new RewriteOptions().AddIISUrlRewrite(env.ContentRootFileProvider, IISUrlRewriteConfigPath); app.UseRewriter(options);
And offers rewrites to everything that used to be. Even thousands of old RSS readers (yes, truly) that continually hit my blog will get the right new clean URLs with rules like this:
<rule name="Redirect RSS syndication" stopProcessing="true"> <match url="^SyndicationService.asmx/GetRss" /> <action type="Redirect" url="/blog/feed/rss" redirectType="Permanent" /> </rule>
Or even when posts used GUIDs (not sure what we were thinking, Clemens!):
<rule name="Very old perm;alink style (guid)" stopProcessing="true"> <match url="^PermaLink.aspx" /> <conditions> <add input="{QUERY_STRING}" pattern="&?guid=(.*)" /> </conditions> <action type="Redirect" url="/blog/post/{C:1}" redirectType="Permanent" /> </rule>
We also always try to express rel="canonical" to tell search engines which link is the official - canonical - one. We've also autogenerated Google Sitemaps for over 14 years.
What's the point here? I care about my URLs. I want them to stick around. Every 404 is someone having a bad experience and some thoughtful rules at multiple layers with the flexibility to easily add others will ensure that even 10-20 year old references to my blog will still resolve!
Oh, and that article that they didn't like over on Hacker News? It's automatically now https://www.hanselman.com/blog/urls-are-ui so that's nice, too!
Here's some articles I've already written on the subject of moving this blog to the cloud:
Real World Cloud Migrations: Moving a 17 year old series of sites from bare metal to Azure
Dealing with Application Base URLs and Razor link generation while hosting ASP.NET web apps behind Reverse Proxies
Updating an ASP.NET Core 2.2 Web Site to .NET Core 3.1 LTS
Making a cleaner and more intentional azure-pipelines.yml for an ASP.NET Core Web App
Moving an ASP.NET Core from Azure App Service on Windows to Linux by testing in WSL and Docker first
If you find any issues with this blog like
Broken links and 404s where you wouldn't expect them
Broken images, zero byte images, giant images
General oddness
Please file them here https://github.com/shanselman/hanselman.com-bugs and let me know!
Sponsor: Suffering from a lack of clarity around software bugs? Give your customers the experience they deserve and expect with error monitoring from Raygun.com. Installs in minutes, try it today!
© 2020 Scott Hanselman. All rights reserved.
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
      Don't ever break a URL if you can help it published first on https://deskbysnafu.tumblr.com/
0 notes
suzanneshannon · 4 years
Text
Don't ever break a URL if you can help it
Back in 2017 I said "URLs are UI" and I stand by it. At the time, however, I was running this 18 year old blog using ASP.NET WebForms and the URL was, ahem, https://www.hanselman.com/blog/URLsAreUI.aspx
The blog post got on Hacker News and folks were not impressed with my PascalCasing but were particularly offended by the .aspx extension shouting "this is the technology this blog is written in!" A rightfully valid complaint, to be clear.
ASP.NET MVC has supported extensionless URLs for nearly a decade but I have been just using and enjoying my blog. I've been slowly moving my three "Hanselman, Inc" (it's not really a company) sites over to Azure, to Linux, and to ASP.NET Core. You can actually scroll to the bottom of this site and see the git commit hash AND CI/CD Build (both private links) that this production instance was built and deployed from.
As tastes change, from anglebrackets to curly braces to significant whitespace, they also change in URL styles, from .cgi extesnions, to my PascalCased.aspx, to the more 'modern' lowercased kebab-casing of today.
But how does one change 6000 URLs without breaking their Google Juice? I have history here. Here's a 17 year old blog post...the URL isn't broken. It's important to never change a URL and if you do, always offer a redirect.
When Mark Downie and I discussed moving the venerable .NET blog engine "DasBlog" over to .NET Core, we decided that no matter what, we'd allow for choice in URL style without breaking URLs. His blog runs DasBlog Core also and applies these same techniques.
We decided on two layers of URL management.
An optional and configurable XML file in the older IIS Rewrite format that users can update to taste.
Why? Users with old blogs like me already have rules in this IISRewrite format. Even though I now run on Linux and there's no IIS to be found, the file exists and works. So we use the IIS Rewrite Module to consume these files. It's a wonderful compatibility feature of ASP.NET Core.
The core/base Endpoints that DasBlog would support on its own. This would include a matrix of every URL format that DasBlog has ever supported in the last 10 years.
Here's that code. There may be terser ways to express this, but this is super clear. With or without extension, without or without year/month/day.
app.UseEndpoints(endpoints => { endpoints.MapHealthChecks("/healthcheck"); if (dasBlogSettings.SiteConfiguration.EnableTitlePermaLinkUnique) { endpoints.MapControllerRoute( "Original Post Format", "~/{year:int}/{month:int}/{day:int}/{posttitle}.aspx", new { controller = "BlogPost", action = "Post", posttitle = "" }); endpoints.MapControllerRoute( "New Post Format", "~/{year:int}/{month:int}/{day:int}/{posttitle}", new { controller = "BlogPost", action = "Post", postitle = "" }); } else { endpoints.MapControllerRoute( "Original Post Format", "~/{posttitle}.aspx", new { controller = "BlogPost", action = "Post", posttitle = "" }); endpoints.MapControllerRoute( "New Post Format", "~/{posttitle}", new { controller = "BlogPost", action = "Post", postitle = "" }); } endpoints.MapControllerRoute( name: "default", "~/{controller=Home}/{action=Index}/{id?}"); });
If someone shows up at any of the half dozen URL formats I've had over the years they'll get a 301 permanent redirect to the canonical one.
The old IIS format is added to our site with just two lines:
var options = new RewriteOptions().AddIISUrlRewrite(env.ContentRootFileProvider, IISUrlRewriteConfigPath); app.UseRewriter(options);
And offers rewrites to everything that used to be. Even thousands of old RSS readers (yes, truly) that continually hit my blog will get the right new clean URLs with rules like this:
<rule name="Redirect RSS syndication" stopProcessing="true"> <match url="^SyndicationService.asmx/GetRss" /> <action type="Redirect" url="/blog/feed/rss" redirectType="Permanent" /> </rule>
Or even when posts used GUIDs (not sure what we were thinking, Clemens!):
<rule name="Very old perm;alink style (guid)" stopProcessing="true"> <match url="^PermaLink.aspx" /> <conditions> <add input="{QUERY_STRING}" pattern="&?guid=(.*)" /> </conditions> <action type="Redirect" url="/blog/post/{C:1}" redirectType="Permanent" /> </rule>
We also always try to express rel="canonical" to tell search engines which link is the official - canonical - one. We've also autogenerated Google Sitemaps for over 14 years.
What's the point here? I care about my URLs. I want them to stick around. Every 404 is someone having a bad experience and some thoughtful rules at multiple layers with the flexibility to easily add others will ensure that even 10-20 year old references to my blog will still resolve!
Oh, and that article that they didn't like over on Hacker News? It's automatically now https://www.hanselman.com/blog/urls-are-ui so that's nice, too!
Here's some articles I've already written on the subject of moving this blog to the cloud:
Real World Cloud Migrations: Moving a 17 year old series of sites from bare metal to Azure
Dealing with Application Base URLs and Razor link generation while hosting ASP.NET web apps behind Reverse Proxies
Updating an ASP.NET Core 2.2 Web Site to .NET Core 3.1 LTS
Making a cleaner and more intentional azure-pipelines.yml for an ASP.NET Core Web App
Moving an ASP.NET Core from Azure App Service on Windows to Linux by testing in WSL and Docker first
If you find any issues with this blog like
Broken links and 404s where you wouldn't expect them
Broken images, zero byte images, giant images
General oddness
Please file them here https://github.com/shanselman/hanselman.com-bugs and let me know!
Sponsor: Suffering from a lack of clarity around software bugs? Give your customers the experience they deserve and expect with error monitoring from Raygun.com. Installs in minutes, try it today!
© 2020 Scott Hanselman. All rights reserved.
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
      Don't ever break a URL if you can help it published first on https://deskbysnafu.tumblr.com/
0 notes