shop.balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

d_seo_module.php (10872B)


      1 <?php 
      2 $_['d_seo_module_setting'] = array(
      3 	'list_limit' => '20',
      4 	'default_target_keywords' => array(
      5 		'common/home' => array('webshop'),
      6 		'product/manufacturer' => array('brand'),
      7 		'product/special' => array('special'),
      8 		'information/contact' => array('contact')
      9 	),
     10 	'default_htaccess' => <<<TEXT
     11 # 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
     12 
     13 # 2. In your opencart directory rename htaccess.txt to .htaccess.
     14 
     15 # For any support issues please visit: http://www.opencart.com
     16 
     17 Options +SymLinksIfOwnerMatch
     18 
     19 # Prevent Directoy listing
     20 Options -Indexes
     21 
     22 # Prevent Direct Access to files
     23 <FilesMatch "(?i)((\.tpl|.twig|\.ini|\.log|(?<!robots)\.txt))">
     24  Require all denied
     25 ## For apache 2.2 and older, replace "Require all denied" with these two lines :
     26 # Order deny,allow
     27 # Deny from all
     28 </FilesMatch>
     29 
     30 # SEO URL Settings
     31 RewriteEngine On
     32 # If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
     33 
     34 RewriteBase [catalog_url_path]
     35 RewriteRule ^sitemap.xml$ index.php?route=extension/feed/google_sitemap [L]
     36 RewriteRule ^googlebase.xml$ index.php?route=extension/feed/google_base [L]
     37 RewriteRule ^system/storage/(.*) index.php?route=error/not_found [L]
     38 RewriteCond %{REQUEST_FILENAME} !-f
     39 RewriteCond %{REQUEST_FILENAME} !-d
     40 RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
     41 RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
     42 
     43 ### Additional Settings that may need to be enabled for some servers
     44 ### Uncomment the commands by removing the # sign in front of it.
     45 ### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.
     46 
     47 # 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
     48 # php_flag register_globals off
     49 
     50 # 2. If your cart has magic quotes enabled, This may work to disable it:
     51 # php_flag magic_quotes_gpc Off
     52 
     53 # 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
     54 # php_value upload_max_filesize 999M
     55 
     56 # 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
     57 # php_value post_max_size 999M
     58 
     59 # 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
     60 # php_value max_execution_time 200
     61 
     62 # 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
     63 # php_value max_input_time 200
     64 
     65 # 7. disable open_basedir limitations
     66 # php_admin_value open_basedir none
     67 
     68 TEXT
     69 	,
     70 	'default_robots' => <<<TEXT
     71 User-agent: *
     72 Disallow: /*route=account/
     73 Disallow: /*route=affiliate/
     74 Disallow: /*route=checkout/
     75 Disallow: /*route=product/search
     76 Disallow: /index.php?route=product/product*&manufacturer_id=
     77 Disallow: /admin
     78 Disallow: /catalog
     79 Disallow: /system
     80 Disallow: /*?sort=
     81 Disallow: /*&sort=
     82 Disallow: /*?order=
     83 Disallow: /*&order=
     84 Disallow: /*?limit=
     85 Disallow: /*&limit=
     86 Disallow: /*?format=
     87 Disallow: /*&format=
     88 Disallow: /*?tracking=
     89 Disallow: /*&tracking=
     90 Disallow: /*?filter=
     91 Disallow: /*&filter=
     92 Disallow: /*?filter_name=
     93 Disallow: /*&filter_name=
     94 Disallow: /*?filter_sub_category=
     95 Disallow: /*&filter_sub_category=
     96 Disallow: /*?filter_description=
     97 Disallow: /*&filter_description=
     98 
     99 Sitemap: [catalog_url]sitemap.xml
    100 Host: [catalog_url_host]
    101 
    102 TEXT
    103 );
    104 $_['d_seo_module_field_setting'] = array(
    105 	'sheet' => array(
    106 		'category' => array(
    107 			'code' => 'category',
    108 			'icon' => 'fa-navicon',
    109 			'name' => 'text_category',
    110 			'sort_order' => '1',
    111 			'field' => array(
    112 				'target_keyword' => array(
    113 					'code' => 'target_keyword',
    114 					'name' => 'text_target_keyword',
    115 					'description' => 'help_target_keyword',
    116 					'type' => 'textarea',
    117 					'sort_order' => '20',
    118 					'multi_store' => true,
    119 					'multi_language' => true,
    120 					'multi_store_status' => false,
    121 					'required' => false
    122 				)
    123 			)
    124 		),
    125 		'product' => array(
    126 			'code' => 'product',
    127 			'icon' => 'fa-shopping-cart',
    128 			'name' => 'text_product',
    129 			'sort_order' => '2',
    130 			'field' => array(
    131 				'target_keyword' => array(
    132 					'code' => 'target_keyword',
    133 					'name' => 'text_target_keyword',
    134 					'description' => 'help_target_keyword',
    135 					'type' => 'textarea',
    136 					'sort_order' => '20',
    137 					'multi_store' => true,
    138 					'multi_language' => true,
    139 					'multi_store_status' => false,
    140 					'required' => false
    141 				)
    142 			)
    143 		),
    144 		'manufacturer' => array(
    145 			'code' => 'manufacturer',
    146 			'icon' => 'fa-tag',
    147 			'name' => 'text_manufacturer',
    148 			'sort_order' => '3',
    149 			'field' => array(
    150 				'target_keyword' => array(
    151 					'code' => 'target_keyword',
    152 					'name' => 'text_target_keyword',
    153 					'description' => 'help_target_keyword',
    154 					'type' => 'textarea',
    155 					'sort_order' => '20',
    156 					'multi_store' => true,
    157 					'multi_language' => true,
    158 					'multi_store_status' => false,
    159 					'required' => false
    160 				)
    161 			)
    162 		),
    163 		'information' => array(
    164 			'code' => 'information',
    165 			'icon' => 'fa-info-circle',
    166 			'name' => 'text_information',
    167 			'sort_order' => '4',
    168 			'field' => array(
    169 				'target_keyword' => array(
    170 					'code' => 'target_keyword',
    171 					'name' => 'text_target_keyword',
    172 					'description' => 'help_target_keyword',
    173 					'type' => 'textarea',
    174 					'sort_order' => '20',
    175 					'multi_store' => true,
    176 					'multi_language' => true,
    177 					'multi_store_status' => false,
    178 					'required' => false
    179 				)
    180 			)
    181 		),
    182 		'custom_page' => array(
    183 			'code' => 'custom_page',
    184 			'icon' => 'fa-file-o',
    185 			'name' => 'text_custom_page',
    186 			'sort_order' => '50',
    187 			'field' => array(
    188 				'target_keyword' => array(
    189 					'code' => 'target_keyword',
    190 					'name' => 'text_target_keyword',
    191 					'description' => 'help_target_keyword',
    192 					'type' => 'textarea',
    193 					'sort_order' => '20',
    194 					'multi_store' => true,
    195 					'multi_language' => true,
    196 					'multi_store_status' => false,
    197 					'required' => false
    198 				)
    199 			)
    200 		)
    201 	)
    202 );
    203 $_['d_seo_module_target_setting'] = array(
    204 	'sheet' => array(
    205 		'category' => array(
    206 			'code' => 'category',
    207 			'icon' => 'fa-navicon',
    208 			'name' => 'text_category',
    209 			'sort_order' => '1'
    210 		),
    211 		'product' => array(
    212 			'code' => 'product',
    213 			'icon' => 'fa-shopping-cart',
    214 			'name' => 'text_product',
    215 			'sort_order' => '2'
    216 		),
    217 		'manufacturer' => array(
    218 			'code' => 'manufacturer',
    219 			'icon' => 'fa-tag',
    220 			'name' => 'text_manufacturer',
    221 			'sort_order' => '3'
    222 		),
    223 		'information' => array(
    224 			'code' => 'information',
    225 			'icon' => 'fa-info-circle',
    226 			'name' => 'text_information',
    227 			'sort_order' => '4'
    228 		),
    229 		'custom_page' => array(
    230 			'code' => 'custom_page',
    231 			'icon' => 'fa-file-o',
    232 			'name' => 'text_custom_page',
    233 			'sort_order' => '50'
    234 		)
    235 	)
    236 );
    237 $_['d_seo_module_manager_setting'] = array(
    238 	'sheet' => array(
    239 		'category' => array(
    240 			'code' => 'category',
    241 			'field' => array(
    242 				'target_keyword' => array(
    243 					'code' => 'target_keyword',
    244 					'name' => 'text_target_keyword',
    245 					'type' => 'textarea',
    246 					'sort_order' => '20',
    247 					'multi_store' => true,
    248 					'multi_language' => true,
    249 					'list_status' => true,
    250 					'export_status' => true,
    251 					'required' => false
    252 				)
    253 			)
    254 		),
    255 		'product' => array(
    256 			'code' => 'product',
    257 			'field' => array(
    258 				'target_keyword' => array(
    259 					'code' => 'target_keyword',
    260 					'name' => 'text_target_keyword',
    261 					'type' => 'textarea',
    262 					'sort_order' => '20',
    263 					'multi_store' => true,
    264 					'multi_language' => true,
    265 					'list_status' => true,
    266 					'export_status' => true,
    267 					'required' => false
    268 				)
    269 			)
    270 		),
    271 		'manufacturer' => array(
    272 			'code' => 'manufacturer',
    273 			'field' => array(
    274 				'target_keyword' => array(
    275 					'code' => 'target_keyword',
    276 					'name' => 'text_target_keyword',
    277 					'type' => 'textarea',
    278 					'sort_order' => '20',
    279 					'multi_store' => true,
    280 					'multi_language' => true,
    281 					'list_status' => true,
    282 					'export_status' => true,
    283 					'required' => false
    284 				)
    285 			)
    286 		),
    287 		'information' => array(
    288 			'code' => 'information',
    289 			'field' => array(
    290 				'target_keyword' => array(
    291 					'code' => 'target_keyword',
    292 					'name' => 'text_target_keyword',
    293 					'type' => 'textarea',
    294 					'sort_order' => '20',
    295 					'multi_store' => true,
    296 					'multi_language' => true,
    297 					'list_status' => true,
    298 					'export_status' => true,
    299 					'required' => false
    300 				)
    301 			)
    302 		)
    303 	)
    304 );
    305 $_['d_seo_module_feature_setting'] = array(
    306 	'dashboard_widget_for_duplicate_and_empty_target_keywords' => array(
    307 		'name' => 'text_dashboard_widget_for_duplicate_and_empty_target_keywords',
    308 		'image' => 'd_seo_module/feature/dashboard_widget_for_duplicate_and_empty_target_keywords.svg',
    309 		'href' => 'https://opencartseomodule.com/dashboard-widget-for-duplicate-target-keywords',
    310 	),
    311 	'opencart_tag_search_fix' => array(
    312 		'name' => 'text_opencart_tag_search_fix',
    313 		'image' => 'd_seo_module/feature/opencart_tag_search_fix.svg',
    314 		'href' => 'https://opencartseomodule.com/opencart-tag-search-fix',
    315 	),
    316 	'opencart_first_load_of_comments_fix' => array(
    317 		'name' => 'text_opencart_first_load_of_comments_fix',
    318 		'image' => 'd_seo_module/feature/opencart_first_load_of_comments_fix.svg',
    319 		'href' => 'https://opencartseomodule.com/opencart-first-load-of-comments-fix',
    320 	),
    321 	'target_keyword_planner' => array(
    322 		'name' => 'text_target_keyword_planner',
    323 		'image' => 'd_seo_module/feature/target_keyword_planner.svg',
    324 		'href' => 'https://opencartseomodule.com/target-keyword-planner',
    325 	),
    326 	'seo_module_api' => array(
    327 		'name' => 'text_seo_module_api',
    328 		'image' => 'd_seo_module/feature/seo_module_api.svg',
    329 		'href' => 'https://opencartseomodule.com/seo-module-api',
    330 	),
    331 	'export_import_target_keywords_for_custom_pages' => array(
    332 		'name' => 'text_export_import_target_keywords_for_custom_pages',
    333 		'image' => 'd_seo_module/feature/export_import_target_keywords_for_custom_pages.svg',
    334 		'href' => 'https://opencartseomodule.com/export-import-for-custom-page-keywords',
    335 	),
    336 	'robots_txt_editor' => array(
    337 		'name' => 'text_robots_txt_editor',
    338 		'image' => 'd_seo_module/feature/robots_txt_editor.svg',
    339 		'href' => 'https://opencartseomodule.com/robots-txt-editor',
    340 	),
    341 	'htaccess_editor' => array(
    342 		'name' => 'text_htaccess_editor',
    343 		'image' => 'd_seo_module/feature/htaccess_editor.svg',
    344 		'href' => 'https://opencartseomodule.com/opencart-htaccess-editor',
    345 	),
    346 	'seo_module_multi_store_support' => array(
    347 		'name' => 'text_seo_module_multi_store_support',
    348 		'image' => 'd_seo_module/feature/seo_module_multi_store_support.svg',
    349 		'href' => 'https://opencartseomodule.com/multistore-seo-support',
    350 	),
    351 	'seo_module_quick_setup' => array(
    352 		'name' => 'text_seo_module_quick_setup',
    353 		'image' => 'd_seo_module/feature/seo_module_quick_setup.svg',
    354 		'href' => 'https://opencartseomodule.com/quick-setup',
    355 	)
    356 );
    357 ?>