OutFront Forums
     Home    Register     Search      Help      Login    

Follow Us
On Facebook
On Twitter
RSS
Via Email

Recent Posts
Todays Posts
Most Active posts
Posts since last visit
My Recent Posts
Mark posts read

Sponsors
Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.
Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.
Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

 

Why can't my home page/index page can't be aspx??

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP, PHP, and Database >> Why can't my home page/index page can't be aspx??
Page: [1]
 
tgt

 

Posts: 17
Joined: 7/27/2007
Status: offline

 
Why can't my home page/index page can't be aspx?? - 5/29/2009 13:22:27   
I have three websites (using Expression Web) and am now starting my 4th, using expression web 2.

Every page on the site is formed from one master page... except index.htm

On the site, I have a calendar which is updated with a link to that day's post. So, I have to update the master page with the new date/info/stuff every time I post (no problem)... but then I have to go to the index page and update it also with the same exact information.

Am I stuck with this scenario or is there a way to have your index page aspx too? I have a feeling this is something that could be possibly be arranged on the server-side? Could not find any info with several searches here and other places.

www.rvgoddess.com - the site is live, but not very active yet.

tgt

bdelahunty

 

Posts: 38
Joined: 10/15/2004
Status: offline

 
RE: Why can't my home page/index page can't be aspx?? - 5/29/2009 13:43:38   
try this......
rename index.htm index.aspx
now make an index.htm page that has just this code in it

<meta HTTP-EQUIV="REFRESH" content="0; url=http://www.yourpage.aspx">

when index.htm is visited visitors will be automatically redirected to your .aspx page

(in reply to tgt)
tgt

 

Posts: 17
Joined: 7/27/2007
Status: offline

 
RE: Why can't my home page/index page can't be aspx?? - 5/29/2009 14:01:52   
Hmmm.... too easy. I wish I was so clever to be able to think like you. Thanks so much.

tgt

(in reply to bdelahunty)
TexasWebDevelopers

 

Posts: 722
Joined: 2/22/2002
From: Dallas, TX
Status: offline

 
RE: Why can't my home page/index page can't be aspx?? - 5/29/2009 14:25:13   
That is not great advice.
A meta refresh will screw you in the search engines.
A server-side redirect would have been more appropriate
http://www.texaswebdevelopers.com/blog/template_permalink.asp?id=94
but the REAL solution is easy:
Most servers are configured to go hunting for "home" pages like this:

default.htm
default.html
default.asp
default.aspx
default.cfm
index.htm
index.html
index.asp
index.aspx

...and so on, until the page is found.

So, I would first try to delete all of the other "home pages" you may have uploaded.
Your server should then "find" the only one left which is index.aspx
If it doesn't find a home page, then you need to tell your host to add it into the list of pages the server looks for by default.

_____________________________

:)

Follow us on TWITTER

(in reply to tgt)
tgt

 

Posts: 17
Joined: 7/27/2007
Status: offline

 
RE: Why can't my home page/index page can't be aspx?? - 5/30/2009 13:16:35   
Thanks so much Texas! Such a simple solution. I tried making the page as index.aspx, but my server didn't find the page and the error message mentioned something about "this site not having a default page" so I just changed the name of the page to default.aspx and VOILA. My life is nearly perfect now.

Much thanks again,
tgt

(in reply to TexasWebDevelopers)
womble

 

Posts: 6007
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: Why can't my home page/index page can't be aspx?? - 5/31/2009 7:22:14   
Sometimes it might be wise to have a server-side redirect from index.html or default.html as well though (or as TexasWebDeveloper said, check with your host), and to check visitors will still get your site from just the domain name, as on one site I had a couple of years back I had my home page as index.php which the server found okay, and visitors found okay (I'd also put a server-side redirect on index.html as well), so long as they entered the URL as "www.sitename.com/index.php" (or .html) but if they only entered "www.sitename.com" they didn't get the home page, error page, or a redirect - just a blank page (I think that was a very badly set up server though and it's a problem I've only ever seen that one time). It might be an idea to just double check that visitors will find your site just using the domain without a specific page. I only realised that anyone who didn't either come via "www.sitename.com/index.html" or "www.sitename.com/index.php" didn't get anything at all, and it was only when a fellow OF member pointed it out to me that I found out about it.

_____________________________

~~ "A cruel god ain't no god at all" ~~
~~ Erase hate. Practice love. ~~

(in reply to tgt)
Universal4

 

Posts: 86
Joined: 7/25/2003
Status: offline

 
RE: Why can't my home page/index page can't be aspx?? - 5/31/2009 10:28:04   
The only reason the server-side redirect ( a permanent 301) would be needed is if the domain has been getting spidered by the search engines and the index.html or .html has been indexed.

Like wombie said, if the server is set up correctly, and the host has allowed the index.aspx as a default home page the site should always be found without the home page being named.

And from an SEO perspective, all links should point to the domain without the page being named, or all links should point to the named home page and never should links be pointed to both.

Rick
Universal4

(in reply to womble)
Page:   [1]

All Forums >> Web Development >> ASP, PHP, and Database >> Why can't my home page/index page can't be aspx??
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts