PDA

View Full Version : How to List all posts from all forums in one page?


revitclinic
05-06-2012, 08:35 PM
Hi,

I was wondering if it is possible to show all posts and threads from all forums on one page? The reason I am asking is, that I moved my entire forums to a sub-domain and I am trying to redirect all old urls to the new urls with .htaccess file It is almost not possible to go through all forums to find all posts and threads to get the desire url for redirect.

Please, let me know if there is a function like this in vBulletin 4+ or anything you might suggest which is better than what I am doing.

Thank you

Lynne
05-06-2012, 08:37 PM
Can't you just do a redirect from the top level to the new sub-domain? Why would you need to have a list of all the posts/threads in order to do that?

revitclinic
05-06-2012, 08:52 PM
Can't you just do a redirect from the top level to the new sub-domain? Why would you need to have a list of all the posts/threads in order to do that?

Please give me an example. I don't know how that works.

Lynne
05-06-2012, 09:36 PM
Google gives me this on redirecting to a sub-domain - http://stackoverflow.com/questions/9334171/htaccess-redirect-to-subdomain There are many links that come up in google when searching on ".htaccess redirect to subdomain"

LifesGreatestGift
05-07-2012, 04:21 AM
that redirects. for seo purposes you will also need to rewrite the URLs from their previous format to their new format.

Maybesomething like this
RewriteCond %{HTTP_HOST} !^www\.mydomain\.com
RewriteRule ^(.*)$ http://forums.mydomain.com/$1 [R=permanent,L]

Hasn't been tested, you will need to read up on it, but when moving from a root, or sud-directory to a subdomain this is mandatory, or all links indexed by search engines will give a user a 404 error.