Want to do a 301 redirect for non-www urls to www, simply use php header command like the following syntax: And for www to non-www: This is extremely useful, where you don’t want to use .htaccess file. But remember to … Continue reading →
19. April 2014 by Adnan
Categories: PHP, Programming |
Tags: 301 redirect, header, php |
Leave a comment
© 2017 Adnan Ahmed. Theme: Ari by Elmastudio. Proudly powered by WordPress.