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"}
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 ...
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 ...
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.
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]
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 ...
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 ...
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\....
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
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 ...
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
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"...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
redirects × 101htaccess × 23
404 × 14
redirection × 9
.htaccess × 6
cartthrob × 5
login × 5
control-panel × 4
url × 4
segments × 4
url-title × 4
ee2 × 3
templates × 3
stash × 3
add-on × 3
conditionals × 3
seo × 3
no-results × 3
rewrite × 3
solspace-freeform × 2
error × 2
structure × 2
forms × 2
plugin × 2
freemember × 2