Questions tagged [redirects]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
101 views

At what point does the 404 template send it's response code?

I've recently launched a new site for a client. Their old site contained a lot of product pages with url parameters such as id=0123. To try and alleviate people following dead links from Google etc ...
1
vote
1answer
1k views

htaccess: need help hiding index.php and doing a redirect without conflict?

I need to redirect a page on a client site to an outside URL. I have been using the following redirect, which works - sort of: redirect 301 /durhamchapelhill http://gds.chapelhilluumc.org The ...
1
vote
0answers
402 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 ...
1
vote
2answers
64 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=...
1
vote
1answer
83 views

htaccess redirect from non query url to query url

I'm trying to redirect a url from a non-query version to a query version with EE. I can get the redirect working properly on a .php flat-file, such as: RewriteCond %{QUERY_STRING} ^$ RewriteRule ^...
1
vote
0answers
100 views

MX Mobile Device Detect stuck in endless loop

It works when I land on the mobile template from desktop, but when viewed from mobile I get an endless loop... The mobile template: {exp:mobile_detect:redirect location="http://csw.rizenbuilds.com" ...
0
votes
1answer
345 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 ...
0
votes
2answers
79 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, ...
0
votes
1answer
123 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 ...
0
votes
2answers
243 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 ...
0
votes
1answer
345 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....
0
votes
1answer
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 ...
0
votes
1answer
555 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 ...
0
votes
1answer
143 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 ...
0
votes
1answer
982 views

Control Panel Redirect Loop After 2.6.1 Update

I just updated from EE 2.5.1 to 2.6.1, and now I get a redirect loop error when I try to access the control panel via admin.php. I cleared my cookies (and started testing in incognito mode to be safe)...
0
votes
1answer
465 views

why would this 404 redirect not work?

I'm using this code for my 404 redirect: {exp:channel:entries channel="about-us" limit="1" require_entry="yes" {gv_param_disable_default}} {if no_results || last_segment != url_title } ...
0
votes
2answers
40 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 ...
0
votes
2answers
35 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, ...
0
votes
1answer
376 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 ...
0
votes
1answer
334 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-...
0
votes
1answer
836 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 ...
0
votes
3answers
198 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 ...
0
votes
3answers
138 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/{...
0
votes
1answer
60 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://...
0
votes
1answer
569 views

.htaccess RewriteRule not working as desired

1st off I know about the redirect add-ons, but I need to do this in my .htaccess and not load any more on EE. Before I found EE and started making EE sites. I used a free gallery program to create my ...
0
votes
1answer
1k views

301 redirect url without / to end with /

im trying to correct some URL's that dont have the / at the end, for example, expressionengine created the url without the / however, im trying to redirect whereas all my URls are consisten ...
0
votes
1answer
127 views

Cartthrob - clear_cart tag is rendering/acting despite wrapping conditional returning false

I am using clear_cart to clear the cart when a completed order returns to the site from Paypal Express. The Shop page has a link to /checkout to go make a purchase using the Paypal express gateway. ...
0
votes
1answer
741 views

Redirect user to site based on IP

I'm looking for advice on how to redirect a user to one of our country sites, based on their IP and wondered if anyone has done this with ExpressionEngine? Additionally, I need to provide users with ...
0
votes
2answers
117 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 ...
0
votes
1answer
42 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 ...
0
votes
1answer
173 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 ...
0
votes
1answer
82 views

Anything like Freemember for EE3?

Or some other means of bypassing the 'thank you, you're logged in' message pages on login/redirect?
0
votes
1answer
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/...
0
votes
2answers
57 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 ...
0
votes
1answer
166 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 ...
0
votes
1answer
31 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 ...
0
votes
1answer
142 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 ...
0
votes
1answer
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 ...
0
votes
1answer
332 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?...
0
votes
1answer
480 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/...
0
votes
2answers
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/...
0
votes
2answers
602 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 ...
0
votes
1answer
485 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:...
0
votes
1answer
55 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 (...
0
votes
1answer
140 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 |...
0
votes
1answer
27 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&...
0
votes
0answers
210 views

search and login redirect to home page

All of a sudden my search and member login forms always redirect to the home page rather than the redirect url or search results? Any advice what's up? {exp:member:login_form return="courses/...
0
votes
0answers
33 views

Expressionengine multilangual htaccess

Having a hard time getting a multilingual site to work ( not complete getting the htaccess syntax) folder layout root - /en - /ar My htaccess is interfering with some of the system act links as ...
0
votes
1answer
518 views

Redirect URLS with disallowed key characters

I have a site that was converted to EE from a different blog platform, and I'm getting a bunch of crawl errors from previously indexed urls that now lead to a "disallowed key characters" error. The ...

1
2