Questions tagged [redirects]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 views

how to write 301 redirects when code to remove index.php is present (EE7)

I am trying to create simple same-domain redirects for an EE7 site on Dreamhost using the htaccess file. For instance, I want to redirect https://www.example.com/template_group/page1 to https://www....
thisyONE's user avatar
0 votes
1 answer
34 views

Redirect a URL and remove a segment

I recently redid an ExpressionEngine site that was not using template routes for a blog, so the blog URLs were like this: http://mywebsite/blog/detail/url-title-here After the redesign, I created a ...
mediapimp's user avatar
  • 741
0 votes
2 answers
53 views

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

I have two types of urls for each posting on my EE5-installation, namely www.xy.com/blog/singlepage/url_title www.xy.com/blog/singlepage/entry_id The reason for this doubling lies back in ancient ...
BNetz's user avatar
  • 470
0 votes
2 answers
45 views

Different page direct based on form field upon submitting

I’m looking for a pointer in the right direction to research this because my GoogleFu just isn’t cutting it. I’m on EE2 (hopefully to be upgraded to 5 soon…), with Freeform, and I have a form that, ...
user10602's user avatar
0 votes
2 answers
81 views

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

on EE 2.x the Freemember addon allowed to directly redirect the user after login/logout to a specified page (avoiding the default login/logout confirmation page). Since the Freemember addon is EOL, ...
pete19's user avatar
  • 103
0 votes
2 answers
149 views

HTTPS url just redirects back to HTTP

I have a site that's running EE 3.3 and I'm trying to change it to include the SSL certificate that's just been installed on the server. I normally can change the config or the URL settings to ...
James Cottis's user avatar
1 vote
0 answers
411 views

htaccess rewrite

I have an endpoint that I need to rewrite semantically for various reasons. The problem is it is an API endpoint and carries POST data. If I use a 301 or 302, the redirect happens, but I lose all data ...
W3bGuy's user avatar
  • 1,610
0 votes
1 answer
44 views

Blog posts have 2 urls... /site and /blog. How can I remove /site and redirect to /blog

Google is indexing 2 different urls for the same blog posts, one has /site the other correctly has /blog. Example... www.domain.com/site/blog-post-title www.domain.com/blog/blog-post-title How can I ...
user2040962's user avatar
0 votes
1 answer
184 views

too many redirects EE 2.5.4

I have moved the site www.webawards.com.au and followed the information in regards to moving the existing site to a new server. I have a problem with too many 302 redirects and the hosting company ...
Helen Burgess's user avatar
0 votes
1 answer
84 views

Anything like Freemember for EE3?

Or some other means of bypassing the 'thank you, you're logged in' message pages on login/redirect?
segovius's user avatar
  • 415
0 votes
1 answer
410 views

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

I'm a FED but I've never even heard of Expression Engine. I googled and poked around with no luck. Unfortunately we've only been given access to their CMS (EE) and we're getting a request to create ...
nthChild's user avatar
  • 101
1 vote
1 answer
125 views

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

