I am in the process of moving my site to a new server. I have copied all files including the .htaccess file. But when I click on any links that the .htaccess file rewrites I keep getting error 404. Home url = HTTP://217.112.82.35/~psphecom/ Rewritten url = http://217.112.82.35/~psphecom/sony-psp/553/come-visit-bliss-island-on-psp-news.html .htaccess file RewriteEngine on RewriteBase / RewriteRule ^([0-9]).html$ index.php?do=viewarticle&id=$1 RewriteRule ^sony-psp/([0-9]+)/(.*)-psp-game.html$ gamedetails.php?t=$2&id=$1 [L] RewriteRule ^sony-psp/([0-9]+)/(.*)-psp-preview.html$ previews.php?do=view&t=$2&id=$1 [L] RewriteRule ^sony-psp/([0-9]+)/(.*)-psp-review.html$ reviews.php?do=view&t=$2&id=$1 [L] Rewritecond %{http_host} ^217.112.82.35/~psphecom/ RewriteRule ^(.*) http://217.112.82.35/~psphecom/$1 [R=301,L] any ideas ??? Thanks
I visited using the temp link above and each time I reopened the page I was seeing a flash of some sort of sql error before the site loaded. Now I am getting no page load and this error message: Fatal error: Call to a member function on a non-object in /home/psphecom/public_html/global.php on line 36 The one time I did click on an old news link it took me to your old site. Did you update your database names and usernames in your script config files? It is really tough to get a DB working correctly before the DNS resolves to the new server. You may just have to put up a temporary offline page and work behind it to resolve the issues.