Forum Moderators: phranque
Our problem is that we had a dynamic site and thus only the home page was being indexed. We had enjoyed top 10 Google listings for over 5 years, except for a few weeks during the Florida Diaster of last November. All that changed in mid september, and everything we try won't get us listed again.
Its going to require a major rewrite to convert our site from dynamic to static, and we need to add lots of new content, as our suppliers are doing a major revamp of their product line.
I was thinking of leaving the home page up, during the transition, just in case google decides we are worthy of being in the top 10 results again.
However any links from the home page will goto a 404 redirect indicating that we are temporary shutdown for two months.
I just don't want to be bothered with the day to day operation of the business for 2 months. I want to spend my time, making sure that I don't put all my eggs in one basket again, and to expand the site. Google Adsense on the home page will pay the lights, power and rent for the buisness during this transition. I plan on puting the phone on temporary disconnect, so I am not bothered by phone calls.
Anybody ever close temporary, to reorganize and restructure, and concentrate all their energy on revamping a web business.
Money obviously isnt a problem so why don yo have temp come in once or twice a week to do the orders etc maybe hire a phone answering service to take your calls, I wouldnt just shut down.
Next year I will probably expand also into something that is non-seasonal, or is popular in the last quarter at least.
At this time of year, we actually lose money by staying open, but its only 10 weeks to christmas, so
I think we will slug along until the new year, and the new static web site.
This is how almost all major dynamic sites do it, it's not that hard to do, a few tweaks of the url gererator in the site programming will do it.
or, search for an old thread where i explained doing the same thing using default error pages in asp.
or, leave the site up, take down the phone number and disable the cart.
I almost feel like going with another ISP, however over the years our application has got so complicated and has so many interlinking dependencies, that its hard to find an ISP which will meet all your specifications. To make it worse, most ISP's don't have a clue on the impact of various actions, and just have policies like no holes in the firewall except port 80 or 8080, and you can't convince them that by making the firewall hole IP specific, especially if the party at the other end is setting up the same way, to create a two-way trust.
Somedays, I feel it is best to setup our own server so I can install what I pleased, and I will make the security judgement. However its nice to let somebody else worry about 99.9999 uptime, offsite backups, and other diaster recovery issues.
This is placed in the global.asax file:
<code>
Private Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
'Querystring Rewriter
Dim context As HttpContext = HttpContext.Current
Dim oldpath As String = context.Request.Path.ToLower()
'Rewrite Paths
Dim token As String = "/virtual/mysqlnet"
Dim i As Integer = oldpath.IndexOf(token)
Dim len As Integer = token.Length
Dim id as String
Dim Newpath as String
If i <> -1 Then
Dim j As Integer = oldpath.IndexOf(".aspx")
If j <> -1 Then
id = oldpath.Substring (i + len, j - (i + len))
Newpath = oldpath.Replace (token + id + ".aspx", "/default.aspx?page=" + id)
context.RewritePath (Newpath)
End If
End If
End Sub
</code>
This rewrites the URI as default.aspx/mysqlnet/page1.aspx