I recently upgraded to EE2 2.11.7 and I was using a redirect to automatically redirect user if on search results if there was an exact match. This was working fine for me previously: {if ...
frshjb373's user avatar
  • 273
1 vote
1 answer
166 views

301 Redirect with Domain Alias

Hi and thanks in advance for any help! Our main domain is ecologyproject.org, which contains information for all of our program sites. We have purchased other domain names, specific to our program ...
Derek Laine's user avatar
0 votes
1 answer
43 views

.htaccess 301 for new structure from /blog/name to /blog/article/name

The title really says it all. I am by no means an .htaccess wizard. I rebuilt the site and have an old URL of: http://domain.com/blog/whatever I need all these to redirect to: http://domain.com/...
W3bGuy's user avatar
  • 1,610
1 vote
2 answers
66 views

Logged out redirect not working for cartthrob:add_to_cart tag

I have add to cart buttons like this: <a href="{entry_id_path='weekend-courses/add-to-cart'}" >Book now</a> 'weekend-courses/add-to-cart' contains only this: {if logged_out} {redirect=...
Tim Print's user avatar
  • 234
0 votes
2 answers
60 views

404 Redirect when there are too many segments

Having some issues forcing a 404 redirect when there are too many segments. Here is the page I am working on http://syntropy.highimpact.com/case-studies/aurora-flight-sciences/ I'm using the ...
Micah Kohne's user avatar
0 votes
1 answer
133 views

Expired entry URL redirect

Apologies... I am more end user than developer so I understand just enough coding to be dangerous! :) I found a question and answer about redirecting an expired URL to another page, and using that ...
Erin Schrad's user avatar
0 votes
1 answer
404 views

Expression Engine admin page redirects to index view

I am a newbie to Expression Engine, and am trying to help a local nonprofit with an EE site that was hacked. The details of the hack are unclear. Their admin page was at a specific URL which now no ...
sameers's user avatar
  • 103
0 votes
1 answer
339 views

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

I recently took over from another developer and I'm having some trouble with my .htaccess breaking my admin control panel. My .htaccess file is as follows: RewriteEngine On RewriteRule ^case-...
Matt Dowis's user avatar
0 votes
1 answer
170 views

EE Contact Form With No Redirection

I am using EE's built in contact form feature ({exp:email:contact_form}) on my site and it works great. The issue I have is that the user is shown the following EE page on submit: This looks really ...
Mikey's user avatar
  • 105
0 votes
1 answer
33 views

Redirect to entry with true value for certain field?

What I'm hoping to achieve is for someone visiting /events on my site to be redirected to the current event's page ( /events/{url_title} ). However, this redirect would be dynamic to check for the one ...
Lauren F's user avatar
  • 103
0 votes
1 answer
146 views

DetourPro Redirect Home Page

I have a client that was purchased by another company, and they've asked to have several pages redirect to analogous destinations on the new parent company's site, but they want to maintain access to ...
Ty Morton's user avatar
  • 322
2 votes
2 answers
304 views

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

I've got a somewhat standard .htaccess for removing index.php from my EE1 URLs: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_URI} ^/$ [NC] RewriteCond %{QUERY_STRING} ^(utm_source=.*) ...
Sandwich's user avatar
  • 542
0 votes
1 answer
2k views

Too many redirects error (htaccess)

I recently got an SSL for my website and I'm trying to set up a htaccess so whenever someone joins the site it automatically takes them to the secure version of the site, but whenever I upload my ...
TipsyDriver's user avatar
2 votes
1 answer
319 views

Remove 'home' folder from home page url

I have a url like this www.example.com/home/ and I cannot get rid of the home folder from the URL. The best I can do results in which causes the page to crash. I've been working with the htaccess ...
benny05's user avatar
  • 21
0 votes
1 answer
366 views

{site_url} global variable not outputting in php header redirect

Trying to create the following redirect template for some structure pages, however the url is outputting like this http://example.com/{site_url}#section. Any idea why {site_url} variable isn't working?...
frshjb373's user avatar
  • 273
0 votes
2 answers
252 views

require_entry problems with more than 2 segment

www.cooking/recipes/apple_pie The first Expression Engine segment (recipes) represent the recipes channel, and the second segment represent an entry (here apple_pie) If an entry doesn't exist or is ...
Stéphane's user avatar
  • 885
1 vote
1 answer
7k views

How to redirect empty url to a specific page

I have an event website and I want visitors to www.example.org to be redirected to www.example.org/todays-info "todays-info" is an entry, and I have "Enable strict URL'S" set to No so that I can ...
Paul Frost's user avatar
1 vote
2 answers
4k views

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

We're trying to use redirect to allow our website editors to link to external pages, however when we use: {exp:channel:entries} {redirect='{external_link}'} {/exp:channel:entries} It just takes ...
Nick's user avatar
  • 693
0 votes
1 answer
496 views

Redirect in template issue

I use redirect template variable to redirect user conditionally: {if logged_in AND (segment_3 ~ "/[^\d+]/" OR segment_3 == "")} {!-- Redirect to own profile if logged in--} {redirect="account/...
namesmile's user avatar
0 votes
2 answers
87 views

404 redirect not working, sending to another segment

I'm having problems with a template sending a missing page to another segment rather than the 404 page. For example, The URL below would give us our Disney Ship. WEBSITE/cruises/disney/ships/...
Chris Brown's user avatar
0 votes
2 answers
620 views

404 not working; bad URLs show only blank page

My website is displaying a blank page when incorrect/absent URLs are used. But I would like it to show a 404 page such as this template I've created. I have tried to set my global template ...
Just Frances's user avatar
2 votes
1 answer
371 views

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

$this->EE->functions->redirect(BASE . AMP . 'C=addons_modules' . AMP . 'M=show_module_cp' . AMP . 'module=module_name_here' . '#tabsettings'); EE v2.9.2 I want to redirect the user after ...
Brad's user avatar
  • 572
0 votes
1 answer
508 views

Index.php redirect based on url

I have been struggling with managing domains for two separate EE installations. Htaccess redirects only seem to work with the site's homepage. Anything beyond that results in a 404 error. For example:...
Ty Morton's user avatar
  • 322
0 votes
1 answer
59 views

CartThrob checkout with cart_total = 0,00

In certain cases customer check out with a {cart_total} <= 0,00. This happens eg. if a customers redeems a coupon code worth, lets say € 20,00 but in his cart there is only an item worth € 10,00 (...
Marc's user avatar
  • 502
0 votes
1 answer
852 views

URL Redirecting Issues

We are running expression engine v2.7.2 and the issue we seem to be having is that URLs are redirecting to the segment 2. ex. 1 http://www.website.com/pagedoesntexist - displays 404 error ex. 2 ...
Lacer's user avatar
  • 127
0 votes
1 answer
142 views

Channel image and htaccess redirection

I'm working on a multilingual site.. Everything is working except Channel Images from DevDemon.. there is some infos and the structure -root |-index.php |-fr |-index.php |-htaccess (fr) |-en |...
Benoit L's user avatar
  • 554
0 votes
1 answer
368 views

How do I add a no follow meta tag to expression engine CMS templates?

The SEO agency in charge of my client's website has unearthed a significant duplication issue due to which the business may get penalized. We have setup the expressionengine cms at secretcmsurl....
Amit Erandole's user avatar
1 vote
2 answers
663 views

Why doesn't {if no_results}{redirect="404"}{/if} return a 404 header?

Under Design > Templates > Global Template Preferences I have Strict URLS set to yes and I've defined the 404 page (It lives at /errors/404). We're running EE 2.8.1 and PHP 5.3.27 Something like ...
Jon Horton's user avatar
0 votes
3 answers
201 views

Redirects from old site using queries to new EE site

I'm putting a new site live and need to redirect all the old pages to the relevant new ones. The issue is that the old site used PHP queries, whereas the new site doesn't. This means that if I setup ...
Tom Perkins's user avatar
0 votes
1 answer
29 views

Redirects from Joomla to ExpressionEngine

I'm trying to create some 301 redirects from an old Joomla site to a new EE site. As you may know, Joomla URLs look something like this; index.php?option=com_content&view=article&id=59&...
doubleplusgood's user avatar
2 votes
2 answers
77 views

Old URLs pointing to the same product name

As you know from previous posts, that I am new to EE and I thank you for your help. Here is a little background: You know the "URL Title" field and how that can produce part of the URL, I was told ...
kronus's user avatar
  • 177
0 votes
1 answer
51 views

Security on a redirect page for a short URL service

I'm setting up a simple short url service which utilises a template (code below) to forward the user to the correct page based on an entry id in the URL. The following code is based on EllisLab's ...
Adam George's user avatar
2 votes
1 answer
50 views

Redirecting Joomla Links to New ExpressionEngine Links Fails

I'm running into an issue where 301 redirects on site I switched from Joomla to EE are not working. The link style on the old version of the site is: http://example.com/index.php?option=com_user&...
Brooks Seymore's user avatar
0 votes
1 answer
570 views

URL redirect on browser language detection

I'm using the Browser Sniff plugin to detect for the browser language on a multilangiage site using Transcribe plugin. It's working for detecting the browser language. I want to redirect users with ...
Mike Lohrman's user avatar
0 votes
3 answers
144 views

Redirect from URL containing member_id to username

Just wondering if there is a way to redirect vistors from a URL that contains member ids to a url that contains the username. I originally had member pages set up like so... members/profile/{...
shorn's user avatar
  • 1,007
0 votes
1 answer
67 views

Problem: Linking to specific CMS page from external page

I've created an external "admin" page, but added a "Return to CMS" link .When this is clicked it redirects back to the EE admin page BUT it's logged me out and the URL is something like: http://...
Jason Mayo's user avatar
2 votes
1 answer
232 views

stash:cache and no_results inside channel:entries does not redirect

This seems to be linked to the issue discussed on this question however it's using cache tags instead of parse and I'm redirecting to a 404. My code is as follows: {exp:stash:cache name="page"} {...
Dave O'Brien's user avatar
0 votes
1 answer
151 views

Template Access Restriction Redirection is not working

I have a template where I only want "Members" to be able to access. If a user that is not part of the "Members" group tries to access that page, I want it to redirect to a sign-up/index Here is what ...
developarvin's user avatar
  • 2,347
1 vote
2 answers
514 views

Conditional redirect after Freeform submission

I am having trouble with my form. I have four questions and if any of them are NO, then I need the user to be directed to a "not eligible" type response. However if all of the answers are YES, then I ...
Katrina Schreiber's user avatar