Jump to content
  • 0

Wrong Link In Emails


hostingboss

Question

7 answers to this question

Recommended Posts

  • 0

Hello mate,

 

Looks like your using Interworx.

 

please do the following: nano /home/username/domain-name.com/html/my/.htaccess ADD this line:

RewriteBase /

Eg:

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php

Now go to Company Settings: Settings > System > General now go to: Root Web Directory

 

Ensure it is: /chroot/home/username/domain-name.com/html/my/

 

 

Your cron must be: /usr/bin/php /home/username/domain.com/html/my/index.php cron

 

---

 

on your Cron setting on InterWorx do the following:

 

Hosting Features > Cron Jobs > Cron Options > Edit

 

SHELL > /bin/bash > update

 

 

Hope this helps mate.

Link to comment
Share on other sites

  • 0

Hello,

 

Did this and now the admin interface redirects to the home.

 

Thanks!

########################################################
# package:    minPHP
# filename:   .htaccess
########################################################

<Files ~ "\.(pdt)$">
   order deny,allow
   deny from all
</Files>

# Protect against Clickjacking
#Header append X-Frame-Options "SAMEORIGIN"

RewriteEngine on

# Force HTTPS
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [R=307,NE,L]

RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php
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
Answer this question...

×   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.

Loading...
×
×
  • Create New...