Tags and permalinks

13 posts by 2 authors in: Forums > CMS Builder
Last Post: April 2, 2015   (RSS)

By Jesus - April 2, 2015

Awesome! This did the trick!!

Thanks for your help Greg!

By gregThomas - April 2, 2015

Hi Jesus, 

The permalink system only allows you to link to files or records in CMSB, so it wouldn't be possible to link to the tag field and retrieve on that.

My knowledge on htaccess rewrite rules is fairly basic, so I'm not sure how you could create that system, but it should be possible. Perhaps you could create a permalink for the tags page in the permalinks section so that tags.php has the URL /tag/ (You can find out how to do this in the permalinks readme file). Then your URL's could look something like this:

http://mydomain.com/tag/?tags_keyword=Cancun

You could also change the tags_keyword variable so that it's just keyword, which would give you the URL:

http://mydomain.com/tags/?keyword=Cancun

Thanks,

Greg

Greg Thomas







PHP Programmer - interactivetools.com