hdeburchgraeve Posted October 31, 2016 Share Posted October 31, 2016 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 ? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.