XF 2.2 Setup redirections in Xenforo

ritesh

Member
Hello, as I've mentioned in my previous posts, I'm migrating my WordPress blog to Xenforo.

WordPress has a different URL structure, ex: https://example.com/hello-post

But Xenforo has a different URL structure. I've about 10 pages on WordPress that I need to redirect when I migrate the content to Xenforo.

How can I do that?

PS: site's domain is the same. Just the CMS is being changed
 

Brogan

XenForo moderator
Staff member
Sigh ...

A paid "add-on" is ridiculous for rewrite rules.
Something which can be implemented quickly and easily on the server.

But it's your money.
 

ritesh

Member
Sigh ...

A paid "add-on" is ridiculous for rewrite rules.
Something which can be implemented quickly and easily on the server.

But it's your money.

I'm not a coder. I would really appreciate it if you share a simple example of htaccess redirection for my purpose. I have looked for tutorials, and all of them have different codes, and I'm not sure which one I should use.
 

Mr. Jinx

Well-known member
There is also this free add-on which handles redirects and some more interesting stuff:

Or if you want to keep it simple, create a .htaccess file in the root directory:
Code:
Redirect 301 /old-page https://www.domain.com/xf/new-page
 
Top