![]() |
|
.htaccess redirect to www in subfolder - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: .htaccess redirect to www in subfolder (/thread-6340.html) |
.htaccess redirect to www in subfolder - navjotjsingh - 2009-12-25 I know that following code is required for redirecting a non www link to www link:
If I access http://domain.com/gallery/ it does not get redirected to www version. I tried including the above code into .htaccess in gallery folder but then it redirects the gallery to site's homepage. Pls suggest a fix so that non www gallery redirects to gallery having www link. .htaccess redirect to www in subfolder - navjotjsingh - 2009-12-26 No SOlution? .htaccess redirect to www in subfolder - micheall - 2009-12-26 try adding this to the top of your rule (if you don't already have it):
I'm not super familiar with .htaccess myself but from a quick search on google I found the same htaccess rules you used, but with the code above at the top. .htaccess redirect to www in subfolder - navjotjsingh - 2009-12-26 Found the fix. SHould use this code:
.htaccess redirect to www in subfolder - acrylian - 2009-12-26 Do your really expect that fast help over Christmas days??? Anyway, these kind of redirection I can set via the admin backend of my provider. .htaccess redirect to www in subfolder - navjotjsingh - 2009-12-26 Nope..I don't expect fast help in holidays. I am just posting my queries...you can answer them whenever you get time. Its just that I am free on holidays and I am working on making my own gallery perfect with ZP in these days. .htaccess redirect to www in subfolder - acrylian - 2009-12-26 Sure, but your second post above was a little impatient..;-) .htaccess redirect to www in subfolder - navjotjsingh - 2009-12-26 Sorry. |