Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
TwoKooL
Topic Author
Posts: 19
Joined: 08 Apr 2017, 01:16

Redirect landing page

18 Apr 2017, 11:13

Is there a way I can use one of my gallery page as the main page of my website? For example, I would like to use this folder as landing page:

http://domain.com/mygallery1 when people try to access http://domain.com

Thanks
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Redirect landing page

18 Apr 2017, 12:30

You mean you want to redirect from domain.com -> domain.com/mygallery1? Or do you just want to display the same page content as in "mygallery1"?

If you want to redirect, how will the visitor ever get to the main domain page if it redirects? Also, what is the point of this? Can't you just create whatever is under /mygallery1 as your home page? Your home page is a normal page just like any other page. This seems impractical for your website and the visitor.

In any case, redirecting is not something you would do with X3. It would be a rule added to .htaccess.
 
User avatar
TwoKooL
Topic Author
Posts: 19
Joined: 08 Apr 2017, 01:16

Re: Redirect landing page

18 Apr 2017, 13:57

Thanks for your fast reply!

Redirect is not a practical solution indeed.

Is there a way to set /mygallery1 as my home page? I'm pretty sure there is but I just can't seem to figure it out...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Redirect landing page

19 Apr 2017, 00:15

You wouldn't really "set /mygallery1 as home page", but you could set your home page to display same/similar as /mygallery1. You can for example set INDEX page to get gallery images (gallery -> assets) from another page, so you can display the gallery from "mygallery1" on the home page (in any layout stayle) ... and even limit the amount of images.
 
User avatar
TwoKooL
Topic Author
Posts: 19
Joined: 08 Apr 2017, 01:16

Re: Redirect landing page

19 Apr 2017, 00:50

Thanks Karl, your last answer made me realize I deleted the 1.index folder in the first place which is why I could not find how..