| |||||||
| Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics. |
![]() |
| | LinkBack | Thread Tools |
| | #1 (permalink) |
| NamePros Regular | ASP 301 redirect from www to non I am looking to create a 301 redirect from my www(dot)name.com to just name.com I run a dedicated windows server so I cant use htaccess, I also dont pay for mod rewrite. So how can I redirect the www to non www. I can write asp that does the 301, but how do I detect that there is a www in the url? Do I just read the current page name and do a instring function to check? Then redirect to itself without the www if needed.... Any easier way to do this? This way I would have to have this code on all my pages to jump out of www when needed.
__________________ Last edited by tgo; 12-13-2005 at 11:59 AM. |
| |
| | #2 (permalink) |
| Senior Member | i would think redirecting to a link without the www will work
__________________ Did you try my toolbar? Works in Firefox and IE! http://www.bumrecords.net - Fun Games, Music, Discussion, And Much More! upload˛ •Pick the Web Hosting Company most NamePros Members Use Pick Chronichosting!• |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| asp 301 redirect | tgo | Search Engines | 0 | 10-06-2005 03:15 AM |
| redirect url .htaccess code | dotcommakers | The Break Room | 1 | 08-09-2005 01:18 PM |
| enom question - does the redirect use 301 redirects? | rb | Domain Name Discussion | 11 | 06-04-2005 06:42 PM |
| Advertise on Redirect Plus - Starting at $2.95/mo! | LeKiz | Advertising & SEO Services | 0 | 04-27-2005 09:25 AM |