Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

The tag has no usage guidance.

1
vote
0answers
57 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 ...
0
votes
0answers
21 views

URL Redirect Page and spamers (EE1)

I have a site on an old EE 1.7.3. I noticed that in search engines there appeared a lot of pages like http://www.mysite.com/?URL=http://www.spamersite.com (To proceed to the URL you have requested, ...
0
votes
1answer
28 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
0answers
18 views

Switchee redirect and status_code

I’m redirecting a page using that code {if switchee_no_results} {redirect="site/index" status_code="301"} {/if} Redirect works, but with a url like this: mysite.com/fr/site/index status_code=301 How ...
0
votes
1answer
95 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
53 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
66 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 ...
1
vote
1answer
55 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 ...
1
vote
1answer
100 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 ...
0
votes
1answer
41 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
30 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=...
0
votes
2answers
41 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
97 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
1answer
249 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
146 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
122 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
24 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
109 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 ...
2
votes
2answers
225 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=.*) ...
0
votes
1answer
1k 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 ...
2
votes
1answer
216 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 ...
0
votes
1answer
234 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
2answers
178 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
1k 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 ...
0
votes
2answers
2k 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 ...
0
votes
1answer
337 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
67 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
443 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 ...
1
vote
1answer
262 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 ...
0
votes
1answer
401 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
46 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
618 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
1answer
137 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
282 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....
1
vote
2answers
441 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 ...
0
votes
3answers
162 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
1answer
25 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&...
2
votes
2answers
60 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 ...
0
votes
1answer
47 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 ...
2
votes
1answer
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&...
0
votes
1answer
511 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
3answers
126 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
57 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://...
2
votes
1answer
217 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"} {...
0
votes
1answer
129 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 ...
1
vote
2answers
394 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 ...
1
vote
1answer
52 views

Simple redirect with Redirectee doesn't work

In my Templates Global Preferences I've set the 404 page to go to pages/404.html template. In that template is a redirect to the 404 page: {exp:redirectee:redirect status="404" url="/404/"} It doesn'...
0
votes
0answers
192 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/...
1
vote
3answers
312 views

How do I redirect from a User Message Template

I am trying to figure out how to redirect users once they click on the Mailing List confirmation email link. Currently, when someone submits their email for inclusion in a mailing list, they get an ...
2
votes
1answer
65 views

how to redirect back 2 pages after add to cart in Cart Throb

I am trying to redirect a user back 2 pages after they add an item to the cart. Is there any plugins or dynamic methods that would make this work?