Jump to content

redirect of missing page


toolman

Recommended Posts

Hi,

 

I have set up a new website, but the old website is using /mainpage.html as it's homepage when searching in Google. This page no longer exists, so when a user clicks on the page in Google, the website is not found.

 

Is there a way i can set up a forwarder to point the missing file to the new index.php page?

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/254650-redirect-of-missing-page/
Share on other sites

depends on the level of access you have on the server.  I think the best solution (could be wrong though) is to edit the htaccess file and redirect it on the server its self.  Other than that you can use headers to redirect the pages, but I think that could bugger the google lookup (unless the NOBOTS meta tag still works...)

 

It's not really an area which I am femilliar with.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.