× Here you can get community support related to Tag Meta.

extracting title from current URL

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 11 months ago #1929 by darkhoros
Replied by darkhoros on topic extracting title from current URL
Hi,
I am trying with /keyword- and the counter is not raising, can this have to do any thing being the fact that these urls with /keyword- have a 200 redirect to another URLs?

If so what can I do ?
Thank you alot.
Regards.

Please Log in or Create an account to join the conversation.

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 11 months ago #1930 by darkhoros
Replied by darkhoros on topic extracting title from current URL
Hi,
I have found the issue from a post I had here time ago.

My original URL in redj is
http://{siteurl}/component/joomd/real-estate-egypt/search-results.html?fromtoprice=1&tags=FIND_IN_SET("some-text",t.tags)&tag=some-text



So the URL I am using in tag meta looks like this,

http://{siteurl}/component/joomd/real-estate-egypt/search-results\.html\?fromtoprice=1&tags=FIND\_IN\_SET\(\".*\"\,t\.tags\)&tag=.*

I have replace the word "some-text" with .*

I have escaped all the special chars with slash so my first question is, Is that URL in the correct form for tag meta as it is not working?

My second question is I like to use the word some-text found in the url as the title of the page and this word "some-text" changes dynamically

So what is the place holder I can use to extract this part of the url to be used as title of my page, I know this is complicated but I trust that you will provide your excellent support as usual.

Many many thanks in advance.
Regards.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #1934 by admin
Replied by admin on topic extracting title from current URL
Hi,
now I am a little confused about your current request, because we had another 3D with a similar problem but related to ReDJ. The syntax for rules to match URLs in Tag Meta and ReDJ are the same, but placeholders are a little different.

Now I suppose the problem with ReDJ is solved, so you just have a problem with Tag Metato setup meta info. Please, send me an email with these informations:

Joomla version
Tag Meta version (e.g. 1.7.2 Community)
The full URL or URLs to match

Kind regards,
Luigi

Please Log in or Create an account to join the conversation.

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 11 months ago #1950 by darkhoros
Replied by darkhoros on topic extracting title from current URL
Hi,
I have sent you the email.
Thank you.

Please Log in or Create an account to join the conversation.

More
10 years 11 months ago #1954 by admin
Replied by admin on topic extracting title from current URL
Ok,
I will answer ASAP.

Thanks,
Luigi

Please Log in or Create an account to join the conversation.

  • darkhoros
  • Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 10 months ago #1961 by darkhoros
Replied by darkhoros on topic extracting title from current URL
Hi,
I have sent you access to my devserver.
Thank you.

Please Log in or Create an account to join the conversation.

Time to create page: 0.133 seconds