Permalinks page works but does not load images

4 posts by 2 authors in: Forums > CMS Builder
Last Post: July 28, 2014   (RSS)

By andybarn - July 27, 2014

Hi

I have a strange problem that I have been battling with for hours and wondered if you could help.

On my development server I have a property site that is in development.

I have the listings.php and the listingDetail.php pages working OK but the problem I have is with the listingDetail.php page

If you go to http://37.220.93.134/~javeahom/property/listingDetail.php?num=1 you will see the page loads with the images and works well.

However if I go to the permalink version of this page, http://37.220.93.134/~javeahom/villa-for-sale-in-javea-7-beds-ab1234/ you will see everything loads OK except the images.

Obviously everything is OK with respect to the page as it loads fine using the ?num=1 at the end and everything loads OK using the permalink except the images so we know the permalink is directing to the correct page.

This is driving me mad and very frustrating as I can not see for the life of me why it does not work correctly using the permalink (however I am no php expert so it could be something very basic.)

Please could you take a look to see if you could spot what is causing the problem.

Thanks

Andy

By andybarn - July 28, 2014

Thanks Steve!

You are a star, I changed to

    <script src="/~javeahom/property/sliderengine/jquery.js"></script>
    <script src="/~javeahom/property/sliderengine/amazingslider.js"></script>
    <script src="/~javeahom/property/sliderengine/initslider-1.js"></script>

and it now works perfectly!

Thank you so much for your help.

Kind regards

Andy

By Steve99 - July 28, 2014

You're very welcome!

Now that's working in your dev environment. When the site is being prepped to go live, just make sure to remove "/~javeahom" from those source file links so it starts with "/property" and you'll be good to go.

Cheers!
Steve