Clean Url Joomla Hack, some ideas (Pending Bug) |
This topic is about Clean Url Joomla Hack, some ideas (Pending Bug), the author, bramburn, wrote about: http://icelabz.net/forum/content/Minerva-S...rl-Joomla-Hack/ Clean Url Joomla Hack, some ideas QUOTEin other words they use index.php and added the new strings QUOTEn continuation of the topic on ... To read more just scroll down
![]() ![]() |
Clean Url Joomla Hack, some ideas (Pending Bug) |
Mar 18 2008, 08:50 PM
Post
#1
|
|
![]() Administrator ![]() ![]() ![]() Group: Root Admin Posts: 904 Joined: 25-June 07 From: London Member No.: 1 |
SEO/591/Clean-Url-Joomla-Hack/" target="_blank">http://icelabz.net/forum/content/Minerva-S...rl-Joomla-Hack/
Clean Url Joomla Hack, some ideas QUOTE in other words they use index.php and added the new strings QUOTE n continuation of the topic on the former forum: i think i've found a rather simple way to avoid the mod_rewrite ability in order to use SEF urls Apache 1. Enable SEF in mambo configuration 2. do NOT rename the htaccess.txt 3. open /includes/sef.php and change this line: (~ line 217) return $mosConfig_live_site."/".$string; to return $mosConfig_live_site."/index.php/".$string; For this to work, you will have to make sure AccepPathInfo is set to on in the apache configuration. IIS for IIS or if you can't get the above working use : return $mosConfig_live_site."/index.php?".$string; it could also be needed to add this to your sef.php Code: Select all $_SERVER['REQUEST_URI'] = (isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : $_SERVER['SCRIPT_NAME']); // Append the query string if it exists and isn't null if (isset($_SERVER['QUERY_STRING']) && !empty($_SERVER['QUERY_STRING'])) { $_SERVER['REQUEST_URI'] .= '?' . $_SERVER['QUERY_STRING']; } (just above this line if ($mosConfig_sef) { ) this will enable SEF urls to work without mod_rewrite at all.. and create urls like this: http://www.site.ext/index.php/content/view/9/34/ http://www.site.ext/index.php/content/view/10/35/ http://www.site.ext/index.php/component ... Itemid,78/ View the full article -------------------- Remember to please use the bug tracker for all bugs and errors, it is more organised that way.
Support in french and english If I reply in French please excuse my spelling & grammar, i haven't written in french for a long time. DO NOT PM ME TO ASK ME TO GO ON MSN, post the query on the support forums! |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Sitemap | SEO by MinervaSEO © Icelabz.net | Time is now: 7th September 2008 - 11:57 PM |