The Joomla! Forum ™

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.

Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Finding the non-SEF URL
PostPosted: Sat Feb 16, 2013 6:23 pm 
User avatar
Joomla! Hero
Joomla! Hero

Joined: Sun Feb 12, 2006 2:02 pm
Posts: 2745
Location: Durban, South Africa

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 -

Reply with quote  
PostPosted: Sat Feb 16, 2013 9:40 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Fri Aug 12, 2005 7:19 am
Posts: 11206
Location: Leeds, UK
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

Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 8 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:  
Powered by phpBB® Forum Software © phpBB Group