HTML - Error Pages & Redirects
I am completely re-structuring my website - same content but different directory structure and page names. I have completed stage 1, the duplication of content, and am now doing stage 2, removing the content from the old pages (so Google no longer sends searches there) and replacing it with manual redirects. Stage 3 will be to remove the old content.
But it isn't happening exactly as I would like - it seems Google retains some old indexing even after it has a new sitemap and has trawled the site. So I fear that the redirect pages may take some time to disappear off Google's index, and when I remove the redirect pages people will still try to go there, which will be frustrating for them. My question is this. Is there a way to set up the following: (1) Anyone going to my site and finding a page doesn't exist is picked up by an error routine which directs them to an error page? (2) Provide on the error page an auto re-direct to the new home page? I'm sure the latter can be done, but I would appreciate a pointer on how to do it please. (1) is done in some software, and I think I've seen it done on the web, but I haven't a clue how. Any ideas please? Thanks. Similar TutorialsI am making custom error pages on my site and it works perfectly but on them I have flash games like tic tac toe... but how can I make it randomly switch between that and some other .swf games??? HOW MANY <body> </body> BODIES CAN I HAVE IN THIS INDEX FILE? IF YOU SEE ANY IMPORTANT MISTAKE PLEEAAAASEEE HEEELLLPPPP!!! Code: <html> <head>PLEASE HELP!</head> <script type="text/javascript"> window.onload=function() { document.getElementById('NewsletterList').onchange=function() { window.location=('http://www.homeless-forum.org/'+this.value+''); } } </script> <body> <br> <CENTER> <select id="NewsletterList"> <a target=\"_blank\" href=\"file.doc\" title=\"\">John Doe<br> XXXXXXXXXXX</br></a>. <option value=""><b> PLEASE SELECT<b/></option><!--this option takes you to --> <body mar="0" marginheight="0" bgcolor="rgb(38,38,38)"> "BACKGROUND BLUE GREEN MARMOL " <embed width="100%" height="100%" name="plugin" src="http://canImakeApdfFileA1stWebPage?.pdf" type="application/pdf"> <option value=index.htm>Option #1</option><!--this option takes you to --> <option value="option2">Option #2</option><!--this option takes you to --> <option value="option3">Option #3 </option><!--this option takes you to --> <option value="option4"><br>Option #4</br></option><!--this option takes you to --> <option value="option5">Option #5</option><!--this option takes you to --> <option value="option6">Option #6</option><!--this option takes you to --> <option value="blog/wp-login.php"><!--this option takes you to blog--> </select> </body> </CENTER> </br> <html xmlns:v="urn:schemas-microsoft-com:vml" ............... </html> I have uploaded a file containing a timesheet for my users to be able to access and print off to fill in their hours. But I dont want anyone else accessing it because the timesheet contains phone/fax numbers, email address's etc. How can I make it so that only redirected traffic will be able to access/see it? e.g www. mywebsite.com /files/ timehseet.htm Access granted? If redirect= 'www. mywebsite.com /forum/index.234234q3434' then YES Else then NO If that makes sense. I am pretty sure I have to add somthing in .htaccess but not sure what. And do I make the htaccess file in the folder of the file in question? e.g www. mywebsite /files/.htaccess ?? How do you make a page (my home page) that will recognize that the person is on a mobile device (mostly ipod/iphone but regular phones too) and redirect to a wap page? Like wap.dawgtalk.com? Can this be done in a html page? And how do you do it? This will be hard for me to explain so I will add an image: http://img75.imageshack.us/my.php?image=examplexu6.gif How do I go about loading a page within a page. For example, in the pic, if you clicked Cost it would load a page within the loading area without taking off to another location. I seen it on a site before, i remember the links were something like "/?p=cost" or something like that. And the page appeared to not navigate elsewhere, the cost page was just loaded within the page i was on. hope that makes sense, if so any examples on this? is it hard to do? messy? safe with most browsers? thanks If this is in the wrong section sorry, i have been thinking of adding a new page to my site and added sky sports, but how do i set up a page that opens another web page right away? How do I make variable pages? EG: ../showgame?id=10 So multiple pages can begenerated from one document. I'm currently making a new layout for my site and before it will go online, I want to set all my pages on a BRB page/status (customized with my own brb logo+text etc.. Anyway I can do this? I am having difficulty centering pages for Firefox and Chrome. Please view the source code of http://www.alicm.com. It centers fine in all versions of IE. Definitely need a little help. I am not very experienced, so any "before and after" pasting of coding would be very much appreciated. Thanks in advance. I have a website which is now closed. I have forwarded the domain (www.chineseteaforyou.com) to a page on my other hosted website (www.e-stores-online.com/chineseteaforyou.html) to explain it is now closed. If people type in the domain name of the closed site it works as I expect, and they land on the correct page. If they type in the address of another page on the old site, they get the "Not Found" message. For example: http://www.chineseteaforyou.com/site...30/page/543219 will be forwarded to the following page which does not exist: http://www.e-stores-online.com/chine...30/page/543219 I would like to redirect any forwarded pages with www.e-stores-online.com/chineseteaforyou.html/ as the first part of the URL to www.e-stores-online.com/chineseteaforyou.html I tried to do it with a .htaccess file but get errors. Can anyone help me do this? Thanks. Hi, Currently my website is valid XHTML but I am planning on re coding the whole thing. I wanted to use HTML because to me it's a little easier and more basic. If I just start out with the html and head tags and no DOCTYPE and use the basic tags...do you think it would still work ok? I just dont want to go through the whole validation thing. I know other sites who use plain HTML without validating and their site works fine. Also I was wondering if it matters about uppercase tags? like < HTML > and < A > or < a > does caps make any difference? I guess I should probably just try it and then test it on major browsers to see for myself. Any advice would be appreciated! I just want to use plain HTML without worrying about validation....but I also want to make sure that people can use it on all different monitor sizes and browsers (at least all major browsers). I know thats the whole point of validation, but pretty much my question is: if I use plain HTML tags, including deprecated ones such as the < font > tag if it would still be usable on major browsers? I'm wondering because I've noticed that even though the W3C claims they are deprecated, some of them still work anyways? Sometimes I wonder if the W3C is right about that? Thanks! I am building my first big(ish) website and I have run into a little problem. The left side of the page is the same on every single page, along with the top. The only part that changes is the content of the center. There is also some things on the right that stay the same. I have the site looking and opperating fine, but when I need to make adjustments to the static parts of the site (top, left and right), I have to change every single page. Is there any way to just have one template and when you click on a link, it just changes the middle? I have tried iframes, but the left part of the screen needs to be able to scroll with the rest of the page. I want everything to scroll just like a normal webpage, but without having to change the menus on every single page. How is this possible? Thanks in advanced Since the validators tells you a web page is ok before you post it, what possible probels can occur while the page is on the net? Ok. I know that there are codes for fading between pages, I used to use them ALL THE TIME when I used Piczo (blech!). My question is, do all or at least most browsers support that sort of code, and can I use it in a valid XHTML page? Or is it done with JavaScript? The only reason I'm asking is because I'm making a new site for my drum videos, and the welcome page has a really nice picture of a drum set (in black and white with a slight glow) with a white background, and if I faded to a blank page, then the homepage, I think it would look really nice. So again, is it valid XHTML, and do most browsers support it? I test all of my pages on all of the most popular browsers. I believe that you can only have one version of IE installed per user account. I have IE6 running on one PC, and IE7 on another PC. Once IE8 becomes popular, I will test my pages on that too. Q. Can I have multiple versions of IE available on a single Windows XP PC? Do I need three PCs to run IE6-7-8? Q. How are you guys addressing this problem? Hi there, I am relatively new to wordpress and have just created undertaken a pro-bono project for a company in Iowa. The site is up and running, however I have noticed a pretty big issue when viewing in IE. The background seems to keep going after the content has finished and tiles the texture far down the page. You can see it online he http://www.localfoodsconnection.org/ I am using a bit of css trickery to get two images displaying in the background and think this might have something to do with it. This is the css I am using to do it: Code: html { background: #a79584 url(images/bg.jpg) center top; height: 100%; font-family: "Palatino", Georgia, "Times New Roman", Times, serif; } body { background: url(images/bg_grad.png) repeat-y center top; min-height: 100%; } #wrap { width:920px; margin:0 auto; min-height: 100%; padding: 0; } The site looks great in FF, Safari etc, so I guess it must be an issue with IE I would appreciate any help I can get on this one. Please feel free to let me know if you need any other info. Thanks in advance. James Hi all Hope i can get a little help with the following I have a page with 2 iframes in it. What i want ro do, is when i click the link "home" 2 different pages get loaded in to 2 different iframes. Home = a.htm/iframe a b.htm/iframe b Hope it makes sence Regards Hello everyone! This is my first thread, and I need some help. I just started developing my site hosted by godaddy.com and I am doing all my html and through dreamweaver and uploading new content through dreamweaver also via FTP. The problem I am having is i am tryingto add new pages that link off my HOME PAGE. For example: CONTACT US, ABOUT US, PICS, and so on. I have made this types of pages but I'm not sure why they are not linking right? What address should I be point the CONTACT BUTTON to? My site is www.adiktedapparel.com Any help would be great!!! THANKS! Bill C. Hey having read the advice on this site I know have several pages mocked up in photoshop and have sliced and coded them as well. How do I link pages though so that the page switches?? Also I'd like the background and certain parts to stay constant rather than reloading when a new section is loaded. Any helpful suggestions would be brilliant Thanks! Is there any way to use an xml file and create a link to a new page that has information based on a block of data in the xml file? |