[TYPO3-dev] header(location:url) sends 302?

Steffen Kamper steffen at sk-typo3.de
Mon Mar 24 16:25:27 CET 2008


"Steffen Kamper" <steffen at sk-typo3.de> schrieb im Newsbeitrag 
news:mailman.1.1206371827.26463.typo3-dev at lists.netfielders.de...
> Hi,
>
> in my page comments i use header(location:url);
> for the homepage link of users. The reason is that i don't want to show 
> the urls on the page.
>
> Now a user contacted me about HTTP-Header is 302 and pointed me to [1]
>
> So my question: Why is 302 automatic added, and how can i change it to 
> 301?
>
> vg Steffen
>
> [1] http://www.mattcutts.com/blog/seo-advice-discussing-302-redirects/

typical after submitting, i found it

header(location:url,true,301);

vg Steffen 






More information about the TYPO3-dev mailing list