Re: Redirect only a specific index.php page to new location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18/01/18 07:53, Kory Wheatley wrote:
When someone types to go to http://sftpinterface/deptblogs/  or a link I need it to redirect to http://intranet/template_departments.cfm.  Which I was able to accomplish in the index.php header content with

<?php
/* Redirect browser */

/* Make sure that code below does not get executed when we redirect. */
exit;
?>
It should work.

But the problem is all pages underneath http://sftpinterface/deptblogs  redirect to  http://intranet/template_departments.cfm.  [...]
This shouldn't happen. Most likely there's another redirect rule somewhere, e.g. in .htaccess file.

--

With Best Regards,
Marat Khalili

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux