homepage Welcome to WebmasterWorld Guest from 107.22.37.143
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor
Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
Forum Library, Charter, Moderators: ocean10000

Microsoft IIS Web Server and ASP.NET Forum

    
Help With Re-Direct
Redirecting dynamic asp pages
Nick_D




msg:4597358
 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




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

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




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

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




msg:4597605
 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




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

> IIS server

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

andrewsmd




msg:4617562
 1:57 am on Oct 18, 2013 (gmt 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.

dstiles




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

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




msg:4617755
 7:59 pm on Oct 18, 2013 (gmt 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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Microsoft / Microsoft IIS Web Server and ASP.NET
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved