Thursday

Redirect http to https in IIS | Webconfig File | Godaddy Plesk Windows

Windows-based accounts use web.config files to handle redirection(http to https).

 

By using the following code in your web.config file automatically redirects visitors to the HTTPS version of your site.

 

Put this code in web.config file:

 

<configuration>
<system.webServer>
<rewrite>
    <rules>
 <rule name="HTTP to HTTPS redirect" stopProcessing="true"> 
 <match url="(.*)" /> 
 <conditions> 
  <add input="{HTTPS}" pattern="off" ignoreCase="true" />
 </conditions> 
 <action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
</rule>   
    </rules>
</rewrite>
</system.webServer>
</configuration>

 

If you have an existing web.config file with already written code then only Insert following code before closing tag </system.webServer>

<rewrite>
    <rules>
 <rule name="HTTP to HTTPS redirect" stopProcessing="true"> 
 <match url="(.*)" /> 
 <conditions> 
  <add input="{HTTPS}" pattern="off" ignoreCase="true" />
 </conditions> 
 <action type="Redirect" redirectType="Permanent" url="https://{HTTP_HOST}/{R:1}" />
</rule>   
    </rules>
</rewrite>

 

 

 
 
 

 

 

When Your Website URL Was Banned by Facebook

Try this tool built to help to identify any errors that Facebook is reading from your website, and help provide information on what needs to be fixed to unblock your link.


Facebook Debugger Toolhttps://developers.facebook.com/tools/debug/



Get help from your developers team or from the Facebook Developers team to make your website compliant and help our systems detect it as safe. Click the link below and select "Get Started" to open a support ticket with the Facebook Developers team (this option may not be available for all websites):

https://www.facebook.com/help/contact/571927962827151





Other Facebook Tools: https://developers.facebook.com/tools/

Sunday

What is Accelerated Mobile Pages (AMP) Technology & What is Use of AMP?

What is Google amp? 

  1. The Accelerated Mobile Pages (AMP) Project is a website publishing technology developed by Google as a competitor to Facebook's Instant Articles.
  2. The AMP Project was announced by Google on October 7, 2015.
  3. More than 30 news publishers and several technology companies (including Twitter, Pinterest, LinkedIn and WordPress) were initially announced as collaborators in the AMP Project.
  4. AMP pages first appeared to web users in February 2016, when Google began to show the AMP versions of webpages in mobile search results. Initially links to AMP pages were restricted to a “Top Stories” section of Google's mobile search results; by September 2016 Google started linking to AMP content in the main mobile search results area. AMP links in Google search are identified with an icon. 
  5. According to one of the co-founders of the AMP Project, Malte Ubl, AMP was originally called PCU, which stood for Portable Content Unit. 

What is AMP technology?

The AMP framework consists of three components: AMP HTML, which is standard HTML markup with web components; AMP JavaScript, which manages resource loading; and AMP caches, which serve and validate AMP pages.

What is the purpose & use of AMP?

AMP is an open-source HTML framework that provides a straightforward way to create web pages that are fast, smooth-loading and prioritize the user-experience above all else.

Business Benefits of AMP: AMP pages load near instantly, enabling you to offer a consistently fast experience across all devices and platforms.

Developer Benefits of AMP: Maintain flexibility and control and reduce complexity in your code.

Google AMP Testing Tool[Support Code Editing]https://search.google.com/test/amp

Wednesday

AdSense on Free WordPress Blog

Advertisements from third-party ad networks like Google AdSense are not allowed on WordPress.com(eg. XYZ.Wordpress.Com). If you’d like to run these types of ads on your blog, you may wish to try a self-hosted WordPress installation(Book Your Own Domain eg. XYZ.Com).

If you’d like to monetize your WordPress.com site with advertisements, WordAds is the official WordPress.com advertising program available for site owners.

Users upgrading to the WordPress.com Premium or Business plans have automatic access to the WordAds program and can set up advertising on their sites immediately. WordPress.com bloggers with moderate to high traffic and appropriate content also have the option to apply to the WordAds program. The program features ads from external ad networks such as Google, Facebook, AOL, and more. You can learn more about WordAds here.

For Detail Information Please Read here: https://en.support.wordpress.com/monetize-your-site/

Thursday

301 Redirect Non-www to www and index.html(htm,php)

Google, Bing Search Engine Consider these are Separate Domains:
  1. xyz.com
  2. xyz.com/
  3. xyz.com/index.html
  4. xyz.com/index.htm
  5. www.xyz.com
  6. www.xyz.com/
  7. www.xyz.com/index.htm
  8. www.xyz.com/index.html
So you can face Duplicate Website Content issue. Below are code to take care of this issue and 301 permanent redirect all those above listed domains to one single domain. 

.htaccess 301 Redirect Code With HTML Extensions:

        1. 301 permanent redirect index.html(htm) to folder
          RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html?\ HTTP/
         RewriteRule ^(([^/]+/)*)index\.html?$ http://www.xyz.com/$1 [R=301,L]
         
        2. 301 permanent redirect non-www (non-canonical) to www
        RewriteCond %{HTTP_HOST} !^(www\.xyz\.com)?$
       RewriteRule (.*) http://www.xyz.com/$1 [R=301,L]

 X--------------------------X----------------------------------------X
You Can also Put above Two Codes together:

RewriteEngine On
# 301 permanent redirect index.html(htm) to folder
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.html?\ HTTP/
RewriteRule ^(([^/]+/)*)index\.html?$ http://www.xyz.com/$1 [R=301,L]

