You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.
NOTE: This post was created on 2023-06-08 on the Kryptronic eCommerce Community facebook page, which has been replaced with this forum. All facebook support content was migrated into this forum in April 2024.
Anthony:
htaccess issues for development site of K9 whilst K8 is in the webserver root.
The K9 resides in a directory called "DEV" and I have 2 sub folders "private" and "public_html"
I cannot access K9 admin or any other parts of K9 my K8 site is working fine.
This is the contents of my htaccess file:
# Activate Rewrite Engine
Options +FollowSymLinks
RewriteEngine on
# Disable Default Character Set
AddDefaultCharset Off
# Base Software Rewrite Rules
RewriteRule ^DEV/index.php - [L,PT]
RewriteRule ^DEV$ directoryname/index.php?COREseourl=/ [L,PT]
RewriteRule ^DEV/$ directoryname/index.php?COREseourl=/ [L,PT]
RewriteRule ^DEV/sitemap\.xml directoryname/utilities/sitemap.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/DEV/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^DEV/(.*) DEV/index.php?COREseourl=/$1 [L,PT]
# Version 8 Rewrite Rules
RewriteRule ^index.php - [L,PT]
RewriteRule ^/$ index.php?COREseourl=/ [L,PT]
RewriteRule ^sitemap\.xml utilities/sitemap.xml [L,PT]
RewriteRule ^rss\.xml utilities/rss.xml [L,PT]
RewriteCond %{REQUEST_URI} ^/
RewriteCond %{REQUEST_URI} !\.(xml|css|js|gif|jpg|jpeg|png|pdf)$ [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php?COREseourl=/$1 [L,PT]
Thanks in advance
Anthony:
OK, I have re-installed on another domain, makes it far easier for the moment
Kryptronic:
That .htaccess setup looks like it would have worked if you had the dev install in /DEV.
Anthony:
I thought so as well... anyway, thanks for that, will be useful to keep, but I have not installed the program on a spare domain I have.
Offline