Welcome Guest, Not a member yet? Register   Sign In
MOD_REWRITE for 301 redirect
#1

[eluser]Unknown[/eluser]
hello everyone
I just wanted to 301 rdirect subpages of example.com/webdesign/tutorial and example.com/webdesign/interview and example.com/webdesign/news to example.com/webdesign/content
How should I do that.
tnx.
#2

[eluser]InsiteFX[/eluser]
.htaccess file

InsiteFX
#3

[eluser]Unknown[/eluser]
Tnx buddy, but I knew that.
My question is how to write the statements in .htaccess file???
I want the code...
thanks
#4

[eluser]InsiteFX[/eluser]
Read this!
.htaccess tips and tricks

InsiteFX
#5

[eluser]Irfan Evrens[/eluser]
in php
Code:
header("Location: http://example.com/webdesign/content", TRUE, 301);
more info: http://php.net/manual/en/function.header.php

in ci
Code:
redirect("http://example.com/webdesign/content", "location", 301);
more info: http://ellislab.com/codeigniter/user-gui...elper.html




Theme © iAndrew 2016 - Forum software by © MyBB