myspace like search text box

working tutorial

Advertisements

wordpress make post title work in url

Edit/Add the .htaccess file with

RewriteEngine On
RewriteBase /directoryincontext/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /directoryincontext/index.php [L]

If you still end up in issue try adding

Options +SymLinksIfOwnerMatch
RewriteEngine On
RewriteBase /directory-having-your-wordpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /directory-having-your-wordpress/index.php [L]

or

Options +FollowSymlinks
RewriteEngine On
RewriteBase /directory-having-your-wordpress/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /directory-having-your-wordpress/index.php [L]

Code Smells

Code smells indicate weakness in design such as

1. one method /function doing every task ,

2. one bigĀ  class

3.Too many parameters to a function

Avoid Code Smell by

1. Follow design pattern

2. one method just does one task

3. classes are well defined and know their boundaries

what you do , defines you