.htaccess useful tricks

.htaccess useful tricks RewriteEngine on #RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] #RewriteRule ^(.*)$ http://%1/$1 [R=301,L] RewriteCond %{HTTPS} !on RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L] #RewriteEngine On #RewriteCond %{HTTPS} !=on #RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L] ErrorDocument 404 /index.php #RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^([^\.]+)$ $1.php [NC,L] RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d […]

Read More

How to convert a PFX to a seperate .key/.crt file

 How to convert a PFX to a seperate .key/.crt file In this article will show you the commands you need to convert your .PFX Certificate file to a seperate certificate and keyfile. This article can come in handy when you need to import your certificates on devices like Cisco routers/loadbalancers etc. where you probably […]

Read More

.htaccess to hide extension for both html and php files

.htaccess to hide extension for both html and php <IfModule mod_rewrite.c> RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] RewriteEngine On RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.website.com/$1 [R,L] RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.html -f RewriteRule ^(.*)$ $1.html RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php </IfModule>

Read More

10 Secrets that will make you a master of Opencart Events

10 Secrets that will make you a master of Opencart Events If you are an Opencart Developer, you have probably heard about events. If you come from wordpress like me, you would definitely relate this to their hooks API and when Opencart Events first arrived in opencart 2.0.0.0 they were very similar in terms of […]

Read More

NEW DELHI: Satta Matka is a form of gambling or lottery that ..

NEW DELHI: Satta Matka is a form of gambling or lottery that .. NEW DELHI: Satta Matka is a form of gambling or lottery that had originated before the Independence of India. Originally, the game of Matka gambling involved betting on the opening and closing rates of cotton as transmitted to the Bombay Cotton Exchange […]

Read More

view display as html in drupal 7

view display as html in drupal 7 <?php print views_embed_view(‘search’, ‘page_1’, array(23,44,100)); ?> <?php $output = views_embed_view(“content_link”,”block_3″); if ($output){ print $output; } ?>   <?php if (views_embed_view(“content_link”,”block_3″)->result): print views_embed_view(“content_link”,”block_3″); endif; ?>   <div class=”container”> <div class=”row”> <?php $my_view_name = ‘real_estate’; $my_display_name = ‘Grid Properties with Pager’; $output = views_embed_view($my_view_name,”block_6″); if ($output){ print $output; } ?> […]

Read More

Advantages and Drawbacks of Inline Styles in CSS

Advantages and Drawbacks of Inline Styles in CSS CSS, or Cascading Style Sheets, are what is used in modern website design to apply the visual look to a page. While HTML creates the structure of the page and Javascript can handle behaviors, the look and feel of a website is the domain of CSS. When […]

Read More

Heading Tags SEO: Tips for Using H1 to H6 Right Way

Heading Tags SEO: Tips for Using H1 to H6 Right Way As we know, heading tags are imperative for every web document to structure the content. By using Heading Tags, we differentiate our web page content. Use heading tags for headings only not for making Text Large or Bold.   Note: At the end of the article […]

Read More

how can access yahoo notepad in yahoo app

how can access yahoo notepad in yahoo app Either I solved my own problem by using this URL to get to yahoo notepad… https://calendar.yahoo.com/?view=notepad# OR… Yahoo Notepad is now back up and running after having been down for two or three days. Who knows?   I’m happy about this but I’m not pleased that Yahoo […]

Read More