Broken links in Joomla sh404SEF plugin when using port other than 80

Since the links generated by Joomla’s SEF module weren’t to my liking, I tried out the sh404SEF plugin on my local development server, which uses port 8080. Broken links everywhere! Digging around in the code (that really qualifies for a post on The Daily WTF) I found that a port other than 80 requires changing a setting in:

administrator/components/com_sh404sef/custom.sef.php

Open that file and change

$shDefaultParams['sh404SEF_USE_NON_STANDARD_PORT'] = 0;

to

$shDefaultParams['sh404SEF_USE_NON_STANDARD_PORT'] = 1;

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: