8:38 am
I am using the Global Synonym Table to append a parameter to the end of the URL's for a feed I am syndicating. This works when I know the exact URL. My question is can I use wild cards to do a pattern match in the Global Synonym Table?
Ex. |http://www.url.com/something_i_know/something_i_dont_know/|http://www.url.com/something_i_know/*/?my_parameter
No it is impossible to use wildcards in the global synonym table simply because all special wildcard symbols will be unavailable for standard replacements.
So if you want to do this, you have to write a custom PHP handler. For example:
Login to see the code
You have to put this into the "PHP Code <?php .. ?>" box and apply changes. That's all!
6:29 am
Hi, I also need to append a tag to the end of the url, the code works but the tag is added to the beginning of the last part in this feed instead of to the end, Login to see this link :
Login to see the code
It becomes "http://www.gog.com/promo/?redirectadventures_week end_promo_050713", but I want it to be Login to see this link end_promo_050713?redirect
How to make the tag move to the end of the URL? Thanks
9:33 am
Login to see the quote
Yes, I'll get around learning the basic stuff. I didn't even know they call Regular Expressions before you told me.
Regarding the code, what if I have more than one item to replace? For example, I also need to replace Login to see this link, should I just put another pair of the code above?
Login to see the code
Most Users Ever Online: 541
Currently Online:
16 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
ninja321: 84
s.baryshev.aoasp: 68
Freedom: 61
Pandermos: 54
MediFormatica: 49
B8europe: 48
Member Stats:
Guest Posters: 337
Members: 2856
Moderators: 0
Admins: 1
Forum Stats:
Groups: 1
Forums: 5
Topics: 1643
Posts: 8359
Newest Members:
info.conversieonline, samuel2288, comercios.cercademi, wanmarkets, torontomark48, info.ckmedianetworkAdministrators: CyberSEO: 3950