Finding the non-SEF URL

Discuss Search Engine Optimization in relation to Joomla! 3.x. This forum will also have discussions on SEF/SEO Joomla! 3.x extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
User avatar
Joomla! Hero
Joomla! Hero
Posts: 2745
Joined: Sun Feb 12, 2006 2:02 pm
Location: Durban, South Africa

Finding the non-SEF URL

Postby brendonhatcher » Sat Feb 16, 2013 6:23 pm


When manually making links between pages of a Joomla site that has SEF turned on, the temptation is to simply grab the URL of the page one is linking to and then use that.

However, if the SEF URL for the destination page is altered (e.g. changing the page alias), then the inbound link will break.

I used to use an extension called URL tactics which showed the raw url at the bottom of the page.
The extension was abandoned long ago, but happened to continue working on Joomla 2.5.

I have installed a PHP-parsing module on my Joomla 3 site, and I am now trying to write the necessary code to fetch the raw URL for the current page.

I'm a really script kiddie when it comes to kludging together some PHP, and I can usually get by.

In this case, the problem is that most of the documented code I am finding on Google is for older versions of Joomla and my usual approach is not working.

Can anyone assist?

Web developer in Durban, South Africa -
Joomla Days in South Africa -

User avatar
Joomla! Master
Joomla! Master
Posts: 11438
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK

Re: Finding the non-SEF URL

Postby brian » Sat Feb 16, 2013 9:40 pm

Have a look at this ... est-plugin its for 2.5 but I bet it wouldnt take much to make it work for 3
"Exploited yesterday... Hacked tomorrow"
Joomla Hidden Secrets

Return to “Search Engine Optimization (Joomla! SEO) in Joomla! 3.x”

Who is online

Users browsing this forum: No registered users and 9 guests