7 votes
Accepted

Using {redirect=""} to redirect to an external website

Not with a tag, but with a PHP snippet you can, you have some options: Using EE's built on function <?php ee()->functions->redirect('{external_link}'); ?> You'll need PHP parsing on, ...
  • 2,418
3 votes

Is there any way to create 301 redirects while only having access to the clients CMS?

Yes! Use the redirect variable in your template. From the documentation: {redirect='news/local' status_code="301"}
  • 1,079
3 votes
Accepted

How to redirect empty url to a specific page

My friend... I'm afraid your syntax is incorrect. Place this rule after your index.php rewrites (at the end of the standard EllisLab htaccess file): RedirectMatch 301 ^/?$ http://www.example.org/...
  • 5,900
2 votes

Expired entry URL redirect

Well, you have a conditional that must be satisfied in order to achieve your redirect. In order to accommodate your requirements, you must address every condition and you are not (though you may think ...
  • 5,900
2 votes

Using {redirect=""} to redirect to an external website

Why just using either snippet or direct put to template meta-part instead of using PHP in-template if editors put full URL? Something like: {exp:channel:entries} <meta http-equiv="refresh" ...
2 votes
Accepted

Redirect adding absolute path when using {redirect="{page_url}"}

Try using {page_uri} instead of {page_url} The redirect tag is looking for a relative, not absolute value.
  • 1,987
2 votes
Accepted

EE 5.x - How to suppress login/logout confirmation page

Not sure it's really possibly without editing core files at this point. I don't have time to test this, but I'll throw out a small guess based on hooks. For login, you'd need to try one of these ...
  • 5,900
2 votes

Redirect a URL and remove a segment

I actually just figured it out with an htaccess RewriteRule. RewriteRule ^blog/detail(.*)$ /blog$1 [NC,R=301,L]
  • 741
1 vote

Redirect url from /blog/singlepage/entry_id to /blog/singlepage/url-title

It would be possible, if you don't mind doing a page reload as part of the process. EE can find an entry with just the url_title or entry_id, so all you need to do is create a default template that is ...
  • 3,587
1 vote

Different page direct based on form field upon submitting

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 ...
  • 3,587
1 vote

301 Redirect with Domain Alias

Detour Pro won't do this for you, since it doesn't look at root domains, only the parts that come after them. You can do this via .htaccess though: RewriteCond %{HTTP_HOST} ^epibelize\.org|www\....
  • 17.4k
1 vote

404 redirect not working, sending to another segment

The problem you're facing is related to the fact that the Channel Module doesn't look for entries on all segments by default. Imagine 9 segments. The module would have to test every single segment ...
  • 6,108
1 vote

redirect in add-on module redirecting me to admin control panel login form with # appended in URL

Brandon is correct - EE does not like a hash in a redirect URL. Instead, try using flash data for this. $this->EE->session->set_flashdata('selected-tab', 'settings'); $this->EE->...
  • 17.4k
1 vote

Redirects from old site using queries to new EE site

Did you actually mean this? RewriteCond %{QUERY_STRING} range.php?type=baropt&item=01 [NC] RewriteRule ^(.*)$ http://domain.com/range/bars/led-bar? [R=301,L] You should use RewriteCond, not ...
  • 2,846
1 vote

Handling no results redirect with Stash

Since this question has been answered above, but hasn't yet been added as answer, I'll answer it here, so it can be marked as answered and corrected. I ran into the same issue but solved it a little ...
  • 71
1 vote
Accepted

Expression Engine admin page redirects to index view

I would start with looking at the index.php file in the /main directory. Open it up to verify it's contents. Is it the same as the index.php file for the home page/root of the website? If so, you ...
  • 1,610
1 vote
Accepted

modifying .htaccess to remove index.php? breaks my access to the control panel

EllisLab says you have to add a special rewrite condition if you rename your system folder: If your site’s system directory (/system/) has been renamed and is still accessible by URL, modify the ...
  • 5,900
1 vote

Clean 301 redirects using an .htaccess that also removes index.php

This is what we use to redirect a directory to a subdomain RewriteRule ^trade* http://trade.domain.com/ [R=301,L]
1 vote

Clean 301 redirects using an .htaccess that also removes index.php

Try a RedirectMatch rule and see what you get: RedirectMatch 301 ^/store/?$ http://store.example.com
  • 5,900
1 vote

Remove 'home' folder from home page url

OOOOk... so did you try setting a default template group? If you set your default template group to "Home", the index template in their will be resolved at www.example.com as well as www.example.com/...
  • 5,900
1 vote

require_entry problems with more than 2 segment

Based on my understanding of the issue... Try this: {exp:channel:entries channel="recipes" url_title="{if segment_2 != 'dessert'}{segment_2}{if:else}{segment_3}{/if}" limit="1" require_entry="yes"...
1 vote

require_entry problems with more than 2 segment

https://ellislab.com/expressionengine/user-guide/urls/template_routes.html Template routes! These things are your friend. On your template, you want to set a template route that looks like this: /...
  • 5,900

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