Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Get complete URL in 4.6.2
Probably this has been asked before, forgive me for this:
Out of TXP 4.6.2 i am trying to get a full page URL, which in this case was generated by smd_tags.
The generated URL looks like https://site.com/trigger_section/smd_type/smd_tag_name
trigger_section is as in smd_tags preferences, smd_type is article, smd_tag_name is the search tag name, however
<txp:page_url tape="request_uri" />
only returns the title of the article
<txp:php>
$url_page = "http://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]";
echo $url_page;
</txp:php>
returns http://site.com/article_title
I can’t seem to get the complete string from my browser URL bar.
I suspect the problem lies in the .htaccess file, and/or there is a misconfiguration in smd_tags.
Anybody has an idea?
Thank you much in advance.
Last edited by jayrope (2018-02-26 13:05:43)
A hole turned upside down is a dome, when there’s also gravity.
Offline
Pages: 1