Creighton Students
Manual Home  >  Typo3 assistance  >  Typo3 User interface  >  Typo3's menu  >  Web  >  Info  >  Speaking URL Management
Speaking URL Management

URL Management choices

Contents:

Real URL

What is Speaking URL Management?

Typo3's default method of finding it's pages uses unique page id's to recognize what page is what.  For example, Creighton's main academic page's id is 41.  So to get to that page at Creighton's website, typo3 could do this:  

http://www.creighton.edu/index.php?id=41

and you would arrive at the exact same page as:

http://www.creighton.edu/academics/

However, most people don't want to have to cope with a query string (that is the "?id=41").  They are not as easy to remember as remembering the named URL.  

So we use a Typo3 extension called RealURL which creates the easier to remember named URLs. 

"Speaking URL"  is really only another way of saying "Real URL".   If you are really curious about it you can read more about RealURL at the Typo3 Wiki.

So why should I use or care about this part of the info module?

Really there will be only one reason (beyond curiosity) that you'll want to come to this area.  Sometimes if you change a pagetitle, thus changing the URL, it seems like Typo3 keeps using the old page title.

So for example, you have a page:

www.creighton.edu/mysite/thejesuwhits  (really bad spelling of Jesuits - and no this is not a real page you cannot go there)

It's been there for a couple of days before you notice your bad spelling mishap.  You correct it to:

www.creighton.edu/mysite/thejesuits   Whew you got it before it went live!  Yeah. (again note this is not a live page, you cannot go there).

Oh no, you find that the url with the incorrect spelling still works!!!!  How can this be, how can you get it to stop??

There is a reason for this to occur (really).  The thinking is this: if someone has an old url bookmarked, but you change the name, this can ensure they get back to the right place.  However, your site isn't even live, you don't want this.  You want the old url to just dissapear.

This is where the Speaking URL Management can help.

Naming a new page the same exact name as an old name

I've recently noticed that a lot of people are naming pages with the same exact name.  So you have this, the one in red is a hidden page:

  • about us  (id=12)
  • mission (id=13)
  • contact (id=14)
  • contact (id=15)

Well this should work shouldn't it?  One of the contact pages is hidden?  I hid the one I no longer want and created a new one!   Anyone linking to mysite.com/contact will still get there?

It might work, but it might not work at all.

Why?

For one thing Typo3 identifies it's pages by the unique.  So if your original link was to contact (id = 14) and you change to the page contact (id = 15) any link created in Typo3 to your contact page will break.  Remember it was linking to id = 14. 

Any external link that uses the words (mysite.com/contact) should be able to still get there.

But wait, they can't why?

Remember Typo3 uses RealURL to change the  index.php?id=15 (which is how Typo3 without RealURL would get to your contact page) to mysite.com/contact.  

You changed that page from id=14 to id=15, and RealURL caches it's translations so it still thinks that the contact page is id=14.  

To fix this

follow the steps listed in "So what do I do to get it to stop?"

and more importantly NEVER name a page the same name as another.  That way Typo3 won't get confused.  The pagetitle is not what is shown in navigation menus (unless you don't add a subtitle or a navigation title).  So you can name your contact page "contactnew" and STILL use "Contact" in your navigation.  The upside, Typo3 won't get confused, and your users will find your page.

So what do I do to get it to stop?

First, highlight the errant page in your pagetree.  Go to the Info Module and choose "Speaking URL Management" from the very top select in the workarea.

To fix an old URL from working you will use the top three options in the select list.

In all three of these areas we will only work with the currently highlighted page in the pagetree.

Choose "ID-to-path mapping", the top selection on the select.  In that work area make sure you are on tthe page that still seems to have it's old name.  Click the "Delete" icon next to the path.

 

Click image for full size:

Then choose "Decode cache" and click "Delete displayed entries".

Finally choose "Encode Cache" and also click on "Delete displayed entries".  

After you do this it may take a minute for Typo3 to catch up.  If after 5 minites the old name remains contact the webteam and we'll get it straightened out for you.

Creighton University