Jump to content

re-directing a user


KirstyScott

Recommended Posts

If you wish to redirect to your index page, then you would add this to your .htaccess file. The .htaccess file should live in the root of the site. If it does not exist, you can create it.

 

make sure you change "yoursite.com" to your actual domain name.

 

.htaccess

ErrorDocument 404 http://www.yoursite.com/index.php

 

Nate

Link to comment
https://forums.phpfreaks.com/topic/139911-re-directing-a-user/#findComment-732115
Share on other sites

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.