I am not expert for .htaccess, therefore sorry if this question sounds stupid.
My ISP moved the whole website to new server. Path to root changed. Many files use php include which path is hardcoded to old path. I would like to avoid rewriting everything manually. I am trying to use .htaccess, like this:
Options +FollowSymlinks
RewriteEngine on
RewriteRule /oldpath/(.*) /newpath/$1 [NC]
But it doesn't work. What do I do wrong?