Want to thank and support me for my work?
Buy my iWebFAQ.org E-Book (15$) (reviews) (sample) or...
iWebFAQ.org is presented by Cédric and hosted by HostExcellence
It is currently Sat May 25, 2013 10:10 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Can't get MassReplaceIt to replace Page Titles
Author Message
 Post subject: Can't get MassReplaceIt to replace Page Titles
PostPosted: Wed Sep 21, 2011 7:31 pm 
Offline

Joined: Thu Apr 21, 2011 1:20 am
Posts: 22
I have been using MassReplaceIt to help build my 09 iWeb site and its really good at replacing code. I followed the set up you suggested for finding page code and replacing it by using the find/replace in MRI. I set the mask to - File ends with '.html'.

Now I want use MRI to replace each page title (I have 32). I'm doing this for improved SEO. I noticed your pages all have unique title on the tabs. This also replaces the generic iWeb page name on the tab from "home" to "My Site Name | Home" . Much better.

I set up MRI and iWeb to replace my page titles in the following way- here are the results:
1. made a text code on each iweb page that is unique like "HomeTitleGoesHere" "AboutTitleGoesHere" etc
2. set up saved query in MRI for each page (32)
3. pointed Find in MRI to look for: "HomeTitleGoesHere"
4. placed new title to Replace in MRI: <title>My Site Name | Home</title> Another title ex: <title>My Site Name | About</title> etc
5. ran MRI and this added the Title information to the <body> section as a div and did not replace the title in the <head> section
6. after publishing MRI replaced the page code box "HomeTitleGoesHere" with the new title code "My Site Name | Home". But not in the tabs, on the actual page! I can now see the titles on each page of the site where the code box was. Obviously not what I wanted.

Should I change the Mask settings so MRI searches the page files differently? Is there another way?
Thanks in advance. BP


Top
 Profile Send private message  
 
Can't get MassReplaceIt to replace Page Titles
Author Message
 Post subject: Re: Can't get MassReplaceIt to replace Page Titles
PostPosted: Wed Sep 21, 2011 8:45 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Hi,

also have a look at page 44 of the E-Book "How do I define what displays as the header at the top of the browser window?"

Anyway if you want to change it in MassReplaceIt because you deleted the TextBox by accident or so in each page published from iWeb if you open the page in TextWrangler you should find a line looking like this

Code:
<title>Blank page or whatever the title may be which shows up in the tab currently</title>


so instead of adding a TextBox to each page with a code in it and replace it you should copy the title line of the page and replace it with the title line you want to display instead.

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron






Want to support me for my work?

or buy my iWebFAQ.org E-Book (15$)

(reviews) (sample)

Thanks,
Cédric



 

This website is hosted by HostExcellence



© 2008, 2009 Powered by phpBB Group
Macinscott 3 style by Scott Stubblefield