forum.coppermine-gallery.net
Support => cpg1.5.x Support => cpg1.5 themes (visuals) => Topic started by: chipw on June 30, 2016, 05:06:25 am
-
I have CPG working in my website so it is integrated into the site, but there is a problem with the links in my site navigation menu - there is the path of CPG inserted into every url. For example: the navigation menu has "home" (domain.org/),"blogs" (domain.org/previous_blogs.php),"music"(domain.org/my_songs.php), etc etc. But when I mouse-over links I see "domain.org/cpg", "domain.org/cpg/previous_blogs.php","domain.org/cpg/my_songs.php", etc. This is even if use the full url of each link, not relative paths. Same with the side panel and a few icons in that - I cannot get them to load. All the text loads, but not the icons and images in the sidebar panel.
There must be a setting someplace that I can change to get the links, images and icons of the website to work/appear properly alongside CPG?
Thanks
-
Please post your website link.
-
Please also post which software you use for your "main" website.
-
my site is: wiegand.org (http://wiegand.org)
The site is hand-coded based on W3.CSS. For the CPG I followed the docs for modifying CPG to fit one's own website. Although by the time I was done I had removed much of the content of my website, and left it with only the top nav bar in place. But that is where the problem lies - in the urls. You will see that when you mouse-over or click on any of the site links.
-
All links work as expected for me, if you're talking about
Homepage
Blogs
Photos
Music
English Site
Contact
Auto Racing News
Bicycle Racing News
-
Seriously? When I visit the site and click on any of those links, in my laptop and also on my phone, it get the typical 404 message =
Not Found
The requested URL /cpg/songs.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
And is after clearing the cache, restarting the browser, forced refresh of the site.
-
I don't know how it could have worked for you, but I just changed all the urls in the navbar so they are full paths, not relative paths. Now it does work as expected.