Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: confused route directory ??  (Read 3142 times)

0 Members and 1 Guest are viewing this topic.

ir803

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 92
confused route directory ??
« on: May 18, 2007, 03:32:14 pm »

I am working on this site http://www.ffotowales.co.uk/ When I first installed CPG and uploaded the files I put the directory straight in to the main /folder on the host space, not in a gallery or cpg 1410 folder. This worked fine and when you type www.ffotowales.co.uk you get the site up fine....BUT I have noticed when I click on add to lightbox it takes two attempts to get an image to add. Then if you click remove from lightbox under the actual image it works first time BUT I suddenly noticed it fowarded me on to a page with an address missing the www. from that point on everypage was missing the www. in the address it also meant that if you add or remove image to the lightbox at http://www.ffotowales.co.uk/thumbnails.php?album=favpics, you don't get the same images at http://ffotowales.co.uk/thumbnails.php?album=favpics . I hope this is not too confusing to understand, but I think either I have changed something or preset navigation is not set up for a site sitting outside the default folders on the download cpg zip file.
The Site is very nearly finished but obviously I can't have it running "two" lightboxes at the same time.
Any ideas please?
« Last Edit: May 20, 2007, 12:43:55 am by Nibbler »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: confused route directory ??
« Reply #1 on: May 18, 2007, 04:10:56 pm »

Use .htaccess to redirect all your users accessing your site using www.yoursite.tld to yoursite.tld. Has been discussed many times over.
Not related to install, moving accordingly.
Logged

ir803

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 92
Re: confused route directory ??
« Reply #2 on: May 18, 2007, 10:51:17 pm »

Use .htaccess to redirect all your users accessing your site using www.yoursite.tld to yoursite.tld. Has been discussed many times over.
Not related to install, moving accordingly.

OK sorry mate but this is way over my head, I've searched for redirecting threads and htaccess threads, also searched the internet for htaccess tips it's a bit confusing and I can't see anything that looks like my problem but then I'm not familiar with the code used and I'm worried if I put the wrong code/options in the htaccess file I'll screw up my CPG OR my server. SO can anyone point me to something specificly related to this problem or tell me what I need to write in the HTaccess file ?
Logged

Nibbler

  • Guest
Re: confused route directory ??
« Reply #3 on: May 19, 2007, 10:20:35 pm »

Code: [Select]
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.ffotowales\.co\.uk$
RewriteRule (.*) http://ffotowales.co.uk/$1 [R=301,L]

If anything breaks just remove the code.
Logged

ir803

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 92
Re: confused route directory ??
« Reply #4 on: May 19, 2007, 11:52:34 pm »

Thanks nibbler, works perfectly  ::)
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.