Webmastersite.net
Register Log In

How put slash / at end of home link
Using joomla, need / at end of home link for WSN

Comments on How put slash / at end of home link

scanreg
Experienced

Usergroup: Customer
Joined: May 23, 2006

Total Topics: 16
Total Comments: 51
scanreg
Posted Jun 03, 2006 - 6:08 AM:

I run joomla and a neat-o rewriting thing to make nice URLs in joomla.

However, if a url ends like this:

http://www.mysite.com/links

joomla will redirect the click to the site homepage.

Instead, I need the WSN home link to have a final slash, and then joomla will leave it alone:

http://www.mysite.com/links/

Where can I put that final slash in so that joomla let's the WSN home link work okay?

Thanks smiling face
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 04, 2006 - 11:44 PM:

There should be a way to correct Joomla's bug. There's a similar problem where WSN rewriting doesn't work if you haven't specified a rewrite-base value, so presumably your Joomla .htaccess doesn't have one.
scanreg
Experienced

Usergroup: Customer
Joined: May 23, 2006

Total Topics: 16
Total Comments: 51
scanreg
Posted Jun 05, 2006 - 6:30 AM:

What's weirder is that the dirs below the link directory work okay without the trailing slash:

http://www.mysite.com/links/fred

I guess that's cuz their outside of joomla control (joomla is installed at /public_html/), whereas the link directory is at /public_html/links/
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jun 08, 2006 - 5:29 AM:

The WSN Links .htaccess takes over for anything beneth WSN Links, which makes it work. /links isn't considered beneth WSN Links though for whatever reason.

RewriteRule ^links$ links/index.php

would surely fix it.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.