Skip to content

Can Macros Pull Folder Out of URL?

Just wondering is there a way with the current macros to pull a folder out of the url so say the full url is I want to just pull destinations or just pull china out of that?


  • SvenSven
    Sorry, such macro does not exists.
  • edited January 2014
    Thanks for answering me, to be honest I would really only need the very last folder, if I needed "destinations" the url I would pull from would be and if I needed "china" the url I would pull from would be

    Would there be a way to add a macro that would just to pull the last folder in the url?

  • SvenSven
    sorry just too special, noone needed this before.
  • Understood.  This is a very large site (over 10,000 pages) and I was trying to figure out a way to pull a keyword from the url to place into a macro such as "great %lasturlfolder% destinations" would pull "great china destinations" into the keyword field in SER.  That way I could come up with one huge list of keywords with the %lasturlfolder% macro and not have to duplicate that 10,000 different times.  I realize I can do that with other programming/scripts I just didn't know if SER already had the macro.  Thanks again.
Sign In or Register to comment.