Without having a clear picture of everything in your config context
wise is hard to tell.
So seeing as you are using .htaccess which adds complexity perhaps you
need to examine what's going one behind the scenes with rewrite
debugging:
See https://wiki.apache.org/httpd/RewriteLog
2018-01-27 1:49
Thanks for your response Daniel... I tried your suggestion but it didn't
seem to work RewriteRule ^/deptblogs/$ http://intranet/template_
departments.cfm [R,L]
See below thank your for troubleshoot do I need to maybe put the
redirectmatch in the httpd.con
RewriteEngine On
RewriteBase /deptblogs
I'm with Luca here.
A simple redirectmatch would do what you seek.
RedirectMatch ^/deptblogs/$ http://intranet/template_departments.cfm
Let PHP do complex stuff and let requests for simple paths be handled
with simple httpd directives, or at least, that's why I would do to
not lose hair in the p
On 24/01/18 22:53, Kory Wheatley wrote:
Ya there is a .htaccess that has the base set to deptblogs what could
I change in here to get it to work?
[kwheatley@sftpface2 wordpress]$ cat .htaccess
RewriteEngine On
RewriteBase /deptblogs/
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule
Ya there is a .htaccess that has the base set to deptblogs what could I
change in here to get it to work?
[kwheatley@sftpface2 wordpress]$ cat .htaccess
RewriteEngine On
RewriteBase /deptblogs/
RewriteRule ^index\.php$ - [L]
# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/m
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
http://intranet/template_departments.cfm";);
/*
Have you read this document?
https://httpd.apache.org/docs/trunk/rewrite/avoid.html
-Adam Powell
> On Jan 19, 2018, at 3:33 AM, Luca Toscano wrote:
>
> Hi Kory,
>
> 2018-01-18 5:53 GMT+01:00 Kory Wheatley :
>> When someone types to go to http://sftpinterface/deptblogs/ or a link I
>> need it
Hi Kory,
2018-01-18 5:53 GMT+01:00 Kory Wheatley :
> 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
>
> /* Redirect browser */
> he
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
http://intranet/template_departments.cfm";);
/* Make sure that code below does not get exe