![]() |
|
httaccess URL rewrite - 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: httaccess URL rewrite (/thread-9845.html) |
httaccess URL rewrite - seroxatmad - 2012-04-20 Hi Basically i am after directing old traffic to www.thestottfamily.co.uk/gallery to www.thestottfamily.co.uk I have looked on the apache website but dont look easy... John httaccess URL rewrite - acrylian - 2012-04-20 And the question exactly is? How to remove the "gallery" in the url? That is simple, install in the root. If you wish to rewrite the old wordpress links that is a little more complicated and depends what type of url you used. httaccess URL rewrite - seroxatmad - 2012-04-20 Sorry I want anything that is sent to www.thestottfamily.co.uk/gallery (the old setup) directed to www,thestottfamily.co.uk if possible Zenphoto used to be installed in the gallery directory now it is in the root directory as i only use zenphoto. Thanks httaccess URL rewrite - acrylian - 2012-04-20 THen move all files into the root and re-run setup to let it fix the htaccess rewrite base. That's all. httaccess URL rewrite - Michel Gagnon - 2012-04-21 What Acrylian suggests will take care of the Zenphoto stuff. In other words, your gallery will work fine. But if you want traffic that used to go to www.thestottfamily.co.uk/gallery to be redirected automatically, you could do the following:
httaccess URL rewrite - acrylian - 2012-04-21 Good addition, Michel. |