How to Open URL in New Tab using CodeIgniter

How to Open URL in New Tab using CodeIgniter

Today, We want to share with you How to Open URL in New Tab using CodeIgniter.
In this post we will show you CodeIgniter Page Redirection, hear for CodeIgniter open the url in new tab we will give you demo and example for implement.In this post, we will learn about CodeIgniter URL LINK OPEN IN NEW TAB with an example.

My Paka Knowledgeable Ideas, Tips and Tricks, Useful Content, Jobs, Technology, Earn Money, gmail creation, skype, yahoo and more useful things.

In CodeIgniter, Open new window when target=”_blank”

<Link to="/about" target="_blank">About Pakainfo.com</Link>

CodeIgniter Overview with Features

There are the Following the List of Features For CodeIgniter Pure JavaScript Latest Frameworks.

  • Zip Encoding Class
  • XML-RPC Library
  • User Agent Class
  • Unit Testing Class
  • Trackback Class
  • Template Engine Class
  • Session Management
  • Security and XSS Filtering
  • Search-engine Friendly URLs
  • Query Builder Database
  • Pagination
  • Model-View-Controller Based System
  • Localization
  • Full Page Caching
  • Form and Data Validation
  • Flexible URI Routing
  • File Uploading Class
  • FTP Class
  • Extremely Light Weight
  • Error Logging
  • Data Encryption
  • Calendaring Class
  • Benchmarking
  • Application Profiling
Also Read :  Export HTML Table Data to CSV using jQuery

CodeIgniter redirect to a new tab

$this->load->helper('url');

echo anchor('https://pakainfo.com/whatever', 'title="Pakainfo Jaydeep"', array('target' => '_blank', 'class' => 'new_window'));

CodeIgniter Redirects

$this->load->helper('url');

//second way

$this->load->helper('url');

if (!$user_logged_in)
{
  redirect('/account/login', 'refresh');
}

CodeIgniter Redirect To External Domains

CodeIgniter URL Routing Simple External Domains Redirects Example

<IfModule mod_rewrite.c>
     
    RewriteEngine On
    RewriteBase /
 
    # Disable pakainfo.com rewrite for some valid directory/files     
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d 
 
    #map all pakainfo.com request urls to a good more controller method
    RewriteRule ^(.*)$ index.php?/{controller}/{method}/$1 [L]
</IfModule>

jQuery 15 Powerful Tips and Tricks for Developers and Web Designer

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about CodeIgniter URL LINK OPEN IN NEW TAB.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.

Recommended For You.

Laravel Advance Database Query Builder
Today, We want to share with you Laravel Advance Database Query Builder.In this post we will show you Database: Query

Add a Comment

Your email address will not be published. Required fields are marked *