Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2802

[3.3.x] Support Forum • Re: Setting up a redirect to a new domain

$
0
0
Is there are simple way to redirect any page from my old host to my new host and new domain but maintaining t and f numbers?

Example:
https://daz-pi.com/spectrum/viewtopic.php?f=10&t=30
redirects to
https://autism-dictionary.co.uk/spectru ... ?f=10&t=30

I assume .htaccess might be the best option, but I'm not very familiar with the configuration.
TIA
Daz
On your old domain, edit .htaccess

Code:

Options +FollowSymlinksRewriteEngine OnRewriteCond %{HTTP_HOST} ^old_domain.com$RewriteRule ^(.*)$ http://new_domain.com/$1 [R=301,L]

Added:
actually you might also want to redirect www.old_domain.com

Statistics: Posted by warmweer — Fri Jun 27, 2025 5:10 pm



Viewing all articles
Browse latest Browse all 2802

Trending Articles