How can I redirect a web page.
I'm not sure if this is really an iWeb issue but I thought I would start here.
I have a web site (www.replacementchild.com) that is hosted at a third party (not MobileMe). I have used the Blog tool at the hosting site to build a blog for the site (www.blog.replacementchild.com). I have used a snippet to embed the actual blog content into the blog page of my site (www.replacementchild.com/blog.html).
Everything works fine except that the web crawlers pick up the actual blog url (www.blog.replacementchild.com) which brings up the unformatted page and there is no way to get the user back to the actual web site.
I think I need some way to redirect the blog url to the actual web site url but can't figure out how to do that. Any thoughts or suggestions would be appreciated.
Thanks,
David
OT:
I'm making progress but I'm not quite there yet.
I have actually installed an SQL Database and my own session of WordPress on my hosting service to get better control over the WordPress blog. I put the redirect statement into the footer of my blog template page and it seems to work but only the first time.
What I mean by that is that since the blog is in an iFrame on my iWeb page, when I try to navigate on the blog page, it seems to do a second redirect and puts a new frame inside the first frame. To see what I mean, go to www.replacementchild.com and select the blog page then select any link on the blog page and you'll see a second frame is drawn.
The url for the blog itself (which is being redirected is www.replacementchild.com/blog
I suspect I've done something wrong. Any suggestions?
Thanks for all your help.
David
Message was edited by: David Schwartzer
Similar Messages
-
How can I print a web page to a hard copy with Adobe?
How can I print a web page to a hard copy with Adobe? When I print this particular page in the usual way it prints only the text of that page, not the photo that's also part of that page.
I have Adobe SendNow, but I can buy another Adobe product if it will solve my web page printing problem.
-
How can I "expire" a web page (prevent BACK button access)
How can I "expire" a web page ?
I know some sites will display the following message if we click on the
BACK button in your browser.
Warning: Page has Expired The page you requested was created using
information you submitted in a form. This page is no longer available. As a
security precaution, Internet Explorer does not automatically resubmit your
information for you.
To resubmit your information and view this Web page, click the Refresh
button.
How do I implement this feature??U want to disable back button click
if yes i think
javascript:window.history.forward(1); -
How can I zoom the web page only vertically or horizontally ,i.e.,wThen I want to read the web page can I enlarge the page so that the font only increases size ?
You can't. (Fonts increase in size like everything else, not in height alone).
-
How can I upload my web page to the internet?
How can I upload my web page to the internet. When I click on "publish" it automatically takes me to mobileme - which is no longer accepting members..
http://financialbin.com/2011/06/13/steve-jobs-confirms-discontinuation-of-iweb-i n-icloud-transition/
I don't think you can upload pages from iWeb anymore.
Information about the MobileMe transition -
How Can I redirect to Error Page
Hi
I have below requirement to insert records into a table based on entered search criteria. And same time don't want to insert the records if there are already records for same search criteria. For this we have done below steps
1) We have a page with two Date fields.
i) Date From
ii) Date To
2) User enters Date From and Date To values and he press "Go" Button.
We have created a Validation at page level of type "Function Returning Boolean".
We are passing two searching Date From and Date To values to function and returning TRUE if there are already records.
Now when condition is TRUE then we want to redirect to a new Page.
How can we do this?
Appreciate if somebody can help me.
Regards
Kiran AkkirajuScott
Here is the actual situation.
Let us assume I want to populate EMP_TMP table from EMP table.
For this on my first page I have two Fields which are
1) From Date
2) To Date
I am going to give some values to these two fields and I press a button.
Basically what I have to do is
INSERT INTO EMP_TMP
SELECT * FROM EMP
WHERE TRUNC(HIREDATE) BETWEEN TO_DATE(:P_DATE_FROM, 'DD-MON-YYYY') AND TO_DATE(:P_DATE_TO, 'DD-MON-YYYY')
But before doing this I want to validate whether for given date range already data exist in EMP_TMP table or not?
If Already data exist then I have to redirect to User to one page which showing some details.
IF data is not there then I have to insert these records into EMP_TMP table and show those records into another page.
I have given this example on EMP table. But I was having similar example here.
Could you please let me know how can I achieve this.
Regards
Kiran Akkiraju -
How can I open a web page that is not compatible with safari?
Hi all
I get the following message when I try to go to a certain web site:
http://www.sia.homeoffice.gov.uk/Pages/licensing-rolh.aspx click on the "GO TO THE REGISTER" button
Please note: clicking the button above will transfer you to our secure server, which will open in a new window. You must be using Internet Explorer 6, 7 or 8, or Netscape 7.02 for the new site to display properly. You can return to this site by closing the new window.
I have looked at Internet Explorer and Netscape and both seem to be out of date with our IOS.
How can I access this page?Try downloading another browser, Firefox for example. Open the link in Firefox and once the page opens copy the link and paste it in safari address bar. That works for me.
Still trying to find out why we have to do this though since it works just fine in Safari once you had it opened in another browser.
Hope that helps you! -
How can I save the web page by using the Page Title as the file name ?
When i use Internet Explorer ,I can save the web page by using Page Title as the file name(as default no need to adjust anything). But when i use Firefox ,It can not use the Page Title to save as the file name. How can I do that like in Internet Explorer?
See:
*File Title: https://addons.mozilla.org/firefox/addon/834
*Title Save: https://addons.mozilla.org/firefox/addon/712 -
How can I fit a web page to the screen?
How I can open a web page and have this fit on the screen on my mac. every program I open displays on the top the whole page but only half screen.
Hi z,
In the upper left hand corner of the window, click the green button. Or you can "grab" the bottom right corner of the window and drag it to whatever size you want. -
When I try to save a Firefox web page, I get about a dozen tiny files with funny names cluttering up my documents folder, and making it hard to find anything. This reminds me of problems I used to have with Internet Explorer more than ten years ago. But at least, IE was kind enough to gather all of these files in a single folder, named "files". Firefox dumps them all into my documents folder. Messy.
Years ago, I discovered Opera, which offered a file format that combined the original html code with the other files into one file: an internet archive, with the extension mht instead of htm. I used Opera for years, but recently became aware of the advantages of Firefox.
A few days ago, I downloaded the latest version of Firefox, and installed it. I have been evaluating it ever since. It looks good; I have figured out (more or less) how bookmarks work, and I'm getting used to the taskbars.
But when I try to save a page, I still get a deluge of tiny files cluttering up the target folder. Firefox doesn't save pages in archive form, but only in the old scattered form. Of course, I could simply save only the html. Maybe that's the best thing, but it loses a lot.
The chaos of junky files cluttering up my target folder is enough to send me back to Opera, despite its limitations.This extension allows for web pages to saved on MHT format. <br />
https://addons.mozilla.org/en-US/firefox/addon/8051 -
How can I HIDE a web Page From the Index above?
I sometimes would like to directly link one page to another instead of listing every single page in the INDEX. For instance, I have a "Renovations" page with two other renovation pages following.....Can this be done from page to page with Hyperlinks ONLY? Is there a way to "hide" the titles in the Index listings above each page so they don't show with the web pages that I DO WANT listed?
G5 Mac OS X (10.4.6)Welcome twincrks
You can use Inspector, Page Tab and uncheck "Include
Page in navigation menu", this will stop the page
being displayed in the navigation bar at the top of
the screen.
You can then manually create links to your other
pages (see www.willg4pb.com - Hyperlinks for
creating hyperlinks). Then, again using Inspector,
this time the Link Tab, choose to Link To: One of My
Pages, and choose the page you wish to link to from
the drop down list.
Will
AWESOME! I just knew that there was a genius out there to help me. Thank you Will! Kathy -
How can I get my web page to center in IE?
My web page aligns left in IE, but not in other browsers. Any suggestions? http://www.theolderuggedcross.com/
Hello,
you can write here, so it should not be this: "... some reason i could not create e new post." and you should see this:
If not you should ask Adobe. Particularly well I found that Adobe now also offers the chat. Here the link:
http://www.adobe.com/support/acrobatdotcom/supportinfo/.
Another "help-line" you will find here: http://helpx.adobe.com/contact/.
Hans-Günter -
When I try to email a Safari web page with Mavericks, some times it does not allow me to send the actual page and its contents. Instead it offers
you to email as a web page, link or PDF file. However, when you send the page, the images do not show up in the email.Hi,
You can try to right-click on the page and '''Send Link'''.
You can also install [https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/?src=search Addon Compatibility Reporter] and try to '''Enable''' the said extension in '''Tools''' ('''Alt''' + '''T''') > '''Addons'''. Hopefully this will restore at least partial functionality. You may also be able to find alternatives via the search box on the top right of the Addons page, or [https://addons.mozilla.org/ AMO]. -
How can I download a web page's text only?
Hello All
I have some code (below) which can download the html of a web page and this is usually good enough for me. However, sometimes it would just be easier to work with if I could download just the text only of a given page. And sometimes the text that appears on
the given page is not even available in the html source, I guess because it is the result of some script or other in the html rather than being definied by the html itself.
What I would like to know is, is there any way I can download the "final text" of a web page rather than its html source? Even if that text is generated by a script in the html? As far as I can see the only way to do this is to load the page in a
browser control and then get the document text from that - but that's far from ideal.
And I dare say somebody out there knows better!
Anyway, here's my existing code:
Public Function downloadWebPage(ByVal url As String) As String
Dim txt, ua As String
Try
Dim myWebClient As New WebClient()
ua = "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; .NET CLR 1.0.3705;)"
myWebClient.Headers.Add(HttpRequestHeader.UserAgent, ua)
myWebClient.Headers("Accept") = "/"
Dim myStream As Stream = myWebClient.OpenRead(url)
Dim sr As New StreamReader(myStream)
txt = sr.ReadToEnd()
myStream.Close()
Return txt
Catch ex As Exception
End Try
Return Nothing
End FunctionA WebBrowsers DocumentText looks like below. The outertext of each HTML element does not necessarily contain all of the text displayed on a WebBrowser Document. Nor does the HTML innertext or anything in the documents code necessarily contain all of the
text displayed on a WebBrowser Document. Although I suppose the code tells where to display something from somewhere.
Therefore you would require
screen scraping the image displayed in a WebBrowser Control in order to collect all of the characters displayed in the image of the WebBrowser Document.
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>What's My User Agent?</title>
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="author" content="Bruce Horst" />
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<link href='http://fonts.googleapis.com/css?family=Raleway:400,700' rel='stylesheet' type='text/css'>
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="/js/mainjs?v=Ux43t_hse2TjAozL2sHVsnZmOvskdsIEYFzyzeubMjE1"></script>
<link href="/css/stylecss?v=XWSktfeyFOlaSsdgigf1JDf3zbthc_eTQFU5lbKu2Rs1" rel="stylesheet"/>
</head>
<body>
Code for OuterHTML using WebBrowser
Option Strict On
Public Class Form1
WithEvents WebBrowser1 As New WebBrowser
Dim WBDocText As New List(Of String)
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Me.Location = New Point(CInt((Screen.PrimaryScreen.WorkingArea.Width / 2) - (Me.Width / 2)), CInt((Screen.PrimaryScreen.WorkingArea.Height / 2) - (Me.Height / 2)))
Button1.Anchor = AnchorStyles.Top
RichTextBox1.Anchor = CType(AnchorStyles.Bottom + AnchorStyles.Left + AnchorStyles.Right + AnchorStyles.Top, AnchorStyles)
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
WebBrowser1.Navigate("http://www.whatsmyuseragent.com/", Nothing, Nothing, "User-Agent: Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko)")
End Sub
Private Sub WebBrowser1_DocumentCompleted(sender As Object, e As WebBrowserDocumentCompletedEventArgs) Handles WebBrowser1.DocumentCompleted
RichTextBox1.Clear()
WBDocText.Clear()
Dim First As Boolean = True
If WebBrowser1.IsBusy = False Then
For Each Item As HtmlElement In WebBrowser1.Document.All
Try
If First = True Then
First = False
WBDocText.Add(Item.OuterText)
Else
Dim Contains As Boolean = False
For i = WBDocText.Count - 1 To 0 Step -1
If WBDocText(i) = Item.OuterText Then
Contains = True
End If
Next
If Contains = False Then
WBDocText.Add(Item.OuterText)
End If
End If
Catch ex As Exception
End Try
Next
If WBDocText.Count > 0 Then
For Each Item In WBDocText
Try
RichTextBox1.AppendText(Item)
Catch ex As Exception
End Try
Next
End If
End If
End Sub
End Class
Some text returned
What's My User Agent?
Your User Agent String is: Analyze
Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko)
(adsbygoogle = window.adsbygoogle || []).push({}); Your IP Address is:
207.109.140.1
Client Information:
JavaScript Enabled:Yes
Cookies Enabled:Yes
Device Pixel Ratio:1DevicePixelRation.com
Screen Resolution:1366 px x 768 pxWhatsMyScreenResolution.com
Browser Window:250 px x 250 px
Local Time:9:48 am
Time Zone:-7 hours
Recent User Agents Visiting this Page:
You!! Mozilla/5.0 (Windows NT 6.1; Trident/7.0; rv:11.0) like Gecko)
Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 520)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36
Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 630)
Mozilla/5.0 (compatible; MSIE 10.0; Windows Phone 8.0; Trident/6.0; IEMobile/10.0; ARM; Touch; NOKIA; Lumia 630)
curl/7.35.0
curl/7.35.0
curl/7.35.0
curl/7.35.0
<!-- google_ad_client = "ca-pub-0399362207612216"; /* WMUA LargeRect */ google_ad_slot = "5054480278"; google_ad_width = 336; google_ad_height = 280; //-->
La vida loca -
I have noticed that some websites are designed so that the page expands to fill in the entire screen, regardless of the size of the monitor. Here is an example: https://www.draft2digital.com/support/
I have viewed the Muse tutorial that expands the Footer area to fill in the whole screen, but it does not address how to do this for the main part of the web page, or the header. I have looked at the site setup section and do not see where I could set it to expand.
Any help would be appreciated.
Thanks.Okay, in your link the blue bars would be in muse as a blue box then drag the right side so that it stamps just outside your page area. This will make muse program it so you will always see it extend to fill the browser window. Do the same on left side and you should be good. It will work even better if you also centre the rest of your content under page, page properties, padding - check the box for centre horizontally. Any content you want to extend with the browser, while the rest stays centred, you have to drag extending the content so it snaps just outside the main page in muse.
Hope this helps.
Maybe you are looking for
-
Mid 2012 MacBook Air Troubles (Random Reboots & No Camera)
Hello, I'm hoping somebody can help me out. I have a mid 2012 Apple MacBook air that I am having problems with. Ever since I bought this laptop from my friend, it has randomly rebooted during sleep mode, and the FaceTime camera has not worked. I was
-
Just installed Acrobat, now Firefox won't open PDFs
Hi, I just installed Adobe Acrobat 8 Standard on my computer (running Windows 7). Now, if I click a link to a PDF in Firefox, it doesn't open. A new tab opens, as before, but then I get an error message telling me to close my pdf reader and my brow
-
Hello to all, I am an italian-speaking german, who wants to transfer to Italy. Could anyone give recommendations about interesting internet sites where I could leave my profile? I'm looking for a consultance job. I am specialist in ERP modules MM, SD
-
HP Pavilion dv9700 CD/DVD ROM not found in BIOS or device manager
HP Pavilion dv9715nr entertainment notebook PC. Originally running Windows Vista Home Premium, 32-bit OS. Computer recently began running very slowly/freezing/hanging during normal use. To combat freezing/hanging, mistakenly performed system restore
-
im using sun one 8 in a high traffic enviroment. My questions are: Does sun one 8 app server has the same or better performance than Son one 7 ? I dont find a tuning guide for sun one 8, there is one for sun 7, is this guide for Sun one 8 also ? Wher