Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Fairly spammy pages in our website from a long time ago

How to get rid of them the best way

         

giggle

11:10 am on May 1, 2007 (gmt 0)

10+ Year Member



A long while ago we (I) wrote some VisualBasic code to automatically generate pages for each of our "locations".

Each page has a unique URL and the page content was derived from 26 sentences we maintained. e.g. If the location was Paris then there would be 5 paragraphs, each with variables within it replacing parts of the text with words more applicable to whatever country the location is in. The resulting pages (we think) would appear fairly unique in content as the number, order and content of the paragraphs varied from location to location.

Anyway. A couple of months ago we started writing our own unique content having decided to do things 'properly'. Last week we started to go 'supplemental' and realise that it's about time that we got rid of those pages I had automatically generated.

I'm considering doing this by re-generating the pages (they all have the .asp suffix) but this time 301'ing them to their appropriate country using ASP 301 code.

e.g.

Response.Status="301 Moved Permanently"
Response.AddHeader "Location", "http://www.site.com/Country.asp"

Do you think that would be ok and if it is should I leave the existing site map pages that point to those location level pages up there or is it ok to remove the immediatly.

Hope that made sense.

Thanks

Mick

giggle

5:51 am on May 2, 2007 (gmt 0)

10+ Year Member



Sorry to *bump* this one but we'd really like to know if anyone has used an ASP 301 and if it was successful.

We're trying to tidy up our site and reduce our content to just the unique content we're writing.

followgreg

7:47 am on May 2, 2007 (gmt 0)

10+ Year Member




Didn't read your whole post to be honest but yes we have used 301 successfully on IIS / .NET.

There are a few HTTP header checkers online, try them and see what your server responds.

giggle

8:51 am on May 2, 2007 (gmt 0)

10+ Year Member



Thanks for the reply Greg.

I'm actually considering creating new ASP pages for the 301 with the ASP code as above that redirects the user to the country level page.

Did you use code in your ASP page too?

Thanks

Mick