NEW APPOINTMENT SCHEDULING SCREEN

SCHEDULE BY EMPLOYEE

This blog entry has been moved to the Beauty Agenda Blog

Posted in Beauty Agenda Spa and Salon Scheduling | Leave a comment

Creating New In-House Salon Appointments

NEW SALON APPOINTMENT INTERFACE

This blog entry has been moved to the Beauty Agenda Blog

Posted in Beauty Agenda Spa and Salon Scheduling | Tagged , , | Leave a comment

301 Redirect of an HTML page in a dot net environment

If you have ever redesigned a website consisting of html or php pages and decided to utilize a dot net solution, you may have faced the problem of rewriting pages that have high search engine rankings that you don’t want to lose. How can you safely redirect web site traffic from your old pages to the new pages without losing your rankings?

You can do this by using a ” 301 redirect ”

What is 301 redirect?

301 redirect is the best method to preserve your current
search engine rankings when redirecting web pages or a web
site. The code “301″ is interpreted as “moved permanently”.

Redirection Methods

I would strongly advise against using redirection methods such as Javascript and meta refresh. Search engines frown on them. A 301 redirect is the proper way to redirect a page and there is no reason to ever use a meta refresh or javascript redirect.

Redirecting with ASP.NET

<script>
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = “301 Moved Permanently”;
Response.AddHeader(“Location”,”http://www.yournewsite.com”);
}
</script>

This will obviously work for an ASPX page but if you need to redirect an html page and do not have access to IIS, this code will not be interpreted. Luckily, we can tell IIS to process our html files as well. Add the following changes to your web.config file to enable ASPX scripting in html files:

<compilation>
    <buildProviders>
        <add extension=".html" type="System.Web.Compilation.PageBuildProvider" />
        <add extension=".htm" type="System.Web.Compilation.PageBuildProvider" />
    </buildProviders>
</compilation>

AND

<system.webServer>
     <handlers>
         <add name="HTML" path="*.html" verb="GET, HEAD, POST, DEBUG"
          type="System.Web.UI.PageHandlerFactory" resourceType="Unspecified"
          requireAccess="Script" />
         <add name="HTM" path="*.htm" verb="GET, HEAD, POST, DEBUG"
          type="System.Web.UI.PageHandlerFactory"
          resourceType="Unspecified" requireAccess="Script" />
     </handlers>
</system.webServer>

Now you will be able to do a safe a safe 301 redirect using ASPX scripting from within an HTML web page. For example, using Main.html.


<%@ Page Language="C#" AutoEventWireup="true"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<script runat="server">
private void Page_Load(object sender, System.EventArgs e)
{
Response.Status = "301 Moved Permanently";
Response.AddHeader("Location","Default.aspx");
}
</script>
</head>
<body>
</body>
</html>
Posted in Web Design | Tagged , , | Leave a comment

Color code your salon and spa appointment items

Beauty agenda salon and spa appointment scheduling software update

This blog entry has been moved to the Beauty Agenda Blog

Posted in Beauty Agenda Spa and Salon Scheduling | Tagged | 2 Comments

Accept security deposits for your salon or spa

Beauty agenda salon and spa appointment scheduling software update

This blog entry has been moved to the Beauty Agenda Blog
Posted in Beauty Agenda Spa and Salon Scheduling | Tagged | 2 Comments

WordPress install on a Godaddy Windows subdomain

So, I just finished installing wordpress to a subdomain on a Godaddy Windows shared hosting account. That was Fun {insert your own expletive}!

Before I forget, this is the first blog post for Shadowsoft; welcome and I hope you will find it useful. In addition to programming and web design subjects, I also enjoy ranting about the American political system from time to time.

As you may surmise, this blog is hosted on a windows server, so I figured the install process would be the topic of my first post.

 In the spirit of measuring twice and cutting once, I spent some time researching the topic to make sure there would be no pitfalls with Windows, Godaddy or installing to a sub domain. If I was brave, I could have damned the torpedoes and tried the Godaddy hosting connection quick install. It didn’t take much time to realize that this wouldn’t have worked, so I started researching a manual  WordPress installation.

Here is  as summary of the wonderful advice that I found offered on this subject:

  • Get your head examined and stop using Godaddy as a host.
  • Switch to a Linux account and stop wasting everybody’s time.
  • Windows sucks.
  • Call Godaddy support.
  • Don’t call Godaddy, their support is useless.

Thankfully, I did not mention that the blog’s parent site was written in Visual Basic; the C# people would have joined in with the tar and feathers!

WordPress Maual Install

Create a MySQL Database for WordPress

  1. Log in to your Account Manager.
  2. From the Products section, click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.
  4. In the Databases section of the Hosting Control Center, click the MySQL icon.
  5. Click Create New Database.
  6. Enter a description, WordPress for instance.
  7. Enter a user name and password.
  8. Specify your MySQL version.
  9. Specify whether you want to allow Direct Database Access.
  10. Verify your MySQL database settings. If everything looks OK, click OK.

It may take a few minutes to create your database. Click your browser’s Refresh button to check if your database is ready.

Once you have set up a database for your account, you can find your host name information by clicking the Pencil icon next to the name of your database. Note the following items, as they will be needed later in the install process:

  • Host Name
  • Database Name
  • Database User Name

Now, you need to download the latest version of WordPress from their servers. This can be found at WordPress.org.

Install WordPress

Unzip the file from WordPress, and then upload the contents of the wordpress folder to your hosting account using an FTP client. This directory can be stored anywhere in your account, in this example it will be in the root (http://www.coolexample.com).

NOTE: Do not upload the wordpress folder itself, only its contents.

  1. Begin the WordPress installation by going to http://www.coolexample.com/wp-admin/install.php.
  2. Click Create a Configuration File.
  3. Click Let’s go!.
  4. Complete the following fields, and then click Submit:
    • Database Name — Enter your database’s name.
    • User Name — Enter your database’s name.
    • Password — Enter your database’s password.
    • Database Host — Enter your database’s Host Name.
    • Table Prefix — Do not modify this field, unless you want to run multiple WordPress installations.
  5. Click Run the install.
  6. Complete the on-screen fields for your blog’s details, and then click Install WordPress

TROUBLESHOOTING

If you receive error 500 after running wp-admin/install.php, try the following:

Manually create wp-config.php

This file, wp-config.php, does not exist in a downloaded copy of WordPress; you need to create it. The wp-config-sample.php file is provided as an example to work from. Rename the file to wp-config.php and change the following information:

Database Name  Database Name (from the MySql install above)

Database Username Username used to access Database

Database Password Password used by Username to access Database

Database Host The hostname of your Database Server

Verify the following:

  1. Verify you are running IIS 7. You probably wont get it to run on IIS 6.
  2. Verify that your install folder is set as Application Root and “anonymous access” is checked.
  3. In Hosting Control Center > Content > File Manager, select your install folder, click on “Permissions” and uncheck Inherit. Then check “Read”, “Write” and “Reset all children to inherit”.
  4. In Content > IIS Management, select the Content Root folder and then click “Advanced”. Make sure pipeline mode is set to ‘Integrated”.
  5. In Content > Add On Languages, verify you are are running .Net Runtime 2.0/3/0/3.5 and PHP 5.x.

Show the error 500 details:

Add the following section to your web.config file

<system.webServer>
     <asp scriptErrorSentToBrowser=”true”/>
     <httpErrors errorMode=”Detailed”/>
</system.webServer>

 

Posted in Web Design | Tagged , | 2 Comments