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.
You are not logged in.
Pages: 1
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
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
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
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
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
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
Pages: 1