The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
301 redirect - need help please..
I need to 301 redirect like that -
www.domain.com/dir/index.php will be redirected to www.anotherdomain.com/index.php and all the other pages as well, for example www.domain.com/dir/forumdisplay.php?f=92 will 301 redircet to www.anotherdomain.com/forumdisplay.php?f=92 and all the posts and threads as well.. thanks a lot for the help. |
#2
|
||||
|
||||
You should be able to create redirects using your hosting control panel (ie. cPanel, Plesk, etc.).
|
#3
|
|||
|
|||
not this types of redirects.
i can do just basic redirect with my DA server panel. |
#4
|
||||
|
||||
What do they put into the .htaccess file?
|
#5
|
||||
|
||||
Quote:
Code:
RewriteEngine On RewriteRule www\.domain\.com/dir/(.*) www.anotherdomain.com/$1 |
#6
|
|||
|
|||
it doesn't work , at all, it isn't redirecting thanks for trying,
can you please try giving me another code to try? it's very urgent. thanks. |
#7
|
||||
|
||||
Quote:
I am not sure what format .htaccess receives requests, I do all my rewriting in httpd.conf. maybe it doesnt get the domain name? try RewriteRule dir/(.*) http://otherdomain.com/$1 |
#8
|
|||
|
|||
I can rewrite httpd.conf, what do i need to add \ edit?
|
#9
|
|||
|
|||
Code:
Options +FollowSymLinks RewriteEngine on RewriteRule dir/(.*) http://www.newdomain.com/$1 [R=301,L] |
#10
|
||||
|
||||
Don't you mean 401?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|