Yii htaccess redirect url of old files to new files

Posted: November 7, 2012 in Php, Yii Framework

Are you plan to redirect your old files to new files?

Insert this code in your .htaccess file

#301 Redirect Old File to New File
RewriteRule ^legoland-package.php$ http://www.pulaisprings.com/legoland-malaysia-hotel-package.html [NC,R=301,L]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s