301 Redirect/index question that I can't figure out right now

Status
Not open for further replies.

Dimaseo

New member
May 12, 2008
857
7
0
Hey Guys,

Okay, so here is the situation:

1) A small site that I just took on board had some problems when I first started analyzing it. Leaving the majority of the problem aside, the site was bouncing (redirecting) off an internal database that the original programmer had established for mailing, scheduling, and other effects.

Recently I just made all of the pages static so they are no more bouncing off the database software; in turn not getting a 301 anymore.

HERE IS THE PROBLEM

I made the pages static 7 days ago and google is still indexing the old URL.

The old URL was: (remember since bouncing off a database the home page URL has changed)

http://www.nworalsurgeons.com/textonly.asp?Dept_ID=0&NavButton=01&Main=Y.asp

The new one is : Oral Surgery in St. Louis and O’Fallon Missouri | Oral Surgeons

Google is still indexing the page linked to the old URL which is causing a 404.


Actions taken:

I am building a thousand (or so) links in efforts to re-index the page but I was curious if anyone has dealt with this before or if there is something that I just can't see (but should).

I appreciate your feedback, thanks.
 


If I try to post the regex off the top of my head, I'll screw it up, but what you want is to use mod_rewrite in a htaccess file to 301 redirect any requests for textonly.asp? back to the homepage.

EDIT:

I think this would work:
Code:
<IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
RewriteCond %{query_string} .
RewriteRule ^$ http://www.nworalsurgeons.com/? [R=301,L]

</IfModule>
 
Thanks jryan21! I'll try that tonight or tomorrow. Let's hope it works until we get indexed properly.
 
Status
Not open for further replies.