We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30912
    • 463 Posts
    I set up a site on our development server and rather than moving the site, the client opted to just redirect the domain to the development area - which is fine

    the image gallery works fine on the development server sub directory but the sub domain and normal domain do not work, i am not a big user of htaccess infact the only thing ive ever done is change it to .htaccess.

    the site is http://aspiredevelopmentserver.co.uk/bobc and the domain is http://whitepalmsbarbados.com

    i edited the htaccess to read:

    # The Friendly URLs part
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /bobc/index.php?q=$1 [L,QSA]

    but i dont knwo how to alter the htaccess to allow the images through..theyre just broken as it stands.

    i know its probbaly something simple but its beyond me...

    help please smiley

    edit: solved - added RewriteCond %{HTTP_HOST} !^whitepalmsbarbados\.com [NC] and that works for some reason
      • 7923
      • 4,213 Posts
      How the gallery does not work exactly?

      By the galleries in the above links seem to work.. or at least the one on the first page.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 30912
        • 463 Posts
        ive broke the whole site eek!

        they just werent linking up and giving 404 errors
          • 7923
          • 4,213 Posts
          Ok, so it’s working now? at least the http://whitepalmsbarbados.com seems to be good..


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 30912
            • 463 Posts
            Yeah, however not sure why/how or whatnot, so many things i dont understand smiley