Q:

I want to redirect root and sub folders to different pages

I want to redirect a root domain to another domain. The problem is, I also want to keep the subfolders.
For example: redirect domain/subfolder to anotherdomain/subfolder.

A:

Because your question is not specific, I can only assume you need the following:
RewriteEngine On

# Check if a directory is being requested
RewriteCond %{REQUEST_FILENAME} -d

# If so, redirect the request
RewriteRule ^(.*)$ http://anotherdomain.com/$1 [R,L]

Update - Try this, based on the requirement in your comment.
RewriteRule ^$ http://www.kaysellers.com/webpage/ [R,L]
RewriteRule ^(.*)$ http://www.kaysellers.com/$1 [R,L]

You may change the R flag to R=301 to make it permanent, if you would like it to be.

Note: Please try and do your own homework in future. You should ask questions on StackOverflow when you have, at the very least, made an attempt to do what you want to do and not had any luck.

