Welcome to WebmasterWorld Guest from 188.8.131.52
Forum Moderators: ocean10000
structure as follows
Homepage - default.asp
120 links to level 2 pages
Level 2 pages - www.domain.com/somepage.asp?pageID=123
each level 2 page has 130 links pointing to level 3 pages
My problem is this:
The site has been up only 3 weeks and Google have picked up 4000 pages including all level 2 pages.
We hadn't expected pages to be picked up quite so fast and therefor have a slight problem. We have now changed level 2 pages to - www.domain.com/somepage123
i.e. its own subdirectory with a default.asp page.
Anyone know how we can use a 301 redirect from our somepage.asp?pageID=? page that has 120 IDs to their respective suddirectory pages
I'm not an ASP programmer but I believe this should do the job for you. Simply use the paramater from the URL to build your new location. Also, be sure to check the header after implementing to make sure it is working properly.
Response.Status "301 Moved Permanently"
Response.AddHeader "Location", "YOUR_NEW_URL"