Jump to content

[SOLVED] Keep address bar url when displaying error pages...


Dragen

Recommended Posts

Hi,

okay.. I've got a simple re-direct in my htaccess file for 404 and 403 errors.

ErrorDocument 404 http://www.gimppro.co.uk/error/404.php
ErrorDocument 403 http://www.gimppro.co.uk/error/403.php

 

Is there a way of making it show the error pages on faulty links etc, but still keep the address in the address bar the same?

for example.. If I type in www.mydomain/badlink/

it will re-direct and change the url to www.mydomain/errorpage

but I want it to still say the www.mydomain/badlink/

 

Is this possible?

Thanks

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.