-
Michael,
No probs happy to help
As far as refreshing your page to another, dont use a meta refresh instead opt to use a standard .htacess 404 redirect.
So for example your .htaccess text file would look something like this:
ErrorDocument 301 /index.html
ErrorDocument 400 /index.html
ErrorDocument 403 /index.html
ErrorDocument 404 /index.html
ErrorDocument 500 /index.html
ErrorDocument 501 /index.html
Also, remember that .htaccess is revelant only to the directory it is placed in so, if you are redirecting (or removing) a page in www.domain.com/directory1/ then drop your .htaccess file into /directory1/ and it will only affect 404, 403, errors etc in that directory.
if you are moving pages form your entire domain then drop the .htaccess into the domain root, in this instance the location of your .htaccess on the server would be www.domain.com/.htaccess
Regards,
Lee
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks