Entries by admin

Redirect all url to https

If you have a secure certificate (SSL) on your website, you can automatically redirect visitors to the secured (HTTPS) version of your website to make sure their information is protected. Using the following code in your .htaccess file automatically redirects visitors to the HTTPS version of your site: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] […]

How To Create WordPress Shortcodes

WordPress introduced the shortcode API in version 2.5. Shortcodes are now used by a large number of WordPress plugins to allow users to add content to their posts and pages. All of us have probably used them at one time or another. They usually come bundled with plugins, or even themes, and what they do […]

Magento 500 internal server error

Today we will find out a solution troubleshooting Internal Server Error with Magento Store in any case for any reason. Many users encounter this weird Magento 500 Internal Server Errors. I will try to list the most common solutions. These errors are not always caused by the same reason. You should try to take a […]

Settings defined in website scopes are ignored in magento2

Today I will show you how you can fix the Settings defined in website scopes are ignored. This is a core bug in 2.1.3 – https://github.com/magento/magento2/issues/7943 The change you need to make is to vendor/magento/module-store/Model/Config/Processor/Fallback.php Change this /** * Retrieve Website Config * * @param array $websites * @param int $id * @return array */ […]

Redmi mobile suddenly not starting

Some people like me may get the issue of Redmi mobiles suddenly switched off and not booting. That’s really very irritating. In the mobile age I think no one can live without…. 🙂 So I tried to find the issue. First I tried to use another charger and no luck!! Whole day my mobile was […]

Enable error reporting in joomla

Sometime is not easy to find the site issues. So we must have to enable the error reporting while in development. Joomla uses PHP and when PHP has problems, it reports them to you. Here is short tutorial for enable error reporting in joomla. 1- Go to Site > Global Configuration > Server > Error […]

Disble error reporting in joomla

Sometime is not easy to find the site issues. So we must have to enable the error reporting while in development. Joomla uses PHP and when PHP has problems, it reports them to you. However, often these errors will appear on your site and will be visible to visitors. So we must have to disable […]

How to change continue reading link text in wordpress

How to change continue reading link text in wordpress. In this tutorial I will show you how you can change the “continue reading” text in wordpress. If you want to modify continue reading link with Read more , you can use this function in your functions.php file. function my_code_excerpt_more( $more ) { return ‘ ‘ […]

How to change length of post excerpt in wordpress theme

In this case here is little code and that will help!! You will have to use the code in functions.php file /* Changed excerpt length to 200 words*/ function your_code_excerpt_length( $length ) { return 20; } add_filter( ‘excerpt_length’, ‘your_code_excerpt_length’, 200 ); If you are not ok with the limit of 200, you can change to […]