Hello,
Muhammad Yousuf Khan Wrote:
-------------------------------------------------------
> I can access php files properly like info.php. to check whether php
> is
> working or not. however the problem part is wordpress.
>
> when i try to load my wordpress site chrome shows an error saying
> reduction
> loop occur.
>
I would think there's a configuration somewhere (a config file or database?) in WordPress which redirect your example.com to www.example.com.
As I don't use WordPress, I can't help you better.
Best Regards