Quantcast
Viewing all articles
Browse latest Browse all 1635

[3.3.x] Support Forum • Re: Forum not showing in search engine results after domain change

Another thing is that it is the other way around, my old forum is https://forum.example.com/ and the new one is https://example.com/forum, since the old host is already deleted, I won’t be able to edit its .htaccess file.
If exmaple.com has not changed that doesn't mean anything since the requests for https://forum.example.com/ are going to new host.

In the domain root try adding this to .htaccess file. If no .htacccess file exists create one.

Code:

RewriteEngine OnRewriteCond %{HTTP_HOST} ^forum\.example\.com$   [NC]RewriteRule ^ https://example.com/forum  [L,R]
Note if there is existing .htaccess line with RewriteEngine On don't add it again.

Statistics: Posted by thecoalman — Wed Jul 31, 2024 10:36 pm



Viewing all articles
Browse latest Browse all 1635

Trending Articles