Tips tagged “Urls”
- Flexible weblog entry searching by passing URL segments.
-
Posted on October 07, 2009 by moogaloo
Inspired by Justin’s tip passing variables via the URL, something similar I’ve used is for an album review site to give additional search options:
a weblog for the album review may also include other info, eg label, artist, year, city, country whic you may then want to be links that take you to a
- Enhance your 404 page with ‘were you looking for’ suggestions and search!
-
Posted on June 10, 2009 by JonnyUK
It can be pretty easy to kill a previously working URL simply by editing the url_title (or title) of an entry, which can go unnoticed for you on your website (because your links are likely to be dynamic and coded with the {url_title} variable so they will get updated at the same time), but may
- Handle incorrect URL’s properly - avoid search engine penalties and help users with 404 error pages.
-
Posted on June 10, 2009 by JonnyUK
It is very important to make sure you handle invalid URL’s properly within your Expression Engine website.
By default, if you visit a URL that points to an invalid entry for a weblog, instead of showing an error ExpressionEngine will generally try to second-guess what you were trying to find by
- Use conditionals to design your own URL structure
-
Posted on June 08, 2009 by JonnyUK
The EE docs state that URL’s at their simplest should be formatted using the following formula:
http://www.example.com/index.php/template_group/template/But what if you want a more customised (or even dynamic) URL that doesn’t necessarily match the template name?
If you try to visit a URL
