People who code: we want your input. Take the Survey
4

According to the bug reported by Mark Drzycimski, for those who don't have an Ellislab account, the solution is listed as follows: In /system/expressionengine/libraries/Redirect.php on line 50, change: "<p><a href='".$_GET['URL']."'>".$_GET['URL']."</a></p>\n</body>\n</html>"; to: "<p><a href='".$_GET['URL']."'...


3

You probably can find all you need in the ExpressionEngine documentation which discusses this issue and provides some sample code.


3

You need to use %{QUERY_STRING} RewriteCond %{QUERY_STRING} ^option=com_user&view=reset&Itemid=14$ RewriteRule ^(.*) /contact? [L,R=301]


3

You can accomplish that by doing the following: Make a template group called 404.group and in that template group create an index.html template (this will be your 404 template) Set "Enable Strict URLs" to "Yes" in your Global Template Preferences For the "404 Page" setting choose "404/index" (the template you created in step 1 above), again in your Global ...


3

Instead of trying to catch links on the page (which won't work if the customer uses their back button etc), you should use the empty_cart="yes" parameter on the product tag. https://exp-resso.com/docs/product_tag.html#empty_cart {exp:store:product entry_id="{entry_id}" empty_cart="yes"} <!-- form here --> {/exp:store:product} This means the cart ...


2

You're close. You'll need to have the return value on the empty cart form ('form.empty-cart' in my example below) change to the href for the anchor. $(document).ready(function(){ $('nav a').click(function(event){ event.preventDefault(); var link = $(this).attr('href'); $('form.empty-cart input[name="RET"]').attr('value', link); $('#store ...


2

The problem is that the redirectee plugin use the native PHP header function which not support the 404 code. In fact it is a little bit strange to send a 404 with the header. Therefor you have to use a 302 code, the 404 page will send a 404 code on his page. As for redirecting with the 404 code, you have the think of this QA: User: Hey, do you have ...


2

check out this add-on http://devot-ee.com/add-ons/mo-variables and it's "Page Tracker" variables that you can use!


2

I know it'd be hacking core, but wouldn't throwing a rel="nofollow" attribute on the anchor negate the effectiveness of this?


2

I'm not sure of this behavior being applied to other fields than comments, but maybe it worth to try. On Control Panel > Admin > Security and Privacy > Security and Sessions, look for Apply Rank Denial to User-submitted Links.


1

It sounds like what you need is a conditional to set the value for the return parameter for your freeform tag. Hard to say more without more information on what you are trying to do / what your template looks like and knowledge of the versions of EE and Freeform you have installed. But roughly something like this... {exp:freeform:form return=" ...


1

There are a few ways to do it... one as Benoit L mentioned, and I will throw up an example - if you happen to use Apache or LightSpeed webserver, this should work... the other way is through ExpressionEngine pages/templates itself (easiest way). Of course the more you know of the basics in the way ExpressionEngine works, the more sense this will make to you. ...


1

If you use the htaccess.. use the one on the root it should work. If you change the Status of the unused pages to Closed.. the pages shouldn't show up.. But if there's links to theses pages you will get a 404 or a redirection.


1

I change the way of making mobile version of site. I'm going to stay at the same URL and use Mobile Detect script (http://mobiledetect.net/) in my templates. So I do not have to create a new subdomain and detect device by server. To be honest, this is something I was looking for.


1

Consider using the RedirectURL plug-in from Rodrigo Passos. It allows you to specify an entire absolute URL. This would allow you to provide a URL in something like this: {exp:redirecturl url=“http://myurl.com/{channel_short_name}/{url_title}”} Or if you're using page URIs: {exp:redirecturl url=“http://myurl.com{page_uri}”} Find more information about ...


1

Well, you shouldn't add the domain on redirect global variable. {redirect='template_group/template_or_segment_2'} So, your option is to try: {redirect='store/product/{url_title}'} I have to confess that I never tried to use three segments on redirect global variable.


1

You really need to take the second installation out and place it on a subdomain. test.root.be for instance. Then it can operate completely independently and wont clash with your existing install. What you're effectively doing there is running EE within EE as far as the URL schema is concerned.


1

Found a great solution this morning. We are now using stash to set values before pages are redirected and then to get the value on the login template. It is fairly similar to nonprofit_tech's suggestion above, except this is all handled on a single page which is being set for all our redirects. So if a user has no access to a page, they are sent to the site'...


1

There are a few ways to do this, I find the easiest to be, to make the login page, available everywhere. For example, we frequently have the login available from the Navigation Bar or one of those TopNav bars, say like Twitter. Generally, in either case, we use either CSS hide/display or an overlay window to display the login option. And have the login ...


1

I contacted Ellislab to look at this, and they couldn't figure it out either. So I finally opted to rebuild it from my last backup (note to self, take more frequent backups!!)


Only top voted, non community-wiki answers of a minimum length are eligible