Moved Permanent using CI |
[eluser]numb person[/eluser]
Hi...i want to make the website using CI but i need index.php not redirect to welcome.php, Cos it's effect on Google Indexing. So if make website use CI my status http code become 301 - Moved Permanently not 302 - Moved Temporary. anyone can help me? Thx
[eluser]pistolPete[/eluser]
Either you could use .htaccess or the plain php header() function: Code: header( "HTTP/1.1 301 Moved Permanently" );
[eluser]numb person[/eluser]
[quote author="pistolPete" date="1227629786"]Either you could use .htaccess or the plain php header() function: Code: header( "HTTP/1.1 301 Moved Permanently" ); If I use .htaccess how the syntax or maybe i can ask link about that and if I use php header() function where i set that code? Thx?
[eluser]Colin Williams[/eluser]
Um... something's not clear here. CI does not redirect to the welcome.php controller file, or whatever your default controller is set to.
[eluser]numb person[/eluser]
[quote author="Colin Williams" date="1227631813"]Um... something's not clear here. CI does not redirect to the welcome.php controller file, or whatever your default controller is set to.[/quote] OK ... can u explain this : http://www.seotoolset.com/cgi-bin/checkr...iahost.com I need that become 301 - Moved Permanently and when I googling with keyword bizmediahost there are not list my originally website, just bizmediahost.com/faq.php listed on google
[eluser]sikkle[/eluser]
hi numb, You gonna need to give more information about environment, what happening, what going on with log, what htaccess you use, suphp ? i mean lot of that is going with your dev env. that being said, hope you feel the powah with this avatar. see ya around |
Welcome Guest, Not a member yet? Register Sign In |