Info
- 4 posts
- 2 voices
- Started 2 years ago by miruru
- Latest reply from miruru
- This topic is resolved
Linking a subforum to a specific page
-
- Posted 2 years ago #
I'm not sure if this is even possible but here goes.
I have created a subforum and I want this subforum to be linked directly to a wordpress page. So that when users clicks onto this link, it will take them directly to a page which i have already set up.
Is this even possible? Any ideas will be grateful.
-
- Posted 2 years ago #
So, it needs to be a subforum so it shows up in your list of forums, but when they click it, they don't get a forum, they get redirected to a WordPress page?
You could do it with a 301 (permanent) redirection your .htaccess. You would just redirect the old (subforum) URL to the new (WordPress) URL.
The format would look something like this (assuming pretty permalinks):
Redirect 301 /forums/forum/subforum-name/ http://www.example.com/your-wordpress-page-slug/The first part is relative (just the stuff after the domain name) , and the second part is a full URL. If you get a white screen after adding that to your .htaccess, it means the syntax is wrong and you have to redo it.
-
- Posted 2 years ago #
Thanks for the info.
I'll give this a go and will update.
-
- Posted 2 years ago #
Thanks chrishajer. That worked.
-
You must log in to post.