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 -

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
Admin
Forum Posts: 521
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:
5 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Adam Burton: 103

DrCrash: 74

Kshitij Kumar: 45

lipsmega: 42

cyrus: 39

Newest Members:

Harish Kumar

dada

Sathish

gabriel rivas

Joey Colomba

honglamsg

uhihim

oweje

Allinone

Chiko

Forum Stats:

Groups: 1

Forums: 8

Topics: 255

Posts: 1415

 

Member Stats:

Guest Posters: 1

Members: 933

Moderators: 0

Admins: 2

Administrators: ChuckRoast, RedWine