Quote:
Originally Posted by Jaguar.X.05
Need to redirect my sub folder to subdomain.domain.com using 301 at .htaccess?
Any help is appreciated. Tnx (sorry if I am not on the right thread  )
|
It can be done ain a number of ways, probably the simplest is to use a serverside language to set the header to a 301 and redirect the page.
In PHP this would be
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.new-url.com" );
?>
Just place that in an index.php file and upload it to the sub-folder.
Heres a page that shows other examples in other languages including this one
http://www.webconfs.com/how-to-redirect-a-webpage.php
__________________
Sam M - Expert in Windows Web Hosting and Web Design and Development.
|