jadeb Posted February 4, 2008 Share Posted February 4, 2008 Wow! What a terrific contribution. I've just finished installing it on a fairly heavily modified cart and it worked like a dream. Of course, it helped that the instructions were so clearly written and neatly presented. I just want to say thanks for this. I intend on making a donation once I've seen it in operation bug-free for a couple of weeks. It's definitely worth it. Thanks!!! Quote Link to comment Share on other sites More sharing options...
pedgette Posted February 5, 2008 Share Posted February 5, 2008 Does anyone know how to exclude sub directories? In the exclude portion of the contribution it allows pages within the root of the catalog to be excluded but it does not allow full sub directories to be excluded. What I have is a picture gallery that is loaded from www.mypage/galleryname/index.html where my regular catalog is just in the root od the directory. I would like the entire /galleryname/ directory to be excluded but I have not yet figured out how to do so. I tried to find where the /admin/ directory was excluded since the SEO url's would have no business there, then copy that code to exclude my image gallery, but was unable to find where that is set. Any help would be appreciated, otherwise this has been a great mod for my store. Thanks. Quote Link to comment Share on other sites More sharing options...
dibe0014 Posted February 7, 2008 Share Posted February 7, 2008 (edited) Hi, this contribution is great. After a while i could find out how to use the german category and product names instead of the english ones. At least i found some hardcoded language ids that i changed from 1 to 2 and it seems to work now. Using the german language caused another problem: Instead of changing an ü to ue it changes it to -. It there any way that i can change that? It's the same with ä and ö Edited February 7, 2008 by dibe0014 Quote Link to comment Share on other sites More sharing options...
blr044 Posted February 7, 2008 Share Posted February 7, 2008 Not sure why this happening or where to look. The URL address was normal last week. Since that time the only thing I have done with my site was to add more products and change the text in the content area of the front page. I caught the difference today when I was checking on status of my visitors today. When I go to this URL address for this product, this is what appears in the address bar of the browser: http://brs-giftshop.com/oscommerce2/catalo...b990ca0f16cf977 But when a visitor went to the same page the URL appeared as following: http://brs-giftshop.com/oscommerce2/catalo...ock-p-1363.html Even clicking link, it did take me to that page and URL did look great. So why when opening browser and going to that page do I get the URL with all of the extras characters? This is what I have for my settings under SEL URLs Enable SEO URLs? true Add cPath to product URLs? false Add category parent to begining of URLs? false Filter Short Words 3 Enable SEO cache to save queries? true Enable product cache? true Enable categories cache? true Enable manufacturers cache? true Enable articles cache? true Enable topics cache? true Enable information cache? true Enable automatic redirects? true Choose URL Rewrite Type Rewrite Enter special character conversions NULL Remove all non-alphanumeric characters? false Reset SEO URLs Cache false Any ideas? Thanks. blr044 Quote Link to comment Share on other sites More sharing options...
chingks Posted February 18, 2008 Share Posted February 18, 2008 can someone advise me. I have successfully install this mod. everything is fine and links on site has been rewrote. But once i click on any of the links, will get HTTP 404 error. http://perfectit.sg/catalog/ http://perfectit.sg/catalog/in-stock.html Any advise where goes wrong? .Htaccess? Great appreciate your assistance Quote Link to comment Share on other sites More sharing options...
JoeyRocket Posted February 21, 2008 Share Posted February 21, 2008 In G-Controller>Categories, when I try to make changes and update I get this error: Warning: Invalid argument supplied for foreach() in /home/content/s/p/e/specterstudios/html/store/catalog/admin/includes/classes/seo_categories.php on line 125 Warning: Cannot modify header information - headers already sent by (output started at /home/content/s/p/e/specterstudios/html/store/catalog/admin/includes/classes/seo_categories.php:125) in /home/content/s/p/e/specterstudios/html/store/catalog/admin/includes/functions/general.php on line 23 Line 125 of seo_categories.php reads: foreach ($HTTP_POST_VARS['pc_id'] as $category_id => $val) { $seo_name = $this->create_safe_string($HTTP_POST_VARS['name'][$category_id]); $sql_data_array = array( 'seo_name' => tep_db_prepare_input($seo_name) ); Line 23 of general.php reads: header('Location: ' . $url); I'm running STS on this store (I don't know if this is part of the issue). I'd like help in fixing this. My bigger issue is that, by default, SEO-G is naming one of my categories by a name that is incorrect for that category. I want to manually undo it, but it won't let me. This misnaming issue is causing some of my product pages to populate blank. I know this doesn't make sense on the surface, but turning off SEO-G fixes the problem. But I like SEO-G. I want to use it. Any help in this matter would be appreciated. Quote Link to comment Share on other sites More sharing options...
kru Posted February 28, 2008 Share Posted February 28, 2008 Does this (or any) SEO contribution change the page title that appears at the top of IE (in the blue bar) when you get to the individual product listings? Our website always shows the same text, regardless of how deep we are in the categories/products. I would think, from a search engine's perspective, that a relevant product title/name would result in better rankings than a generic description of the site as a whole... Thanks. -Kevin Quote Add-Ons personally installed:Step by Step Manual Order -- Request Reviews -- Reviews in Product Listing -- Reviews in Product Display -- Review Approval System -- Leverage Browser Cache --Header Tag Controller -- Multilayer SEO Pop Out Menu -- Follow Us Box -- View All Products -- USPS Shipping Labels -- UPS Shipping Labels -- Monthly Sales/Tax Report --htacess Optimisation -- Remove Unused Images -- Master Password -- Admin Change Customer Password -- Database Backup Manager -- Zero Stock Report --Searchbox Search In Descriptions -- Easy Populate 2.76i -- Barcode Rendering -- Admin Sort By Model -- Products Purchased ReportAdd-Ons personally developed:Search for email address, etc in Orders -- Discontinue ProductAdd-Ons installed by others:View Counter -- Site Monitor -- Image Thumbnailer -- Database Optimizer -- Recaptcha -- Discount Coupons -- Add More Fields Link to comment Share on other sites More sharing options...
benjaminbeazy Posted February 29, 2008 Share Posted February 29, 2008 I've set up SEO-G on a test environment for my client and everything works ok but the client is worried that once the update gets pushed live, he will lose his page rankings with Google. He is currently using Search Engine Friendly URLs option in OSC. The readme for SEO-G says to turn off this option but it doesn't state why. I left it on and both the old and new URLs work, which should mitigate issues with search engine rankings. Does anyone know what harm can be done by leaving the option on with SEO-G installed? Also, what effect will this have on Google? Will he lose his rankings or will the new URLs gradually take over as I think they will? Thanks! Quote Link to comment Share on other sites More sharing options...
Eighteen48 Posted February 29, 2008 Share Posted February 29, 2008 Does this (or any) SEO contribution change the page title that appears at the top of IE (in the blue bar) when you get to the individual product listings? Our website always shows the same text, regardless of how deep we are in the categories/products. I would think, from a search engine's perspective, that a relevant product title/name would result in better rankings than a generic description of the site as a whole... Thanks. -Kevin Try Header Tag Controller Quote Powered By osC 2.2RC2a STS 4.5.8 - HTC 2.6.3 - FP 1.5.9 - BCH 1.0.0 Link to comment Share on other sites More sharing options...
kru Posted March 4, 2008 Share Posted March 4, 2008 Try Header Tag Controller Is there a recommended order if I want to install both? In other words, should I install Header Tag Controller before SEO-G or vice-versa? Quote Add-Ons personally installed:Step by Step Manual Order -- Request Reviews -- Reviews in Product Listing -- Reviews in Product Display -- Review Approval System -- Leverage Browser Cache --Header Tag Controller -- Multilayer SEO Pop Out Menu -- Follow Us Box -- View All Products -- USPS Shipping Labels -- UPS Shipping Labels -- Monthly Sales/Tax Report --htacess Optimisation -- Remove Unused Images -- Master Password -- Admin Change Customer Password -- Database Backup Manager -- Zero Stock Report --Searchbox Search In Descriptions -- Easy Populate 2.76i -- Barcode Rendering -- Admin Sort By Model -- Products Purchased ReportAdd-Ons personally developed:Search for email address, etc in Orders -- Discontinue ProductAdd-Ons installed by others:View Counter -- Site Monitor -- Image Thumbnailer -- Database Optimizer -- Recaptcha -- Discount Coupons -- Add More Fields Link to comment Share on other sites More sharing options...
elton123 Posted March 10, 2008 Share Posted March 10, 2008 Hi I've installed SEO-G v1.20, but ran into the following problems. 1) When trying to access Admin I'm being re-directed. 2) When accessing the Review Products I get the following error message: Warning: main(product_reviews_info.php) [function.main]: failed to open stream: No such file or directory in /home/uuh77/public_html/root.php on line 152 require(basename($PHP_SELF)); 3) When trying to access a techloan.php I get: root.php //---------------------------------------------------------------------------- //-MS- Beginning of application_top.php section //---------------------------------------------------------------------------- // start the timer for the page parse time log define('PAGE_PARSE_START_TIME', microtime()); // set the level of error reporting error_reporting(E_ALL & ~E_NOTICE); // check if register_globals is enabled. // since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized. // >>> BEGIN REGISTER_GLOBALS // if (function_exists('ini_get')) { // ini_get('register_globals') or exit('Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.'); // } // <<< END REGISTER_GLOBALS // Set the local configuration parameters - mainly for developers if (file_exists('includes/local/configure.php')) include('includes/local/configure.php'); // include server parameters require('includes/configure.php'); if (strlen(DB_SERVER) < 1) { if (is_dir('install')) { header('Location: install/index.php'); } } // define the project version define('PROJECT_VERSION', 'osCommerce 2.2-MS2'); // set the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; // set php_self in the local scope if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; if ($request_type == 'NONSSL') { define('DIR_WS_CATALOG', DIR_WS_HTTP_CATALOG); $g_relpath = HTTP_SERVER . DIR_WS_CATALOG; $g_server = HTTP_SERVER; } else { define('DIR_WS_CATALOG', DIR_WS_HTTPS_CATALOG); $g_relpath = HTTPS_SERVER . DIR_WS_CATALOG; $g_server = HTTPS_SERVER; } // include the list of project filenames require(DIR_WS_INCLUDES . 'filenames.php'); // include the list of project database tables require(DIR_WS_INCLUDES . 'database_tables.php'); // customization for the design layout define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) // include the database functions require(DIR_WS_FUNCTIONS . 'database.php'); // BOF-drop-down price contribution define('FILENAME_SHOP_BY_PRICE','shop_by_price.php'); // EOF-drop-down price contribution define('FILENAME_TECHLOAN','techloan.php'); // make a connection to the database... now tep_db_connect() or die('Unable to connect to database server!'); // set the application parameters $configuration_query = tep_db_query('select configuration_key as cfgKey, configuration_value as cfgValue from ' . TABLE_CONFIGURATION); while ($configuration = tep_db_fetch_array($configuration_query)) { define($configuration['cfgKey'], $configuration['cfgValue']); } //---------------------------------------------------------------------------- //-MS- End of application_top.php section //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // SEO-G Section starts here. This part is required for proper operation // Do not override the code below //---------------------------------------------------------------------------- require(DIR_WS_CLASSES . 'seo_url.php'); $g_seo_url = new seoURL; $osc_url = $osc_params = $osc_parse = ''; if( $g_seo_url->get_osc_url($g_server . $_SERVER['REQUEST_URI'], $osc_url, $osc_params, $osc_parse) ) { $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'] = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = $osc_parse['path']; if(basename($_SERVER['PHP_SELF']) == 'root.php' ) { echo '<b>SEO-G Error</b>: Invalid Self-Request - Check recorded URLs'; exit(); } $tmp_array = array(); for($i=0, $j=count($osc_params); $i<$j; $i++ ) { $array_equal = explode('=', $osc_params[$i]); if( is_array($array_equal) ) { if( isset($array_equal[1]) ) { $tmp_array[$array_equal[0]] = $array_equal[1]; } else { $tmp_array[$array_equal[0]] = ''; } } } $tmp_array = array_merge($HTTP_GET_VARS,$tmp_array); // Synchronize global arrays. $HTTP_GET_VARS = $_GET = $tmp_array; unset($tmp_array); // Synchronize query string variables $HTTP_SERVER_VARS['QUERY_STRING'] = $_SERVER['QUERY_STRING'] = implode('&',$osc_params); $g_script = basename($PHP_SELF); // Signal SEO-G translation. $g_seo_flag = true; require(basename($PHP_SELF)); } elseif( file_exists(basename($osc_parse['path']))) { $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'] = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = $osc_parse['path']; if(basename($_SERVER['PHP_SELF']) == 'root.php' ) { echo '<b>SEO-G Error</b>: Invalid Self-Request, passed URI Request: ' . $_SERVER['REQUEST_URI']; exit(); } $g_script = basename($PHP_SELF); $g_seo_flag = true; require(basename($osc_parse['path'])); } else { // Script not found. Initiate redirection header("HTTP/1.1 " . SEO_DEFAULT_ERROR_HEADER); header('Location: ' . $g_relpath . SEO_DEFAULT_ERROR_REDIRECT); //echo STORE_NAME . ' - Page was moved'; } exit(); ?> .htaccess # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://mydomainl.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://mydomain.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] #-MS- SEO-G Added Options +FollowSymLinks RewriteEngine On # Next line must be changed to match your osCommerce folder - the relative path RewriteBase / RewriteRule ^(.*).html$ root.php?$1.html&%{QUERY_STRING} RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING} #-MS- SEO-G Added EOM <Files 403.shtml> order allow,deny allow from all </Files> I will really appreciate some help. Quote Link to comment Share on other sites More sharing options...
elton123 Posted March 10, 2008 Share Posted March 10, 2008 Hi I've installed SEO-G v1.20, but ran into the following problems. 1) When trying to access Admin I'm being re-directed. 2) When accessing the Review Products I get the following error message: Warning: main(product_reviews_info.php) [function.main]: failed to open stream: No such file or directory in /home/uuh77/public_html/root.php on line 152 require(basename($PHP_SELF)); 3) When trying to access a techloan.php I get: root.php //---------------------------------------------------------------------------- //-MS- Beginning of application_top.php section //---------------------------------------------------------------------------- // start the timer for the page parse time log define('PAGE_PARSE_START_TIME', microtime()); // set the level of error reporting error_reporting(E_ALL & ~E_NOTICE); // check if register_globals is enabled. // since this is a temporary measure this message is hardcoded. The requirement will be removed before 2.2 is finalized. // >>> BEGIN REGISTER_GLOBALS // if (function_exists('ini_get')) { // ini_get('register_globals') or exit('Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.'); // } // <<< END REGISTER_GLOBALS // Set the local configuration parameters - mainly for developers if (file_exists('includes/local/configure.php')) include('includes/local/configure.php'); // include server parameters require('includes/configure.php'); if (strlen(DB_SERVER) < 1) { if (is_dir('install')) { header('Location: install/index.php'); } } // define the project version define('PROJECT_VERSION', 'osCommerce 2.2-MS2'); // set the type of request (secure or not) $request_type = (getenv('HTTPS') == 'on') ? 'SSL' : 'NONSSL'; // set php_self in the local scope if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; if ($request_type == 'NONSSL') { define('DIR_WS_CATALOG', DIR_WS_HTTP_CATALOG); $g_relpath = HTTP_SERVER . DIR_WS_CATALOG; $g_server = HTTP_SERVER; } else { define('DIR_WS_CATALOG', DIR_WS_HTTPS_CATALOG); $g_relpath = HTTPS_SERVER . DIR_WS_CATALOG; $g_server = HTTPS_SERVER; } // include the list of project filenames require(DIR_WS_INCLUDES . 'filenames.php'); // include the list of project database tables require(DIR_WS_INCLUDES . 'database_tables.php'); // customization for the design layout define('BOX_WIDTH', 125); // how wide the boxes should be in pixels (default: 125) // include the database functions require(DIR_WS_FUNCTIONS . 'database.php'); // BOF-drop-down price contribution define('FILENAME_SHOP_BY_PRICE','shop_by_price.php'); // EOF-drop-down price contribution define('FILENAME_TECHLOAN','techloan.php'); // make a connection to the database... now tep_db_connect() or die('Unable to connect to database server!'); // set the application parameters $configuration_query = tep_db_query('select configuration_key as cfgKey, configuration_value as cfgValue from ' . TABLE_CONFIGURATION); while ($configuration = tep_db_fetch_array($configuration_query)) { define($configuration['cfgKey'], $configuration['cfgValue']); } //---------------------------------------------------------------------------- //-MS- End of application_top.php section //---------------------------------------------------------------------------- //---------------------------------------------------------------------------- // SEO-G Section starts here. This part is required for proper operation // Do not override the code below //---------------------------------------------------------------------------- require(DIR_WS_CLASSES . 'seo_url.php'); $g_seo_url = new seoURL; $osc_url = $osc_params = $osc_parse = ''; if( $g_seo_url->get_osc_url($g_server . $_SERVER['REQUEST_URI'], $osc_url, $osc_params, $osc_parse) ) { $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'] = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = $osc_parse['path']; if(basename($_SERVER['PHP_SELF']) == 'root.php' ) { echo '<b>SEO-G Error</b>: Invalid Self-Request - Check recorded URLs'; exit(); } $tmp_array = array(); for($i=0, $j=count($osc_params); $i<$j; $i++ ) { $array_equal = explode('=', $osc_params[$i]); if( is_array($array_equal) ) { if( isset($array_equal[1]) ) { $tmp_array[$array_equal[0]] = $array_equal[1]; } else { $tmp_array[$array_equal[0]] = ''; } } } $tmp_array = array_merge($HTTP_GET_VARS,$tmp_array); // Synchronize global arrays. $HTTP_GET_VARS = $_GET = $tmp_array; unset($tmp_array); // Synchronize query string variables $HTTP_SERVER_VARS['QUERY_STRING'] = $_SERVER['QUERY_STRING'] = implode('&',$osc_params); $g_script = basename($PHP_SELF); // Signal SEO-G translation. $g_seo_flag = true; require(basename($PHP_SELF)); } elseif( file_exists(basename($osc_parse['path']))) { $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'] = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = $osc_parse['path']; if(basename($_SERVER['PHP_SELF']) == 'root.php' ) { echo '<b>SEO-G Error</b>: Invalid Self-Request, passed URI Request: ' . $_SERVER['REQUEST_URI']; exit(); } $g_script = basename($PHP_SELF); $g_seo_flag = true; require(basename($osc_parse['path'])); } else { // Script not found. Initiate redirection header("HTTP/1.1 " . SEO_DEFAULT_ERROR_HEADER); header('Location: ' . $g_relpath . SEO_DEFAULT_ERROR_REDIRECT); //echo STORE_NAME . ' - Page was moved'; } exit(); ?> .htaccess # $Id: .htaccess,v 1.3 2003/06/12 10:53:20 hpdl Exp $ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> RewriteCond %{HTTP_REFERER} !^$ RewriteCond %{HTTP_REFERER} !^http://mydomainl.com/.*$ [NC] RewriteCond %{HTTP_REFERER} !^http://mydomain.com$ [NC] RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC] #-MS- SEO-G Added Options +FollowSymLinks RewriteEngine On # Next line must be changed to match your osCommerce folder - the relative path RewriteBase / RewriteRule ^(.*).html$ root.php?$1.html&%{QUERY_STRING} RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING} #-MS- SEO-G Added EOM <Files 403.shtml> order allow,deny allow from all </Files> I will really appreciate some help. Sorry meant to say: 3) When trying to access a techloan.php I get: Warning: main(techloan.php) [function.main]: failed to open stream: No such file or directory in /home/uuh77/public_html/root.php on line 152 Quote Link to comment Share on other sites More sharing options...
ecustomwheels Posted March 10, 2008 Share Posted March 10, 2008 I have just installed seo g and everything is working good except for when someone goes to the manufactures drop down list. Then the seo g does not work correctly. website here This is the link for the website. Do i need to change something in the admin section. Thanks in advance to any replys. Quote Link to comment Share on other sites More sharing options...
yulem Posted March 20, 2008 Share Posted March 20, 2008 I'm trying to get SEO-G v1.20 to work with Links Manager II v1.18. SEO-G works fine for everything but Links Manager. Links Manager appears to be working fine. The Links Manager link in the Information Box of my left column maps correctly to "links.html" and I see my Link Categories page correctly. But when I select a Link Category link I am not getting the SEO-G url remappings. I see "http://yulemshop.com/links.php?parentid=0&lPath=3" rather than the name in SEO-G Zones which is "fringe-aesthetics" for example! There are no errors in Apache logs My .htaccess works for everything else; I have the original RewriteRule only: "RewriteRule ^(.*).html$ root.php?$1.html&%{QUERY_STRING}" I have uncommented the two Links Manager sections of code in seo_url.php To the best of my knowledge the Admin configuration is correct: 1) SEO-G Types has "Link Categories" enabled, no extra handlers, seo_links for its class and 15,4 for Order and Linkage (no Order or Linkage number is shared) 2)SEO-G Controller displays "Link Categories"; Details shows correct information and names are "included" (The database is getting correctly populated!) 3)SEO-G Reports shows two lines of interest: First is for the link in the Information Box in the Left Column: http://192.168.20.91/links.php (maps to -->) http://192.168.20.91/links.html This is correct. Next line results from following any Link Category the first time: http://192.168.20.91/links.php?lPath=0 (maps to -->) http://192.168.20.91/links_lpath-0.html This link is not correct and takes me to the same page as http://192.168.20.91/links.html. Subsequent selections of other Link Categories add no new mappings. Have I missed something in the configuration?? (I almost missed uncommenting seo_url.php!) Are the Order and Linkgage numbers OK? Do I need to modify .htaccess? Do I need to add a "handler"? If so which program? Is something in Link Manager NOT using "tep_href_link"? Help! Thanks, Yulem Quote Link to comment Share on other sites More sharing options...
azer Posted March 23, 2008 Share Posted March 23, 2008 i read all the topic 50 pages but couldnt find any information on the error i got with fckeditor i will copy my htacess just below when i edit a product instead of the fckeditor toolbar and the description field i got a frame with the catalog part index shown when i switch to off : RewriteEngine Off then i got the toolbar back any ideas ? <IfModule mod_setenvif.c> <IfDefine SSL> SetEnvIf User-Agent ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 </IfDefine> </IfModule> # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) #<IfModule mod_php4.c> # php_value session.use_trans_sid 0 # php_value register_globals 1 #</IfModule> # **** AZER 12fev08 SEO-G 1 OF 2 BOF ************** Options +FollowSymLinks RewriteEngine Off # Next line must be changed to match your site - the relative path RewriteBase /ms2fr/shop/ RewriteRule ^(.*).html$ root.php?$1.html&%{QUERY_STRING} # **** AZER 12fev08 SEO-G EOF ============== # **** AZERISH 12fev08 Astuce de Philipe BOF ************** # Skip the next two rewriterules if NOT a spider RewriteCond %{HTTP_USER_AGENT} !(msnbot|slurp|googlebot) [NC] RewriteRule .* - [S=2] # # case: leading and trailing parameters RewriteCond %{QUERY_STRING} ^(.+)&osCsid=[0-9a-z]+&(.+)$ [NC] RewriteRule (.*) $1?%1&%2 [R=301,L] # # case: leading-only, trailing-only or no additional parameters RewriteCond %{QUERY_STRING} ^(.+)&osCsid=[0-9a-z]+$|^osCsid=[0-9a-z]+&?(.*)$ [NC] # **** AZERISH 12fev08 Astuce de Philipe EOF ============ # prevent any php code from direct execution in these open folders RewriteRule admin/backups/(.*)\.php $1.html [L] RewriteRule admin/images/graphs/(.*)\.php $1.html [L] RewriteRule log/(.*)\.php $1.html [L] RewriteRule debug/(.*)\.php $1.html [L] RewriteRule images/(.*)\.php $1.html [L] RewriteRule includes/key/(.*)\.php $1.html [L] RewriteRule includes/languages/(.*)\.php $1.html [L] RewriteRule pub/(.*)\.php $1.html [L] RewriteRule temp/(.*)\.php $1.html [L] RewriteRule tmp/(.*)\.php $1.html [L] Quote MS2 Link to comment Share on other sites More sharing options...
premiere Posted March 25, 2008 Share Posted March 25, 2008 (edited) Is there a way for SEO-G to create custom page results for the top searchable keywords? It doesnt have to be automatic, just enough to give us access to create a page for the word search. Example, If I have over 3000 searches per day using "Cute Hat", but this is not a manufacturer nor a category. Simply a very very popular key word used in the search feature. How can I make it so that SEO-G creates this page: http://www.mysite.com/cute-hat.html If SEO-G did this for the most used searchable phrases that would be awesome or like I said, just giving us the option to choose a word search & Redirect it: Search URL http://www.mysite.com/advanced_search_result.html?keywords=cute+hat Output Name http://www.mysite.com/cute-hat.html Is there a way to do this? Would this be a new SEO-Type??? Thanx. Edited March 25, 2008 by Jan Zonjee Quote Link to comment Share on other sites More sharing options...
Guest Posted March 25, 2008 Share Posted March 25, 2008 I recently installed a SSL and now every page begins https:// so I thought it was high time to see what effect it had had on Google sitemap. The map generated now shows products as =id234 etc. I looked at SEO-G reports to make sure they're being generated OK and there's nothing there. Does anyone know if installing SSL can mess up SEO-G and thus Google sitemap ? Quote Link to comment Share on other sites More sharing options...
premiere Posted March 25, 2008 Share Posted March 25, 2008 First up: Great Mod, congradats to the author! I have a few questions though: 1) At the begining of every browser session, the first product, category link, etc. that I click on displays the original url, but any link after that shows the proper seo url. Why is this? I have no additional mods that would affect this, and I have the default settings set-up except that I enabled seo-g urls. 2) I noticed this mod displays the url in title, is there a way to change this? Can this be used in conjuction with any other meta tag geneartor mods? 3) Is there any mod I can safely used to create a sitemap page that I can add to my website that will work seo-g mod? Thanks again, and great work!! SEO doesnt do anything to the title or header tags. Those are in there as an OSCommerce default. What youre looking for is the Head Tag Controller mod. Quote Link to comment Share on other sites More sharing options...
vali_cd Posted March 28, 2008 Share Posted March 28, 2008 Hi Mark, I have installed the SEO-G version 1.2 on my new oscommerce installation which is hosted at bluehost.com. I have also followed the instructions. However, it seems there is a problem with the .htaccess file. I cant access the pages in the admin. each time I am redirected to cookie_usage.php with a message "We have detected that your browser does not support cookies, or has set cookies to be disabled." When I commented the SEO-G lines in the .htaccess file the admin works fine. The front store however, works ok with very friendly URLs. What seems to be the problem? Thanks, Hanan I have the same problem, It worked for 2 days, but now i am suddenly being redirected to cookie_usage.php. i noticed that if i comment the last line in mysite/admin/.htaccess, the one that says "require valid-user " it works ok, but that not what i want. i want it to ask for user name and password. Can you please tell me how you solved this issue. Thanks Quote Link to comment Share on other sites More sharing options...
dietsources Posted March 29, 2008 Share Posted March 29, 2008 Just install SEO-G, I followed step by step the installation package but SEO-G option not showing in my panel. Please help Quote Link to comment Share on other sites More sharing options...
jsi Posted March 31, 2008 Share Posted March 31, 2008 I have the same problem, It worked for 2 days, but now i am suddenly being redirected to cookie_usage.php. i noticed that if i comment the last line in mysite/admin/.htaccess, the one that says "require valid-user " it works ok, but that not what i want. i want it to ask for user name and password. Can you please tell me how you solved this issue. Thanks Backup your htaccess file. then try adding this above your SEO text: RedirectMatch permanent ^/admin$ https://www.yoursite.com/admin/index.php RedirectMatch permanent ^/admin/$ https://www.yoursite.com/admin/index.php Quote mmmmmmmmmmmm. Doughnuts . . . haha. i said nuts. Link to comment Share on other sites More sharing options...
jsi Posted March 31, 2008 Share Posted March 31, 2008 Just install SEO-G, I followed step by step the installation package but SEO-G option not showing in my panel.Please help You missed some steps when editing the files in your admin folder. Double check all files that you edited in the admin folder. Quote mmmmmmmmmmmm. Doughnuts . . . haha. i said nuts. Link to comment Share on other sites More sharing options...
Guest Posted April 8, 2008 Share Posted April 8, 2008 This is where I'm taken, having selected PayPal Express Checkout: Warning: main(express.php): failed to open stream: No such file or directory in /hsphere/local/home/mydomain/mydomain.com/catalog/root.php on line 125 Warning: main(express.php): failed to open stream: No such file or directory in /hsphere/local/home/mydomain/mydomain.com/catalog/root.php on line 125 Fatal error: main(): Failed opening required 'express.php' (include_path='.:/usr/local/lib/php:/usr/local/share/pear') in /hsphere/local/home/mydomain/mydomain.com/catalog/root.php on line 125 I've identified root.php as an additional file introduced with SEO-G. The following is the root.php code starting at line 125: require(basename($PHP_SELF)); } elseif( file_exists(basename($osc_parse['path']))) { $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'] = $_SERVER['PHP_SELF'] = $_SERVER['SCRIPT_NAME'] = $osc_parse['path']; if(basename($_SERVER['PHP_SELF']) == 'root.php' ) { exit(); } $g_script = basename($PHP_SELF); $g_seo_flag = true; require(basename($osc_parse['path'])); } else { // Script not found. Initiate redirection header("HTTP/1.1 " . SEO_DEFAULT_ERROR_HEADER); header('Location: ' . $g_relpath . SEO_DEFAULT_ERROR_REDIRECT); } exit(); ?> Does anybody know whether I'm on the right track ? I feel like I'm getting close Thanks for any help ! Quote Link to comment Share on other sites More sharing options...
dietsources Posted April 10, 2008 Share Posted April 10, 2008 I have installed the SEO-G on my site http://www.dietsources.net and it has been working fine for a couple of days until yesterday it has been interferring with all my HTML coded sites that are on the hosting account. All HTML sites are being redirect to an error 400 page not found. Dietsources is the main site on the hosting account and the others in their assign folder. When I do http://www.dietsources.net/emagrecesim-us/ it gives me the following message Warning: main(emagrecesim-us): failed to open stream: No such file or directory in /home/content/d/i/e/dietsources/html/root.php on line 154 Warning: main(emagrecesim-us): failed to open stream: No such file or directory in /home/content/d/i/e/dietsources/html/root.php on line 154 Fatal error: main(): Failed opening required 'emagrecesim-us' (include_path='.:/usr/local/lib/php') in /home/content/d/i/e/dietsources/html/root.php on line 154 I had to remove the .htaccess file completely in the catalog in order to have the other sites back up. Can you please recommend on how to fix this issue. Regards, Peter SEO-G provides automatic generation of URLs with your osCommerce store. Using multiple configuration options to generate a clear hierarchical structure of your store's entities, this module can significantly boost your marketing and SEO campaign. Using osCommerce the no.1 e-commerce engine available today, as the base framework, SEO-G can utilize the database tables and generate the most comprehensive and spider-friendly URLs. Links can be generated at the same level as your store using configurable separation characters or emulate a multi-level directory structure. SEO-G represents a set of classes around a special framework that can process the database tables, generate meaningful names which can be further customized and finally create spider-friendly URLs. The module provides a set of configurable scripts on the osC Admin end, where the store owner can configure types, handlers, set names for various entities (eg: products,categories,articles,topics) as well as monitor the generated urls. In addition the framework is designed to easily support custom classes. On the catalog end, the operation of SEO-G is fairly simple, yet extremely effective. It relies on a redirect method via .htaccess where a single script handles every URL conversion/request. Once an SEO-G URL is detected the system translates it to the original osCommerce URL. When installed this contribution generates spider-friendly links for all the store's pages. SEO-G links are generated progressively and no database identifiers are necessary within the links. Contribution Link will be posted shortly as it has to be manually approved Quote Link to comment Share on other sites More sharing options...
jsi Posted April 10, 2008 Share Posted April 10, 2008 When I do http://www.dietsources.net/emagrecesim-us/ it gives me the following message Warning: main(emagrecesim-us): failed to open stream: No such file or directory in /home/content/d/i/e/dietsources/html/root.php on line 154 Warning: main(emagrecesim-us): failed to open stream: No such file or directory in /home/content/d/i/e/dietsources/html/root.php on line 154 Fatal error: main(): Failed opening required 'emagrecesim-us' (include_path='.:/usr/local/lib/php') in /home/content/d/i/e/dietsources/html/root.php on line 154 You cannot link to open URLs like that. You must specify the index or default landing page in that directory. http://www.dietsources.net/emagrecesim-us/index.html Second option would be to edit your htaccess file like this (above the SEO-G code): RedirectMatch permanent ^/emagrecesim-us/$ http://www.dietsources.net/emagrecesim-us/index.html You would do this for all subdirectories you have. Do whatever is faster for you. Quote mmmmmmmmmmmm. Doughnuts . . . haha. i said nuts. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.