B2B Articles - October 17, 2010
Here is how to use PHP to create a permanent 301 redirect. This type of redirect tells user-agents that the webpage has moved permanently to the new, referenced location. Using 301 redirects can be a vital part of a search engine optimization (SEO) practice.
In order to use this code properly, you will need to place the PHP snippet above all content on the page. By placing the PHP 301 redirect code within or below other content will result in an error like the following: Warning: Cannot modify header information - headers already sent by...
<?php
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: https://test.com" );
?>
Please note: Replace "https://test.com" with your new location for the webpage.
Tel 212-993-7809
Ironpaper ®
10 East 33rd Street
6th Floor
New York, NY 10016
Map
New York Agency
B2B marketing
B2B Content
Demand generation agency
Digital Marketing
Account-Based Marketing
ABM for SaaS
ABM for energy
Demand generation campaigns
Industry marketing
Privacy Policy
First-party data marketing
SaaS marketing
SEO for B2B
IoT Marketing
B2B Marketing for IoT Companies
HubSpot Agency
B2B Product Marketing
B2B Software Marketing
IoT go-to-market strategy
IT Marketing
HubSpot for ABM
ABM for AI companies
Technology Marketing
Marketing for IT Companies
ABM Campaigns
B2B lead generation
B2B Marketing and Growth Agency.
Grow your B2B business boldly. Ironpaper is a B2B marketing agency. We build growth engines for marketing and sales success. We drive demand generation campaigns, ABM programs, B2B content, sales enablement, qualified leads, and B2B marketing efforts.