Lanka Developers Community

    Lanka Developers

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Shop

    Basic SEO for Web Developers Part 1

    Web Development
    seo website
    5
    8
    1697
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dev_lak
      dev_lak last edited by

      Important HTML Elements

      1. Title Tag

      <head> 
          <title>Page Title</title>
      </head>
      

      Best Practices

      • Less than 512px (50-70 characters)
      • Important keywords near the beginning
      • Each title should be unique

      2. Meta Description Tag

      <head>
          <meta name="description"content="This is an example.">
      </head>
      

      Best Practices

      • Best under 155 characters
      • Each description should be unique
      • Well written descriptions influenceclick-through rate

      3. Images

      <img src="img/keyword.jpg" alt="keyword" width="100" height="100">
      

      4. Hyperlinks

      1. Text Link

        <a href="https://www.example.com/webpage.html">Keyword in Anchor Text</a>
        
      2. NoFollowed Link

        <a href="https://www.example.com/webpage.html" rel="nofollow">Keyword in Anchor Text</a>
        
      3. Image Link

        <a href="https://www.example.com/webpage.html"><img src="/img/keyword.jpg" alt="keyword" width="100" height="100"></a>
        

      Best Practices

      • Preference: HTML links over JavaScript
      • Use "nofollow" for paid links and un-trusted content
      • For image links, the alt attribute serves as anchor text

      5. HTTP Status Codes

      • 200OK/Success
      • 301Permanent Redirect
      • 302Temporary Redirect
      • 404Not Found
      • 410Gone (permanently removed)
      • 500Server Error
      • 503Unavailable (retry later)

      6. Webmaster Tools

      1. Google Webmaster Tools - https://www.google.com/webmasters/tools/home
      2. Bing Webmaster Tools - http://www.bing.com/toolbox/webmaster/
      3. Yandex Webmaster - https://webmaster.yandex.com/

      7. Canonicalization

      Common Duplicate Homepage URLs

      • https://www.example.com
      • https://example.com
      • https://www.example.com/index.html
      • https://example.com/index.html
      • https://example.com/index.html&sessid=123

      Canonicalized URL Best Practices

      • Preferred URL = https://example.com/
      • Place the following in <head> section to indicate preferred URL:
      • <link href="https://example.com/" rel="canonical" />

      8. URL Best Practices
      0_1543928143776_5248a308-2daf-4ec2-80f4-5e474cb50c33-image.png

      SEO Tips for URLs

      • Choose shorter, human-readable URLs with descriptive keywords
      • Exclude dynamic parameters when possible (see Canonicalization and Pagination)
      • When possible, place content on the same subdomain to preserve authority
      • Recommended: https://example.com/blog
      • Less Ideal: https://blog.example.com

      I'll post next part asap.
      Thank you all for your time in reading this!

      1 Reply Last reply Reply Quote 4
      • root
        root Linux Help last edited by

        Nice Post .. This is very important for every web developers

        1 Reply Last reply Reply Quote 1
        • Danuva
          Danuva last edited by

          Thanx bro

          1 Reply Last reply Reply Quote 1
          • dev_lak
            dev_lak last edited by

            thanks @root and @Danuva

            1 Reply Last reply Reply Quote 0
            • Anjana_Gihan
              Anjana_Gihan Web Development last edited by

              Well Done

              1 Reply Last reply Reply Quote 1
              • dev_lak
                dev_lak last edited by

                @Anjana_Gihan thanks

                1 Reply Last reply Reply Quote 0
                • asnkark
                  asnkark Web Development last edited by

                  Nice Post Bro...!!

                  1 Reply Last reply Reply Quote 0
                  • dev_lak
                    dev_lak last edited by

                    @Gen2vi thanks mate...

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post

                    3
                    Online

                    3.6k
                    Users

                    1.3k
                    Topics

                    5.3k
                    Posts

                    • Privacy
                    • Terms & Conditions
                    • Donate

                    © Copyrights and All right reserved Lanka Developers Community

                    Powered by Axis Technologies (PVT) Ltd

                    Made with in Sri Lanka

                    | |