Stupid upgrade question | Support | Forum

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Stupid upgrade question
Profile photo of James Louderback
James Louderback
Member
Members
Forum Posts: 5
Member Since:
December 25, 2016
sp_UserOfflineSmall Offline
1
March 14, 2017 - 2:26 pm
sp_Permalink sp_Print

I have Kliqqi 350 installed in the /public folder on my site. I want to upgrade. I'm totally fine with creating a new folder, as you say, called /kliqqi-upgrade and doing what you say in your video - https://www.youtube.com/watch?v=1xQjw_Wv4gA

Question, though, I'm assuming I will just rename /public to /kliqqi old, and then /kliqqi-upgrade to /public, right

My NOOB question is, is there something (a redirect or something) I can put in the /public folder that points to a sub Kliqqi folder - ie /public/kliqqi - so that kliqqi is the default when someone goes to my domain, and I don't have kliqqi sitting in the /public folder? Or is that OK?

I realize this is something for my hosting provider, but what's the best practice here for a Kliqqi installation so that it is the default when someone types my domain name into the browser?

Thanks!

Profile photo of RedWine
RedWine
Member
Forum Posts: 549
Member Since:
January 6, 2016
sp_UserOfflineSmall Offline
2
March 15, 2017 - 8:51 am
sp_Permalink sp_Print sp_EditHistory

If you want to redirect the traffic to the root of your domain, then you have to do it in htaccess.

Any request to the root domain, like http://MYDOMAIN.COM will be transparently redirected to the subdomain or folder you specify.

This must be added to the htaccess or create one that resides in the ROOT of your domain (not in the subdirectories)

##make sure RewriteEngine is on
RewriteEngine on
## to redirect traffic from the root domain to a specific subdirectory
## example from mydomain.com to mydomain.com/public
RewriteCond %{HTTP_HOST} mydomain\.com [NC] RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^(.*)$ /public/$1 [L]

## to redirect the traffic from one subdirectory to another subdirectory
## example: from mydomain.com/public/ to mydomain.com/kliqqi
RewriteRule ^public/(.*)$ /kliqqi/$1 [R=301,NC,L]

Forum Timezone: America/New_York

Most Users Ever Online: 27

Currently Online:
8 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Adam Burton: 103

DrCrash: 74

cyrus: 56

lipsmega: 45

Steven: 36

Newest Members:

LordWard

Demian

Jeff

jkctechnosoft Pvt Ltd

Marjun Guindulman

tonyzhang

Ali Raza Janjua

Rajat Jangra

aldimut

Rakshith

Forum Stats:

Groups: 1

Forums: 8

Topics: 290

Posts: 1592

 

Member Stats:

Guest Posters: 2

Members: 1061

Moderators: 2

Admins: 1

Administrators: ChuckRoast

Moderators: Kshitij Kumar, Mthobisi