Once everything is finished and tested, why not leaving it in its place and having your domain “pointing” to that subfolder?
It’s very simple,you just have to edit .htaccess file, normally placed in your root directory and usually empty.
It’s important to back it up before modifying it in case your server falls down to the floor :-O
Example: your domain is called www.domain.com and you have your wordpress installed in the /worpress folder. Edit .htaccess file and insert the following code:Nevertheless I always recommend to have your CMS (joomla, drupal, mambo, etc) or whatever you installed – wordpress, osCommerce, etc, in your domain root directory.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ “http\:\/\/domain\.com\/wordpress\/” [R=302,L]
Click here to read the original article
No comments:
Post a Comment