Welcome to WebmasterWorld Guest from 107.20.110.201

Forum Moderators: ocean10000

Message Too Old, No Replies

Help With Re-Direct

Redirecting dynamic asp pages

     

Nick_D

10:08 am on Jul 29, 2013 (gmt 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

lucy24

4:23 pm on Jul 29, 2013 (gmt 0)

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



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?

dstiles

7:48 pm on Jul 29, 2013 (gmt 0)

WebmasterWorld Senior Member dstiles is a WebmasterWorld Top Contributor of All Time 5+ Year Member



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?

Nick_D

8:06 am on Jul 30, 2013 (gmt 0)



Hello Lucy24 and dstiles,

thankyou for your prompt replies, dstiles we are on an IIS server (I got that completely wrong).

dstiles

8:16 pm on Jul 30, 2013 (gmt 0)

WebmasterWorld Senior Member dstiles is a WebmasterWorld Top Contributor of All Time 5+ Year Member



> IIS server

Shame. I'm trying to find a non-IIS server that runs ASP on linux. Thought you might have a solution. :(

andrewsmd

1:57 am on Oct 18, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



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.

dstiles

7:41 pm on Oct 18, 2013 (gmt 0)

WebmasterWorld Senior Member dstiles is a WebmasterWorld Top Contributor of All Time 5+ Year Member



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.

andrewsmd

7:59 pm on Oct 18, 2013 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



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.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month