PDA

View Full Version : Redirection from Old Forum to New - Page name should same


secondeye
06-17-2015, 06:47 AM
Hello,
I have a Forum called: www.OLDForum.com/forum/forum.php

I had purchased a new domain and want to change my domain name but i need my page name should be same so If Visitor comes to my Forum

www.OLDForum.com/forum/forum.php and All other Forum post and pages

Visitor should redirect to:

www.NEWForum.com/forum/forum.php and All other Forum post and pages

Also need to do in 301 Redirection so that my page index and ranking should be redirect permanently.

I had tried to search first before posting but didn't find good solution.

Any Help?

--------------- Added 1434535747 at 1434535747 ---------------

Got it:
Solution > Add below line in your Installed Main Forum folder at htaccess file

Add this line: Redirect 301 / http://www.NEWForum.com/

Once done, your visitors to:


www.OLDForum.com/forum/forum.php and All other Forum post and pages

Will redirect to:

www.NEWForum.com/forum/forum.php and All other Forum post and pages

SPEEDKILLZ
06-17-2015, 04:10 PM
You can do this by forwarding your old domain to the new one. You can do this where ever you purchased your domain under settings for the old domain/forwarding on/new url

ForceHSS
06-17-2015, 04:20 PM
.htaccess file


RewriteEngine on
RewriteCond %{HTTP_HOST} ^oldsite\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.oldsite\.com$
RewriteRule ^(.*)$ http://www.newsite.com/$1 [R=301,L]