tags:

views:

17

answers:

0

Hi,

my custom 404.php page is located in /includes/404.php.

My current .htaccess file does the following redirect:

ErrorDocument 404 http://imgpls.localhost/includes/404.php

So the url looks like: mysite.com/includes/404.php .

Basically I need a double redirect: 1) 404 eror page to mysite.com/404.php (so the url looks nice) 2) mysite.com/404.php to mysite.com/includes/404.php where the file actually is.

How can I achieve that? Thanks in advance.