tag:blogger.com,1999:blog-86316560183153366572024-03-08T01:04:22.145-08:00How to WordpressUnknownnoreply@blogger.comBlogger5125tag:blogger.com,1999:blog-8631656018315336657.post-2850108569336112732011-08-09T07:43:00.000-07:002011-08-09T07:49:44.119-07:00How to Setup reCaptcha Plugin System-Wide/BuddypressJust to Correct Installation Procedure on:<br />
<a href="http://wordpress.org/extend/plugins/wp-recaptcha/installation/">Wordpress Site</a><br />
<br />
After you Moved the "wp-recaptcha.php" <br />
you have to <b>Edit the file to change Required's Path...</b><br />
On Unix-like Systems you can simply edit your file with:<br />
<pre>pico wp-recaptcha.php</pre><b>Change</b> 2 lines:<br />
require_once('recaptcha.php') --> <b>require_once('wp-recaptcha/recaptcha.php')</b><br />
require_once('mailhide.php') --> <b>require_once('wp-recaptcha/mailhide.php')</b><br />
<br />
Now you can proceed to Install the System Wide Plugin :)Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-8631656018315336657.post-51482674415864980432011-08-05T07:32:00.000-07:002013-06-05T15:27:54.770-07:00How to Setup Wordpress with Remote MySQL Database AccessIf you are trying to <b>Develop on Local</b> machine and <b>Use the Remote Hosted MySQL</b> Database try to Follow this Procedure to Enable MySQL
Remote Access by Wordpress:<br />
<br />
<ol>
<li><b>Enable</b> MySQL Remote Access
<ul>
<li>
On <b>CPanel</b> Go:
<pre> Databases >> Remote MySQL</pre>
Then Insert your IP</li>
<li>On Amazon <b>Ec2</b>:<br />
On Security Group Open the 3306 Port<br />
Then Create a User with Credential to Login from Net...<br />
Example:<br />
<pre>GRANT ALL PRIVILEGES ON *.* TO bob@’%’ identified by “yourpasswordhere”;</pre><br />
</li>
</ul>
</li>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0951995613945280";
/* 468x60Img1 */
google_ad_slot = "9783239103";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src=" http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<li>
<p><b>Check</b> if you are able to Cnnect to Database from Terminal:</p>
<pre>mysql -u yourMySQLUser -h xxx.xxx.xxx.xxx -p</pre></li>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0951995613945280";
/* 468x60Img1 */
google_ad_slot = "9783239103";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src=" http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<li><p>Change settings in <b>wp-config.php</b>:</p>
<blockquote>define('DB_HOST', 'xxx.xxx.xxx.xxx:port'); // or<br />
define('DB_HOST', 'db.domain.com:port');</blockquote><br />
(Default port: <strong>3306</strong>)</li>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0951995613945280";
/* 468x60Img1 */
google_ad_slot = "9783239103";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src=" http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</ol>Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-8631656018315336657.post-83908846189184545632011-06-13T06:15:00.000-07:002011-06-13T06:18:56.258-07:00How to Install Wordpress 3Prerequisites:<br />
-Apache<br />
-MySQL<br />
<br />
1) Proceed to Create your MySQL Database<br />
<pre>sudo mysql -uroot -p</pre><pre>>create database wordpress;</pre><pre>>quit</pre>2) Create you Wordpress Virtualhost<br />
<pre>sudo pico /etc/hosts</pre>Insert:<br />
<i><pre>127.0.0.1 wordpress
</pre></i><br />
<pre>sudo pico /path/to/apache2/conf/extra/httpd-vhosts.conf</pre>Insert:<br />
<i><pre><virtualhost *:80="">
<virtualhost *:80>
DocumentRoot "/path/to/wordpress"
ServerName wordpress
<directory path="" to="" wordpress="">
Allow from all
</directory>
</virtualhost><directory path="" to="" wordpress=""> </directory>
</virtualhost>
</pre></i><br />
To activate this newly created Virtualhost you need to <b>Restart Apache</b><br />
3) Download Wordpress, Unzip it<br />
<pre>cd /path/to</pre><pre>wget http://wordpress.org/latest.zip</pre><pre>sudo unzip wordpress*zip</pre>4) Give it the Right Permissions<br />
To set permissions for Directories:<br />
<pre>sudo find /path/to/wordpress -type d | xargs chmod 755</pre>To set permissions for Files:<br />
<pre>sudo find /path/to/wordpress -type f -exec chmod 744 {} \;</pre>5) Generate yours API Keys<br />
Open a Browser's Window and type in the Address:<br />
<a href="http://api.wordpress.org/secret-key/1.1/">http://api.wordpress.org/secret-key/1.1/</a><br />
Copy all the Output Given in the Window.<br />
6) Create and Edit your Configuration script<br />
<pre>cd wordpress</pre><pre>sudo mv wp-config-sample.php wp-config.php</pre>Next you need to <b>Edit wp-config.php</b><br />
Select the lines containing:<br />
<i><pre>define('AUTH_KEY', 'Abracadabra1');
define('SECURE_AUTH_KEY', 'Abracadabra2');
define('LOGGED_IN_KEY', 'Abracadabra3');
define('NONCE_KEY', 'Abracadabra4');
</pre></i><br />
Paste in the API's Keys of Step 5);<br />
<br />
Next you Need to Substitute the Right Values for:<br />
<i><pre>define('DB_NAME', 'yourDBName');
define('DB_USER', 'yourDBUser');
define('DB_PASSWORD', 'yourDBPass');
define('DB_HOST', 'yourHostName');
</pre></i><br />
<br />
Save.<br />
<br />
7) Start Wordpress Installation<br />
Open a Browser's Window and type in the Address:<br />
<a href="http://wordpress/">http://wordpress</a><br />
<br />
<br />
Good Luck!Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8631656018315336657.post-33928922756008522122011-06-13T05:16:00.000-07:002011-06-13T05:23:04.110-07:00How to set permissions in WordpressTo set permissions for Directories:<br />
<pre>sudo find /path/to/wordpress -type d | xargs chmod 755</pre>To set permissions for Files:<br />
<pre>sudo find /path/to/wordpress -type f -exec chmod 744 {} \;</pre>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-8631656018315336657.post-13866145321430436832011-06-07T19:46:00.000-07:002011-06-07T19:48:06.609-07:00How to Reset Wordpress URLIf you have changed you URL and you can't access any more your site:<br />
<br />
1) Edit wp-login.php<br />
Just after the line "require( dirname(__FILE__) . '/wp-load.php' );"<br />
Insert:<br />
<i><pre>//FIXME: do comment/remove these hack lines. (once the database is updated)
update_option('siteurl', 'YourFirstURL' );
update_option('home', 'YourFirstURL' );
</pre></i><br />
2) Edit index.php to <b>Default</b><br />
<br />
Now you can open on a Browser your First Wordpress URL.<br />
<br />
<b>After you need to Remove the lines inserted in wp-login.php</b><br />
<br />
Got it from here:<a href="http://codex.wordpress.org/Moving_WordPress#Moving_WordPress_Within_Your_Site">Codex</a>Unknownnoreply@blogger.com3