Development and production url address setting in asp.net project

  • Thread starter Thread starter RA
  • Start date Start date
R

RA

Hi

I use asp.net for the wen server development which includes mostly asp.net
pages and some html pages.
How can I put the url address when I use the development - it goes to
localhost - so that it will work also when I put the files on the web host.
I am looking for a way so I won't need to change the url path from
localhost.webpage.com to www.webpage.com. Is there a way of doing that or
will I need to change all the aspx and html links to url soon as I move the
project to the web host?


Thanks
 
Mark,

I personally like later approach.
Even there is nothing wrong with relative links (it is looks cleaner and
less traffic :-) )
but some search engine robots like full links. Also, some browsers don't
like relative links...
 
How would you do it in htm files?

Ivan Demkovitch said:
Mark,

I personally like later approach.
Even there is nothing wrong with relative links (it is looks cleaner and
less traffic :-) )
but some search engine robots like full links. Also, some browsers don't
like relative links...
 
Don't know... I don't have html files...

search and replace I guess...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top