![]() |
|
Hide part of URL (.htaccess) - 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: Hide part of URL (.htaccess) (/thread-10267.html) |
Hide part of URL (.htaccess) - canica - 2012-08-04 Is there a way to hide the "/pages/" part of the url so www.mydomain.com/pages/mypage become www.mydomain.com/mypage ? Hide part of URL (.htaccess) - acrylian - 2012-08-04 Should be possible by changing the related rules. Still Zenphoto will generate the urls that way anywhere. Hide part of URL (.htaccess) - canica - 2012-08-04 How can I do it? Hide part of URL (.htaccess) - acrylian - 2012-08-04 By modifying the htaccess file (again on any update of course). There are tutorials on the net how to do this. Note we have not tried or tested that. Hide part of URL (.htaccess) - sbillard - 2012-08-04 You will not likely be successful in simply removeing the "pages" part of the URL as then Zenphoto will presume that the link is to an album. You could change the "spelling" to something different in your rewrite rules. But Zenphoto would still generate links using "pages" unless you also change the core. |