I have: RewriteRule ^(.*)$ http://www.balloonsculptist.com [L,R=301] In my .htaccess file yet I am trying to partly do away with the .htaccess file, at least for the thing that runs this item. I know using the header('Location:*') function will redirect the page, but what about the 301 code that I am sending out? Any thoughts would help.
header ("HTTP/1.1 301 Moved Permanently"); header ("Location: http://www.balloonsculptist.com/"); PHP:
Thank you very much. I had a feeling it would be done using the header function, but I wanted to make sure. That and I wasn't sure exactaly how it should be done.