problem with 301 redirect

nonai

BANNED
Joined
Oct 10, 2013
Messages
535
Reaction score
77
I got a domain to redirect to my money site. I have set up the 301 redirect.so when typed into browser, old-domain.com goes to money-site.com
but here is the problem:
the old site had a lot of inner pages. Now if someone goes to old-domain.com/kbn.html it redirects to money-site.com/kbn.html but the problem is, money-site.com/kbn.html does not exist.

Will this cause any problems? How can I solve it?
 
Edit .htaccess:

Code:
Options +FollowSymLinksRewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^old\.tld$ [NC]
RewriteRule ^(.*)$ http://new.tld [R=301,L]
 
Are the pages on the new site at all? If yes is there any sort of pattern to the old and new pages? If yes google htaccess reg ex - this is where you can make a redirect rule that will map old pages to new pages.

if there's no pattern, just look up htaccess 301 and you can make a separate rule for each page.

if the pages don't exist on the new site then look up htaccess redirect entire site to single page, and redirect everything to homepage of new site.
 
Back
Top