Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7857945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:12:05+00:00 2026-06-02T21:12:05+00:00

Here is my rewrite code: ## File Security <FilesMatch \.(htaccess)$> Order Allow,Deny Deny from

  • 0

Here is my rewrite code:

## File Security
<FilesMatch "\.(htaccess)$">
 Order Allow,Deny
 Deny from all
</FilesMatch>

#### Apache directory listing rules ####
DirectoryIndex index.php index.htm index.html
IndexIgnore *

#### Rewrite rules for SEO functionality ####

<IfModule mod_rewrite.c>
RewriteEngine On

#RewriteCond %{SERVER_PORT} 80
#RewriteRule ^(.*)$ https://www.genyx.co.uk/$1 [R,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} !=/favicon.ico
RewriteRule ^(.*)\.html?$ index.php?seo_path=$1 [L,QSA]

</IfModule>

But it doesn’t work on SSL pages, for example:

http://www.genyx.co.uk/terms-and-conditions.html

and

https://www.genyx.co.uk/terms-and-conditions.html

Can someone help me make it work?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T21:12:06+00:00Added an answer on June 2, 2026 at 9:12 pm

    Edit:

    http://www.genyx.co.uk/ -> shows some content

    https://www.genyx.co.uk/ -> shows the default Apache site “It works!”

    So the SSL server has a different DocumentRoot. If you change this it should work as expected.

    By the way, please check your SSL certificates. I would assume that you have to add intermediate certificates or some of your visitors will get warnings that the site is not signed by a trusted instance.

    Edit: You can check by yourself if everything is fine with your SSL server or if the certificate chain is incomplete.

    Edit 2:

    Your certificate provider has a nice description about intermediate certificates. And here is the place to download it. See below how you can install this in relation to the already installed certificate file.

    # Apache configuration for specific virtual host ...
    # start SSL/TLS
    SSLEngine on
    # set signed certificate file
    SSLCertificateFile /etc/apache2/ssl/domain_certificate.crt
    # set private key file
    SSLCertificateKeyFile /etc/apache2/ssl/domain_certifikate.key
    # set intermediate certificate / to complete the chain to the root certificate
    SSLCertificateChainFile /etc/apache2/ssl/chain_certificate.crt
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code for my .htaccess file that I've picked up from
im facing a problem regarding my .htaccess file here is the code within the
I may be missing something obvious here, but how could I rewrite this code
Here is a simplified version of the code I use. I need to rewrite
I've recently added this little bit of code to my .htaccess file: RewriteCond %{REQUEST_FILENAME}
After all those mod rewrite topics here at stackoverflow, I still haven't find an
I would like to have one .htaccess file that can rewrite correctly on both
Here is my rewrite code: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}
Here are all my rules with comments: <Directory /home/*/public_html> # prevent directory browsing Options
Does anyone have experience using the URL Rewrite Module (see here )? Can it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.