Jump to content

redirect problems on https://fox-solutions.be/downloads


hdeburchgraeve

Recommended Posts

when i surf to the download page of the knowledge database i have redirected directly to the index page

 

in my .httaccess is no special redirect configured

 

this is the value of the .httaccess file

 

 

RewriteEngine On

#SEO

# Announcements
RewriteRule ^announcements/([0-9]+)/[a-z0-9_-]+\.html$ ./announcements.php?id=$1 [L,NC]
RewriteRule ^announcements$ ./announcements.php [L,NC]

# Downloads
RewriteRule ^downloads/([0-9]+)/([^/]*)$ ./downloads.php?action=displaycat&catid=$1 [L,NC]
RewriteRule ^downloads$ ./downloads.php [L,NC]

# Knowledgebase
RewriteRule ^knowledgebase/([0-9]+)/[a-z0-9_-]+\.html$ ./knowledgebase.php?action=displayarticle&id=$1 [L,NC]
RewriteRule ^knowledgebase/([0-9]+)/([^/]*)$ ./knowledgebase.php?action=displaycat&catid=$1 [L,NC]
RewriteRule ^knowledgebase$ ./knowledgebase.php [L,NC]

# OpenID Discovery Document (http://openid.net/specs/openid-connect-discovery-1_0.html)
RewriteRule ^.well-known/openid-configuration ./oauth/openid-configuration.php [L,NC]

RewriteCond %{THE_REQUEST} ^GET\s.+\.php [NC]
RewriteRule ^(.+)\.php$ /$1 [NE,R=301,L,NC]

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{DOCUMENT_ROOT}/$1.php -f
RewriteRule ^(.*?)/?$ $1.php [L] 

 

 

 

this is the redirect header status of the page

 

 

Results:

 

www.fox-solutions.be/downloads

HTTP/1.1 302 Found
Date: Mon, 31 Oct 2016 14:59:34 GMT
Server: Apache/2
Location: https://www.fox-solutions.be/downloads
Content-Length: 222
Content-Type: text/html; charset=iso-8859-1

https://www.fox-solutions.be/downloads

HTTP/1.1 301 Moved Permanently
Date: Mon, 31 Oct 2016 14:59:36 GMT
Server: Apache/2
Location: https://www.fox-solutions.be/downloads/
Content-Length: 247
Content-Type: text/html; charset=iso-8859-1

https://www.fox-solutions.be/downloads/

HTTP/1.1 302 Found
Date: Mon, 31 Oct 2016 14:59:37 GMT
Server: Apache/2
X-Powered-By: PHP/5.6.26
Location: ../index.php
Vary: User-Agent
Content-Length: 0
Content-Type: text/html; charset=UTF-8

https://www.fox-solutions.be/downloads/../index.php

HTTP/1.1 301 Moved Permanently
Date: Mon, 31 Oct 2016 14:59:38 GMT
Server: Apache/2
Location: https://www.fox-solutions.be/index
Content-Length: 242
Content-Type: text/html; charset=iso-8859-1

https://www.fox-solutions.be/index

HTTP/1.1 200 OK
Date: Mon, 31 Oct 2016 14:59:39 GMT
Server: Apache/2
X-Powered-By: PHP/5.6.26
Set-Cookie: WHMCSEZMgPB7QBIbJ=e482qjfis17kgibee48v7u4eo2; path=/; HttpOnly
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Vary: Accept-Encoding,User-Agent
Transfer-Encoding: chunked
Content-Type: text/html; charset=utf-8

 

 

how I can solve this issue ?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated