Member
Member
denisot   2013-11-18, 11:44
#1
Hello.
I'm not sure my topic title is very descriptive of the problem. Sorry for that. It's not a serious problem, rather a cosmetic one. I'm using zpskeleton theme, but I don't know if it is theme specific or not.

Background:
* I installed a zenphoto gallery some time ago with one hosting service, and everything was installed in the images/ subfolder. So my website (www.tomandodesvios.com) was installed in www.tomandodesvios.com/images and there was a redirection (via index.php) from tomandodesvios.com to tomandodesvios.com/images. So, www.tomandodesvios.com/images was the prefix that was visible in the address bar.
* I recently changed hosting and installed everything at the root of the domain folder, i.e., there is no images/subfolder. The migration went allright and everything is functional.

Problem:
when one navigates to www.tomandodesvios.com the address bar shows www.tomandodesvios.com/images. When navigating further in the website (in the different pages) the address bar updates without the "images" prefix (example: http://www.tomandodesvios.com/index.php?p=pages&title=Contact), but when clicking on the logo (at the top of the page), the address is again www.tomandodesvios.com/images...
I've checked that the site address in the gallery options is correct. I've searched the different index.php or .htaccess but I don't seem to find the culprit.

Is it a value hidden somewhere (database for example) that is not refreshed or something obvious that I stupidly can't see? Again, I can live with that (cosmetic problem) but I like when a fresh install is clean.

Thanks.
Denis
Administrator
Administrator
acrylian   2013-11-18, 11:50
#2
Re-run setup to fix the possible wrong htaccess file. Or change the rewrite base manually from `/images` to `/`.
Member
Member
denisot   2013-11-18, 12:44
#3
Thanks for the quick reply.
I forgot to mention that I had re-run the setup already with no success. I checked the .htaccess, and the rewrite base is already set to '/'. Here is the content of the file (sorry I didn't find how to include code in my post):

----
# htaccess file version 1.4.5;
# Rewrite rules are now handled by PHP code
# See the file "zenphoto-rewrite.txt" for the actual rules
#
# These rules redirect everything not directly accessing a file to the Zenphoto index.php script
#
<IfModule mod_autoindex.c>
IndexIgnore *
</IfModule>
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [L]
RewriteRule ^.*/?$ index.php [L,QSA]

</IfModule>
----

I've just re-run setup again and the Rewrite base is said to be / with the mention that the Rewrite engine is ON. The only error is a 'set_time_limit' but I don't think it is related.
Administrator
Administrator
acrylian   2013-11-18, 13:42
#4
The htaccess is correct. I Just viewed your website and to me all seems to work as it should. I did not get any wrong "images" in hte url. I assume you possibly had some overly persistent browser cache.
Member
Member
denisot   2013-11-18, 15:45
#5
Thanks Acrylian.
I'm pretty sure I already tried to empty the cache. That's weird. I tried again now:
- in Firefox, visit the website and I landed in www.tomandodesvios.com/images
- tried in Chromium (that I barely use), same thing
- back in Firefox, emptied the cache, no /images anymore
- chromium, same thing (no /images) without emptying the cache...

Anyway, sorry for the time lost for a problem on my side.
Regards.
Denis
Administrator
Administrator
acrylian   2013-11-18, 16:06
#6
I have tried in Safari, Firefox and Chrome successfully. No "images" for me. This is a very common thing happening with browser caches.
Member
Member
denisot   2013-11-18, 16:08
#7
Thanks again for your time. And for Zenphoto.
Problem solved.
d
  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.