Welcome to WebmasterWorld Guest from 54.147.10.12

Forum Moderators: ocean10000

Message Too Old, No Replies

Help With Re-Direct

Redirecting dynamic asp pages

     
10:08 am on Jul 29, 2013 (gmt 0)

New User

joined:Jan 26, 2012
posts: 8
votes: 0


Hi,
I have an ASP site running off a windows server, (not IIS if that's relevant.)

We're doing a site re-design and removing the antiques side to the site, which basically contain a search criteria input page, search results pages showing upto 10 products per page and the product page.

The product page and search results pages are dynamically created and the URLs are "www.domainname.com/pages/search_results.aspx?dynamicstring.aspx" and the product pages are
www.domainname.com/pages/product_page.aspx?product_id=NNNN.

If I remove this area of the web site completely will a 301 redirect on the top level dynamic pages ie search_results.aspx and product_page.aspx be sufficient to re-direct traffic and PR , or do I need to put some kind of code in on each of these two pages, say if dynamic parameters <> "" then do a re-direct?
Thanks for any advice
4:23 pm on July 29, 2013 (gmt 0)

Senior Member from US 

WebmasterWorld Senior Member lucy24 is a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

joined:Apr 9, 2011
posts:12720
votes: 244


If you're redirecting the whole page, then a within-page redirect should not be necessary because no request will ever reach the page.

On the other hand: servers are non-living objects. That means they are capable of malice toward humans. So why not cover yourself by coding for a redirect both ways?
7:48 pm on July 29, 2013 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member dstiles is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:May 14, 2008
posts:3092
votes: 2


The querystring is parsed by the page.asp so redirecting that page should be sufficient.

Curious: if you are using ASP without IIS what server are you using?
8:06 am on July 30, 2013 (gmt 0)

New User

joined:Jan 26, 2012
posts: 8
votes: 0


Hello Lucy24 and dstiles,

thankyou for your prompt replies, dstiles we are on an IIS server (I got that completely wrong).
8:16 pm on July 30, 2013 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member dstiles is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:May 14, 2008
posts:3092
votes: 2


> IIS server

Shame. I'm trying to find a non-IIS server that runs ASP on linux. Thought you might have a solution. :(
1:57 am on Oct 18, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:June 10, 2008
posts: 1130
votes: 0


You can run asp.net on with mono on a linux server, but that's a bad, bad, bad idea. Asp.net is great to develop in, but it's really sensitive to anything being wonky with it's environment. If you can shell out $7 a month, databasemart is a good solution to get a .net site.
7:41 pm on Oct 18, 2013 (gmt 0)

Senior Member from GB 

WebmasterWorld Senior Member dstiles is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month

joined:May 14, 2008
posts:3092
votes: 2


There are a couple of solutions for running .NET sites under linux but none for Classic ASP.

None of my web sites are .NET and never will be. If MS force the issue I would rather recode everything for linux.
7:59 pm on Oct 18, 2013 (gmt 0)

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:June 10, 2008
posts: 1130
votes: 0


I was a hard core MS hater/php guy for years until I was forced to use .net for a new job. After actually doing both for a few years, I can tell you that for about 90% of all development projects, and experienced .net developer will build much faster than an experienced PHP developer. The only things I don't feel it's applicable to are projects that would be along the scale of facebook or amazon. Things like that.