After RewriteRule ^([^/]*)/$ /index.php?q=$1 [L] was applied, now you can type mysite.com/aboutus/ as well as mysite.com/?p=aboutus. Now another problem appeared:
If you type mysite.com/aboutus/, then the page and pictures load fine, but links on the page mysite.com/aboutus/ will look like: mysite.com/aboutus/index.php?p=link1 instead of mysite.com/index.php?p=link1 (also mysite.com/link1 would be even better!).
How to solve this question? There are too many links to replace them manually.
P.S. Every link looks like <a href="?p=link1" > click here </a> and NOT like http://mysite.com?p=link1.
Thank you.
You can add another RewriteRule:
This will make your links valid but redundant. You will still have links like
http://mysite.com/path_1/index.php?p=link1andhttp://mysite.com/path_2/index.php?p=link1in your pages.