View Single Post
Old 06-15-2020, 06:07 AM  
zijlstravideo
Confirmed User
 
zijlstravideo's Avatar
 
Industry Role:
Join Date: Sep 2013
Location: The Netherlands
Posts: 805
Assuming it's an old domain and there might be some old links pointing to "dead pages/dead links" on that domain, you might as well copy the code above and paste it in a 404.php file as well.

Then in your htaccess file add:
ErrorDocument 404 404.php

Which makes all dead links redirect too.
__________________
Contact: email
zijlstravideo is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote