Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2015-05-01 04:45:32

bradrlewis
Member
Registered: 2015-04-27
Posts: 62

Pages with index display issue

Hello,
I have a weird display issues that happens on my home page which also has an auto index.  The site is hosted on bluehost and also has wordpress.

If you go to http://inmylens.com/ttg everything looks fine

but if you add www to the domain the auto index boxes each triple and the template css does not seem to load correctly http://www.inmylens.com/ttg

Any thoughts besides don't use www ;-)?

Thanks Brad

Offline

#2 2015-05-01 06:21:39

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Pages with index display issue

a couple of things to try.
If you put http://inmylens.com/ttg/ in the Site Root field, try /ttg/ instead.

Another thing to try is to configure the .htaccess file to make sure the url is always rewritten to: http://inmylens.com/ttg/
more on that here: http://ce4.theturninggate.net/docs/doku … s_creation

This is the part of the page that would be relevant:
(it could be that you already have a .htaccess file that's doing something to cause this problem in the first place)

# ------------------------------------------------------------------------------
# | Suppressing / Forcing the "www." at the beginning of URLs                   |
# ------------------------------------------------------------------------------

# The same content should never be available under two different URLs especially
# not with and without "www." at the beginning. This can cause SEO problems
# (duplicate content), therefore, you should choose one of the alternatives and
# redirect the other one.

# rewrite www.example.com → example.com

<IfModule mod_rewrite.c>
    RewriteCond %{HTTPS} !=on
    RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
    RewriteRule ^ http://%1%{REQUEST_URI} [R=301,L]
</IfModule>

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2015-05-01 06:30:51

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Pages with index display issue

I also notice that your navigation links go to places like http://www.inmylens.com/galleries.php when they should be going to http://www.inmylens.com/ttg/galleries.php

what do you have in the Site Root field of Page Setup?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#4 2015-05-02 09:46:22

bradrlewis
Member
Registered: 2015-04-27
Posts: 62

Re: Pages with index display issue

Ok Thank you Rod.  The reason for wrong links is I am still building the templates, have the wordpress site and just have not worried about the links in the header yet.

Offline

#5 2015-05-02 09:52:21

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Pages with index display issue

did you get a chance to check out your .htaccess file? I'm wondering if your WordPress install or a WordPress plugin has done "something".
I'm also on Bluehost and before I implemented the url rewrite outlined above, my site looked the same using www or not.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2015-05-02 10:08:21

bradrlewis
Member
Registered: 2015-04-27
Posts: 62

Re: Pages with index display issue

I have been more focused on trying to get my template right and learn the TTG application.  I believe you correctly identified the problem with the ttg directory and word press being in the same public_html directory.  On one of my tests I setup a subdomain and then the problem is gone.  Sorry I am not technical with this and am trying.

Offline

Board footer

Powered by FluxBB