[Solved] Windows Defender Error : (Unexpected error. Sorry, we ran into a problem.please try again)

How many of you have ran into this issue when trying to enable the Windows defender. Well we have a solution for the same.

 

  • Open RUN window by clicking (windows+R), and type REGEDIT and hit enter.
  • if it asks for confirmation choose YES.
  • Go to HKEY_LOCAL_MACHINE/SOFTWARE/POLICIES/MICROSOFT/WINDOWS DEFENDER
  • Double click or Right click on DisableAntiSpyware  Presented on the Right side and choose Modify.
  • change value data 1 to 0 finally click OK.
  • Open Windows Defender and click “Restart Now” Button

Voila 🙂

How to Recover Lost WordPress (Localhost) Password

Reblogged from hongkiat.com

If you design and develop WordPress theme, chances are you’ll have a local (localhost) copy in your machine for testing & debugging and preview purposes. Here’s a common mistake some of us may make – we tend to forget our admin password.

If you’ve forgotten your password for an online self-host WordPress blog, it’s easy as clicking on the “Lost your password” to recover. But in a localhost environment, configurations may vary from machine to machine. Most of the time “Lost your password” will not work as email system is either not supported or not properly setup.

In this article, I’m going to show a simple workaround to login to your localhost WordPress Dashboard even if you’ve forgot your password, or even the login.

The problem

So you’ve forgotten your password, or username, or both. WordPress suggest you use the “Lost your password” function to help recover but email system wasn’t properly setup in your localhost? Here’s how to get you back into the Dashboard quickly.

The Solution

Go into PhpMyAdmin. The URL should be http://localhost/phpmyadmin, but it might vary depending on configurations. Look for the database name on the left sidebar. In our case it’s called “wordpress“.

Click “wordpress to see its tables. Look for *_users, in our case it’s called wp1_users. Click it and you’ll notice a page change on the right frame. user_logincolumn shows you all usernames you currently have. If you are looking for usernames, your problem is solved. But if you are looking to recover lost password, there is one more thing you’ll need to do.

Click on the pen icon to edit the data for the specific user. Look for “user_pass” field. Select “MD5” for the Function dropdown, and change it’s value to a new password, in our case the new password is call “admin“. Click GO once you are done.

That’s it! You’ve just changed the password for username admin to “admin“.

Editor’s note: This post is written by Sandesh Sethi for Hongkiat.com. Sandesh is the founder of Vobliq.com – a blog about designing, blogging and money making.

How to Install Facebook’s Instant Article in your WordPress.org and Blogger Blogs Easily ?

Source : wordpress.com

Since Facebook first rolled out instant articles back in May, there had been speculations about if the social media giant would make it available for small scale publishers and if at all it did, why would they embrace it? Now that it has opened up the gates of instant articles to everyone, Facebook has made sure no one can refuse its offer with huge incentives.

What are facebook Instant articles?

Facebook instant articles are a new way for publishers (both small and large) to distribute stories on Facebook. An Instant article is a HTML5 document that is optimized for fast loading, custom branding, and a customized visual display. Facebook instant articles will load 10 times faster than traditional articles on mobile browsers.

What sets Instant articles different for Facebook is, they are interactive and users won’t have to leave the platform in order to read an article. After they click a link shared on Facebook, the post will open directly on Facebook instead of taking you to a browser tab.

If you follow some of the largest publishers, Mashable, New York Times, National geographic etc, they have Instant articles enabled. If you click a URL of them on facebook mobile, you will not be redirected to a browser to read it, instead, you read it inside the Facebook mobile app.

Lets Set it up !

So you will see steps for WordPress and Blogger are somewhat same till the RSS feed generation.

Step – 1: Signing up

First you need to register your Facebook page, which is associated with your website, with Instant Articles. If you do not have a Facebook page for your website, create one right from your phone. Now, you need to go https://instantarticles.fb.com/ and click on “Sign Up”.

Enable Facebook Instant Article for Blogger Blog Picture credits to mymobiletips.com

A new page will open in a new tab. You have to select the page, associated with your website. And then click on “Access Instant Article Tools”. Facebook now approves all such requests.

Step – 2: Claim your URL

Once your page is allowed to have Instant Article Tools, you’ll find the options related to Instant Articles in “Publishing Tools” tab in your page. The “Publishing Tools” tab is situated right above your page’s Cover Photo.

Navigate through: Publishing Tools >> Instant Articles >> Configuration >> Tools >> Connect Your Site.

You’ll see a meta tag and be asked to put the meta tag below <head> tag in your template.

Enable Facebook Instant Article for Blogger Blog

 

[Note: In your Blogger / Blogspot account, go to: Template >> Edit HTML. Now type “Ctrl+F” to find out <head> tag. Below the <head> tag, put the meta tag given by Facebook. And save your template.]

Now write down your website’s URL. And click on “Claim URL”. Your website will be registered for Facebook Instant Articles.URL claim success

Step – 3: Generate RSS Feed for Instant Articles

Will discuss WordPress.org blogs first,

  1. Simply install and activate the Instant Articles for WP official plugin. Upon activation, the plugin will generate an instant articles feed for your WordPress site.
  2. You can find the feed by adding /feed/instant-articles after your site’s URL, like this: http://www.example.com/feed/instant-articles
  3. Copy your instant articles feed URL and switch back to your Facebook page’s publishing tool section. Scroll down to the Tools section and click on ‘Production RSS Feed’ to expand it.

Add instant articles feed