# 301 permanent redirect non-www (non-canonical) to www
RewriteCond %{HTTP_HOST} !^(www\.xyz\.com)?$
RewriteRule (.*) http://www.xyz.com/$1 [R=301,L]

X--------------------------X----------------------------------------X

.htaccess 301 Redirect Code With PHP Extensions:

 RewriteEngine On
# 301 permanent Redirect index.php to folder
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.php\ HTTP/
RewriteRule ^(([^/]+/)*)index\.php$ http://www.xyz.com/$1 [R=301,L]

# 301 permanent Redirect non-www (non-canonical) to www
RewriteCond %{HTTP_HOST} !^(www\.xyz\.com)?$
RewriteRule (.*) http://www.xyz.com/$1 [R=301,L] 



Universal Code: With HTML and PHP Extensions:
 
RewriteEngine On

# 301 permanent Redirect index.html(.htm and .php) to folder
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /([^/]+/)*index\.(html?|php)\ HTTP/
RewriteRule ^(([^/]+/)*)index\.(html?|php)$ http://www.xyz.com/$1 [R=301,L]

# 301 permanent Redirect non-www (non-canonical) to www
RewriteCond %{HTTP_HOST} !^(www\.xyz\.com)?$
RewriteRule (.*) http://www.xyz.com/$1 [R=301,L]

  











Friday

Profile, Cover Photo Size & Dimensions of Facebook, Twitter, LinkedIn, Google Plus, Youtube, Pinterest

Dimensions of Various Social Media Profile Picture and Cover Photo:

  • Facebook Cover Photo Dimensions: 851(wide)x315(high)pixels
  • Facebook profile picture dimensions are 160x160px or 180x180px
  • Twitter Header photo dimensions:  1500(wide)x500(high) pixels
  • Twitter Profile photo dimensions: 400x400 pixels
  • LinkedIn Company Page Cover Photo:  Minimum 974(wide)x330(high) pixels
  • LinkedIn Company Page Standard Logo: 300(wide)x300 (high) pixels, (Maximum 4 MB)
  • Google Plus Page Cover Photo Size:  2120(wide) x 1192(high) pixels
  • Google Plus Profile Photo: 250 x 250 pixels.
  • Youtube Channel Art Size: 2560(wide) x 1440(high) pixels (Max Size 2 MB)
  • Pinterest Profile Photo:  120(wide)x80(high) pixels

Monday

Adding, Editing and Problem of Creating LinkedIn Company Page

Requirements for Adding Company Pages

Who can add a Company Page?

You can add a new Company Page only if you meet all of the following requirements:
  1. You must have a personal LinkedIn profile set up with your true first and last name.
  2. Your profile is at least 7 days old.
  3. Your profile strength must be listed as Intermediate or All Star.
  4. You must have several connections on your profile.
  5. You're a current company employee and your position is listed in the Experience section on your profile.
  6. You have a company email address (e.g. john@companyname.com) added and confirmed on your LinkedIn account.
  7. Your company's email domain is unique to the company.
Note: A domain can't be used more than once to create a Company Page. Because domains like gmail.com, yahoo.com or similar generic email services are not unique to one company, those domains can't be used to create a Company Page. You might consider creating a group if your company doesn't have a unique email domain.

Adding a Company Page

How do I add a Company Page?

A Company Page helps others learn more about your business, brand, products and services, and job opportunities. You can create one from the Add a Company page. 

Note: Before starting, you must own a personal LinkedIn profile set up with your true first and last name. Also, make sure you meet our requirements to add a Company Page and that your current company doesn't already have one. 

To add a Company Page:
  1. Move your cursor over Interests at the top of your homepage and select Companies.
  2. Click Create in the Create a Company Page box on the right.
  3. Enter your company's official name and your work email address.
  4. Click Continue and enter your company information.
    • If the work email address you provide is an unconfirmed email address on your LinkedIn account, a message will be sent to that address. Follow the instructions in the message to confirm your email address, and then use the instructions above to add the Company Page.
    • A red error message may appear if you have problems adding a Company Page.
    • A preview of your Company Page is not available. When you publish the page, it is live on our website.
Note: To publish your Company Page you must include a company description (250-2000 characters including spaces), and company website URL. 

Problem Adding Company Page

Why am I having problems adding a Company Page?

When you're trying to add a Company Page, a red error message may appear if one or more of the following is true: 

  • A Company Page already exists. To find it, search for your company using the Search box on LinkedIn. If it needs updated, learn how to edit your Company Page.
  • You don't meet the requirements to add a Company Page.
  • The email address you entered on the Add a Company page is associated with a different company. An email domain must be unique to your company, and can only be used once to create a company page.
If the email domain is associated with an existing Company Page, we recommend reaching out to the admin(s) of the page to coordinate your request for a new/additional Company Page.

Editing Your Company Page
 
How do I edit my Company Page?

You must be a Company Page administrator in order to edit your Company Page. To edit information on your Company Page:

  1. Move your cursor over Interests at the top of your homepage and select Companies from the drop down.
  2. Select the Company Page that you’d like to edit from the Manage your pages box on the right.
  3. Click the blue Edit button in the upper right.
  4. Make your changes and click Publish to save.
Important notes:

If you're an administrator and still can't make edits to your Company Page, please contact us with the following information:

  1. Your company name
  2. Your company email address
  3. The URL (webpage link) for the Company Page on LinkedIn
  4. The changes you want to make
Note: LinkedIn Customer Support cannot modify the company approved admin list unless there's a technical issue. The security of the admin list must be controlled by the assigned admins for the Company Page.