| forced to deactivate SEF404 in Joomla |
|
|
| Tuesday, 15 November 2005 22:31 | |||||||||||
|
One more time my Site is creating too much load on mysql server, and this probably because of SEF404. (SEF) Allows Search Engine Friendly URLS for apache and IIS, returns proper 404 status code for missing content, provides logging of 404 errors, and creation of special "shortcut" URLs that allow the user to redirection to the new URL. My ranking will probably go down for a while, since in 2 weeks my url are constantly changing on my homepage. In between I have installed OpenSEF OpenSEF is an open source advanced SEF component for Joomla!/Mambo/OSM which enables automatic and manual text-based search engine friendly URLs for core and 3rd-party components. One goal of the OpenSEF project is to create relationships with many 3rd-party component developers to ensure that OpenSEF works immediately and flawlessly with all components. I've patched Joomla kernel to display some interesting information in one log file on server: because Joomla normaly output only sql statement in user browser. The file contains all queries executed per user user has executed 82 queries the code is below in click read more
defined( '_VALID_MOS' );2. open index.php and replace// displays queries performed for pageby //add by www.waltercedric.com3. Open /includes/database.php and replace line 261 what's in boldglobal $mosConfig_debug;if ($this->_limit > 0 || $this->_offset > 0) { $this->_sql .= "\nLIMIT $this->_offset, $this->_limit"; } $this->_errorNum = 0; $this->_errorMsg = ''; if ($this->_debug) { $this->_ticker++; $this->_log[] = $this->_sql; } $this->_cursor = mysql_query( $this->_sql, $this->_resource );by: //add by waltercedric.com4. Create a file sqllogs.txt under Joomla root and chmod to 666 5. To start logging, open configuration.php Quick and dirty, but it is late 23:00 PM and I still have to go for dinner...next time I will do it better:
Powered by !JoomlaComment 3.20
3.20 Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved."
|
|||||||||||
| Last Updated ( Wednesday, 16 November 2005 17:57 ) | |||||||||||
| Another articles: |
|---|
|


























Anyone has a tutorial for developing ...
what type of antifreeze do i use in m...
css lessons - css scrollbar examples ...
SILLY
Now I can stand at the station watchi...