Paste your Instant Articles feed URL and click on the save button. Facebook will show you a success message that your feed is added.

Setting up Facebook Instant Articles plugin for WordPress

  1. In the previous step we installed Instant Articles for WP plugin to generate RSS feed for instant articles. Now you need to set up rest of the plugin settings.
  2. You will notice that upon activation the plugin added a new menu item in your WordPress admin bar labeled ‘Instant Articles’. Clicking on it will take you to the plugin’s settings page.Instant Articles WP plugin settings
  3. This plugin requires an App ID and Secret keys for activation. You will need to create a Facebook app for your page to get those keys. Let’s take a look at how you can do that.
  4. Creating a Facebook App for Your Page
    First, you need to visit the Facebook for Developers website. Click on the drop down menu next to My Apps menu on the upper right corner of the screen next to your profile photo.
    Create a new Facebook app
  5. This will bring up a popup on screen. You need to click on website.Choose website for your app platform
  6. This will take you to a quick setup wizard. You need to enter a name for your Facebook app. This could be anything that helps you identify the app.
  7. Click on the ‘Create New Facebook App ID’ button to continue.Enter a name for your FB app
  8. A new popup will appear asking you to provide a contact email address and select a category for your app.
  9. Enter an email address and select Apps for Pages as app category.Provide an email and choose category for app
  10. Click on create App ID button to continue.
  11. The popup will disappear and Facebook will now create an app for you. On the quick start page, you will see new information about how to use the app.
    You just need to scroll down a little to ‘Tell us about your website’ section.Add your website URL
  12. Enter your WordPress website address here and click on the next button to continue.
  13. Even though Facebook will be showing you that there are more steps in the set up wizard, but that’s all the information you needed to enter.
  14. You can now click on the ‘Skip Quick Start’ button at the top right corner of the page.Finish quick start
  15. You will be redirected to your newly created app’s dashboard. You will be able to see your App ID and to see your App secret key you will need to click on ‘Show’ button.App ID and secret keys
  16. Before you copy these keys, first you need to make your app live and publicly available.
  17. Click on the ‘App Review’ link from the menu on your left.Make your App live
  18. On the next screen, you will see that your app is under development mode. Click on the toggle to switch it to ‘Yes’ and make your app live.
  19. Now click on the dashboard link from the left hand column to go back to your app’s dashboard. Copy your App ID and Secret keys.
  20. Return to your Instant Articles for WP plugin’ settings page on your WordPress site and paste your App ID and Secret keys there.plugin settings
  21. Click on the next button to continue.
  22. The plugin’s settings page will now show you a login with Facebook button.Login with Facebook to continue
  23. This will take you to Facebook, and you will be asked to give the app permission to access your profile information.
  24. After giving permissions, you will be redirected back to your WordPress site. Click on the ‘Select Page’ drop down menu to select your Facebook page.Select your Facebook page

 

Your WordPress site is now ready for Instant Articles.

Setup Instant Articles on Blogger BLOGSPOT blogs.

Generation of RSS feeds are the tricky ones.

  1. Since Facebook Instant Articles officially is not integrated with Blogger, we have to use the RSS Feed to sync articles of your website. Blow the “RSS Feed URL”, put down this:
    http://www.YOURWEBSITE.com/feeds/posts/default?alt=rss

Step – 5 Setup Style and Branding for Your Instant Articles

lets style your instant article and customize how it looks on Facebook.

  1. Visit your Facebook page and from the admin bar and click on Publishing Tools. From your left hand menu, click on ‘Configuration’ under Instant Articles.Customizing style of Instant Articles for your website
  2. Scroll down to the Tools section and then click on the Style tab to expand it. Facebook has already added a default style for your website.
  3. Click on the default style to customize it.
  4. This will open up a popup where you can upload your website logo. Facebook requires images that are 690 by 132 pixel minimum.Upload logo and customize colors
  5. After uploading the logo, click on Save and then click on Done.

Step – 6 Submit Your Instant Articles Feed for Review

  • Before you can submit your Instant Articles feed for review, you need to make sure that you have at least 10 articles in your Instant Articles feed.
  • If you have already published more than 10 articles on your website, but the feed is not showing all of them, then you need to edit your last 10 articles and simply click on the update button.
  • Once you are sure that you have 10 articles in your Instant Articles feed, you are now ready to submit it to Facebook for review.

 

  1. Go to your Facebook page and click on Publishing Tools from the admin bar. After that click on the ‘Configuration’ link under Instant Articles on your left hand menu.
  2. Look for ‘Step 2: Submit For Review’ on the configuration settings page.Submit for review
  3. If there are no errors with your Instant Articles feed, then you will see a ‘Submit for Review’ button. Go ahead and click on this button to send your feed for review.

That’s all, Instant Articles will become available for your website once Facebook team has reviewed and approved your feed.

Troubleshooting Tips:

  • WordPress : Facebook requires that your Instant Articles feed match specifications described on their developer website. Instant Articles for WP plugin handles that part for you.

However depending on the theme or plugins you are using on your site, you might see some errors or warnings. An easier way to troubleshoot those errors is by editing a post and scrolling down to the Facebook Instant Articles meta box below the post editor.Instant Articles for warnings

 

Most of the errors are caused by plugins or theme adding content into your posts that is not supported by transformer rules used by Instant Articles for WP plugin.

You can create your own custom transformer rules. Refer to the plugin’s documentation to learn how to add your custom transformer rules.

 

Source URLs

Wpbegginer

MyMobileTips