|
| |
|
|
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
|
|
|
|
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
|
|
|
|
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
|
|
|
|
womble
Posts: 6009 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. ~~
|
|
|
|
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
|
|
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
|
|
|