Skip to main content

How to Host Joomla Based Website in web-server or localhost(use if u want to create backup in another computer)

1-> upload all the files related to your website to your webserver or local server(for backup)


2-> take database dump for website from your mysql server by using phpMyAdmin in your

localhost through export option

3->create the database with relavant name which best suits to represent the website in your

mysql server and import the database backup file .

4->Configure :

Up to now, if you try to access your website, you will probably be given an error. This is because the configuration.php file you had on your local server does not contain the information related to your hosting account details. As stated previously, if your host has already installed Joomla for you, you should leave the configuration.php file created unchanged. Otherwise you will need to change the following critical details:

Joomla 1.5

  • var $host = 'localhost'; - this is the address of the server which is hosting your MySQL database

  • var $user = 'sqluser'; - this is the name of the username which will be used to access the Joomla MySQL database

  • var $password = 'p@ssw0rd'; - password for MySQL database

  • var $db = 'j15stable'; - MySQL Joomla database name

  • var $log_path = '\home\logs'; - the path where any log files will be stored

  • var $tmp_path = '\home\tmp'; - the path for tmp files

for localhost do changes in $db and $password


Comments

Popular posts from this blog

Create or Customize Master Page in sharepoint

Before using the base master page,please fimiliare yourself with various sections of the base master page code · Required Components · Optional Components · Hidden Components Required Components: If no availability of required components sharepoint page cannot render properly All the components are placed in a their corresponding content place holder asp:ContentPlaceHolder id=”PlaceHolderMain” runat=”server” /> This content placeholder corresponds to the content area in page layouts.It is required for the MOSS site to render properly. All the required which are not usefull should be placed .If you delete those place holders sharepoint page cannot render properly Following are the some of the required components asp:ContentPlaceHolder id=”PlaceHolderMain” runat=”server” /> asp:ContentPlaceHolder id="PlaceHolderGlobalNavigation" runat="server"> asp:ContentPlaceHolder id="PlaceHolderTopNavBar...

Using Friendly URLs(SEO) in Joomla

In folder apacheconf open file httpd.conf #LoadModule rewrite_module modules/mod_rewrite.so and make it as uncommented LoadModule rewrite_module modules/mod_rewrite.so In site root folder there is rename htaccess.txt to .htaccess and now open .htaccess and go to following line # RewriteBase / and uncomment this line as following and mention root for ex. testsite in following line RewriteBase /testsite Go in administrator panel and click on Global coniguration Here on right side we get SEO Settings all three SEO Settings set as yes and click on save

Randomly Displaying a Single SharePoint Item on Refresh

This is how: 1. Create a new Data View web part in SharePoint Designer that displays all records in the format you want. We will end up only showing one record, so keep that in mind when you are laying this out. 2. Open the Filter dialog 3. Do not add any clauses, instead check the Add XSLT Filtering box and click Edit 4. Create your XSLT filter. You can just paste in the following code: [position() = (substring(ddwrt:FormatDateTime(ddwrt:TodayIso(),1033,":mm:ss"),6,2) mod count(/dsQueryResponse/Rows/Row))+1] 5. Click Ok and save the page in SharePoint Designer 6. Check your work in your browser. Refresh the page to see the item rotate.