Webmastersite.net
Register Log In

CURRENTURL issue with cats as sub-domain

Comments on CURRENTURL issue with cats as sub-domain

fusionx
Experienced

Usergroup: Customer
Joined: Jun 18, 2008

Total Topics: 22
Total Comments: 85
fusionx
Posted Aug 25, 2008 - 10:33 PM:

Hi Paul,

Playing with CURRENTURL in a detailed listing, and realized it always returns http://www.mysite.com/bunch-of-parameters instead of http://mysub.mysite.com/category/details-file-name.html

Is there any way to get a variable to give me the latter, as this is a translation through HTACCESS and not a URL recognized/created by the software?

I'm trying to do two different things - add a "Link To This Listing" gimmick to the details page with a hard link option (browser's URL to the current page) and a voting option, eg

http://mysub.mysite.com/in.php?id=xx

so the link goes to the subdomain not www.

Make any sense?

Thanks,

Jeff
Paul
developer

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

Total Topics: 61
Total Comments: 7868
Paul
Posted Aug 26, 2008 - 12:17 PM:

The software only receives the final URL, there's no way for {CURRENTURL} to know what it was before the .htaccess... and if it did, that'd break all the functionality that relies on {CURRENTURL}. In the case of a details page you should use {LINKDETAILSURL} instead of {CURRENTURL} though.

Don't in.php links work with the subdomain? {CATURL}/in.php?id={LINKID}
fusionx
Experienced

Usergroup: Customer
Joined: Jun 18, 2008

Total Topics: 22
Total Comments: 85
fusionx
Posted Aug 27, 2008 - 7:58 PM:

Ahh - never looked at CATURL - will check that out now.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.