codeigniter redirect new tab

pakainfocom profile image pakainfo ・2 min read

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"
About Pakainfo.com

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

CodeIgniter redirect to a new tab


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

CodeIgniter Redirects


//second way


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

CodeIgniter Redirect To External Domains

CodeIgniter URL Routing Simple External Domains Redirects Example

    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]

You can visit my Article with More Examples : click here

Posted on by:

pakainfocom profile



My name is Angular King. I'm a full-stack developer, entrepreneur and owner of Pakainfo. I live in India and I love to write


Editor guide