nemiroff Posted October 12, 2011 Report Share Posted October 12, 2011 Sveiki, piemērs, ir - www.piemers.lv atverot viņu rādās balta lapa ar tekstu - Index of / ar linku wordpress, uzspiežot atveras www.piemers.lv/wordpress/ un viss ir tā kā tam jābūt, kur un kas cpanelī jāmaina, lai atverot piemers.lv rādas /wordpress/ saturs? skatīt pievienoto skrīnu. Quote Link to comment Share on other sites More sharing options...
werd Posted October 12, 2011 Report Share Posted October 12, 2011 (edited) 1. Direktorija "wordpress" saturu "iznes" root direktorijā. 2. Kā document root norādi ceļu uz direktoriju "wordpress". Edited October 12, 2011 by werd Quote Link to comment Share on other sites More sharing options...
nemiroff Posted October 12, 2011 Author Report Share Posted October 12, 2011 1. Direktorija "wordpress" saturu "iznes" root direktorijā. 2. Kā document root norādi ceļu uz direktoriju "wordpress". hmm,šķiet esmu īpaši apveltīts - neko nesaprotu:D nav kāds tutriāls tam? Quote Link to comment Share on other sites More sharing options...
daGrevis Posted October 12, 2011 Report Share Posted October 12, 2011 Tev visi faili ir mapē /wordpress, vai ne? Iznes tos failus (cut -> paste) mapi uz augšu. / / [sheit jābūt tiem failiem] (nav mapes!) / wordpress (mape) / [pashreiz faili atrodas te] Tas, protams, ir vieglākais veids. :D Quote Link to comment Share on other sites More sharing options...
nemiroff Posted October 12, 2011 Author Report Share Posted October 12, 2011 (edited) Tev visi faili ir mapē /wordpress, vai ne? Iznes tos failus (cut -> paste) mapi uz augšu. / / [sheit jābūt tiem failiem] (nav mapes!) / wordpress (mape) / [pashreiz faili atrodas te] Tas, protams, ir vieglākais veids. :D Nu vo šito sapratu :D paldies! ups, vispār ir gļuks, lapa atveras smuki, bet nevar tikt "dashboard" rāda- "page no found". Un vēl ir www.piemers.lv/ kad uzspiež piem.uz meņu pogas |sākumu| atveras - www.piemers.lv/wordpress/category/sakums/ nevar to wordpress nomainīt uz ko citu vai vispār izdzēst, lai aiz .lv/ paliek category ? Edited October 12, 2011 by nemiroff Quote Link to comment Share on other sites More sharing options...
daGrevis Posted October 12, 2011 Report Share Posted October 12, 2011 Kaut kur ir jānomaina kaut kas, kas varētu saukties par base_url vai ka līdzīgi no /wordpress uz /. Nezinu WordPress tik precīzi lai pateiktu kur tas ir un kā tieši saucas. P.S. Tu gadījumā nebiji dizaineris? Kāpēc programmē? Quote Link to comment Share on other sites More sharing options...
ieleja Posted October 12, 2011 Report Share Posted October 12, 2011 (edited) wp-config.php [...] /** WordPress absolute path to the Wordpress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); [...] Edited October 12, 2011 by ieleja Quote Link to comment Share on other sites More sharing options...
nemiroff Posted October 12, 2011 Author Report Share Posted October 12, 2011 (edited) Kaut kur ir jānomaina kaut kas, kas varētu saukties par base_url vai ka līdzīgi no /wordpress uz /. Nezinu WordPress tik precīzi lai pateiktu kur tas ir un kā tieši saucas. P.S. Tu gadījumā nebiji dizaineris? Kāpēc programmē? Šodien neko vairs neaiztikšu wp, sadzēros alu hokeja laikā, var sanākt šmuce:D Hmm, biju gan jā... kā tu zini? kas ta es pa porgrameri...vairāk kā entuziasts :) un WP vairak vai mazāk ir gatavs produkts ar iespēju šo to pielabot savām vajadzībām. Edited October 12, 2011 by nemiroff Quote Link to comment Share on other sites More sharing options...
nemiroff Posted October 12, 2011 Author Report Share Posted October 12, 2011 wp-config.php [...] /** WordPress absolute path to the Wordpress directory. */ if ( !defined('ABSPATH') ) define('ABSPATH', dirname(__FILE__) . '/'); [...] Nu ir tur tā, ko tu ar to biji domājis? Quote Link to comment Share on other sites More sharing options...
marcis Posted October 13, 2011 Report Share Posted October 13, 2011 Datubāzē wp_options ( wp_ - tabulu prefix ) skaties siteurl un home (option_name kolona) ierakstus. Quote Link to comment Share on other sites More sharing options...
nemiroff Posted October 13, 2011 Author Report Share Posted October 13, 2011 Datubāzē wp_options ( wp_ - tabulu prefix ) skaties siteurl un home (option_name kolona) ierakstus. Joprojām tumšs, nav tāds wp_options. Quote Link to comment Share on other sites More sharing options...
ieleja Posted October 13, 2011 Report Share Posted October 13, 2011 (edited) ir, ir tāda tabula - tavas datubāzes prefikss + 'options' wp-config.php /** * WordPress Database Table prefix. * * You can have multiple installations in one database if you give each a unique * prefix. Only numbers, letters, and underscores please! */ $table_prefix = 'wp_'; p.s. un jā, tu tiešām pārej no subdomena uz domenu vai tomēr no foldera uz domenu? Edited October 13, 2011 by ieleja Quote 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.