The Website Launch Checklist before going live

Whether you’re putting up a brand new website, redesigning an existing one, or moving a site onto a new content management system (CMS) for a client, launching a website is both an exciting and daunting task.

  1. Favicon is in place and rendering properly.
  2. Custom 404 page
  3. User Friendly url
  4. Optimize http request
  5. optimise images
  6. Optimize CSS & Script
  7. Google speed test above 90https://developers.google.com/speed/pagespeed/insights/
  8. Check website in all browser
  9. Check website in all devices for responsiveness
  10. Fix Broken link
  11. SEO Checker http://seositecheckup.com/seo-audit
  12. CSS/HTML is properly validated. https://validator.w3.org/
  13. Internal links across web pages are working properly.
  14. Company logo is linked to the homepage.
Advertisements

New: WordPress Plugin for Facebook Instant Articles

WordPress.com VIP: Enterprise content management platform

InstantArticlesWordPressHero

Facebook has announced that its Instant Articles program will be open to publishers “of any size, anywhere in the world” starting on April 12, 2016. And with the free plugin we’re unveiling today, you’ll be able to prepare your self-hosted or VIP WordPress for the demands of this new channel.

Install it now from GitHub (it’s also coming soon to the WordPress plugin directory).

Instant Articles, now available to people using Facebook for iPhone and Android, load articles in Facebook’s News Feed up to ten times faster than standard web articles, and are optimized for the mobile reading experience.

The native format includes a built-in set of interactive tools like auto-play video and tap-to-zoom image galleries, bringing stories to life on mobile devices. Early analysis suggests that people engage more deeply with the immersive experience and share Instant Articles with their friends more often than standard web articles.

We’ve been 

View original post 239 more words

Redirect website http to https using htaccess

To redirect all http and www request to https this problem can easily be solved by using htaccess. You have to create new file with .htaccess extension and placed in your root folder of your project and paste below code :-


RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R,L]

RewriteCond %{HTTP_HOST} ^www\.(.*)
RewriteRule ^.*$ https://%1/$1 [R=301,L]

Using this code you can redirect your http request to https and www to https.

How to get custom post category in wordpress

I have custom post “product” in WordPress admin panel to add products and also added category in that custom post.While showing that custom post on front-end how to show category of that custom post.

Here the_category() function of WordPress doesn’t work because that work only for default category not for custom post category.

Here’s my code to fetch category of custom post :-


< ?php

$terms = get_the_terms( $post->ID , 'taxonomyname' );

foreach ( $terms as $term ) {

echo $term->name;

}

?>

How to fetch Custom Post from wordpress

We can fetch custom post same like pages and post, the only difference is we have mention post type to fetch.

Here’s my code :-

Here my custom post is product which i was created in WordPress admin panel to use for products and i am only fetching publish post from WordPress admin panel.post_per_page -1 means it will fetch all product post data.you can give limit to some number of record if required.


<?php

$type = 'products';

$args=array(

'post_type' => $type,

'post_status' => 'publish',

'posts_per_page' => -1

);

$my_query = new WP_Query($args);

if( $my_query->have_posts() ) {

while ($my_query->have_posts()) : $my_query->the_post(); ?>

<p><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></p>

<?php

endwhile;

}

?>