|
I wanted to create a new WordPress page that is actually a link to another site. The goal is to have the page show up in a list of my pages, but actually send the web user to the target URL.
For example, say I want to include a page that indicates "My...
Started by Dscoduc on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
So, if you leave the name of your template "Page Redirect" name where you could place a redirect rule? If so:
RedirectPermanent /path/to/page http://uri.com
This redirect will also....
Theme folder to the template name.
|
|
I have been put on to a project using Nuxeo, late in it's lifecycle and need to change a few things before it goes live.
I am having trouble finding out where I need to look to lock down a Nuxeo based application so that a user is redirected to the login...
Started by Aaron Chambers on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Login-view-id="/login.xhtml"> <page view-id="/members/*" login-required="true"/> ...
|
|
Hi all.
Having an odd problem at the site. Link tag having href="#anything" doesn't move you to the top of the page or to the specified anchor, it moves you to the home page. Thats it - when I hover over the link I see at my FF's status bar "domain.com...
Started by Brock on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If the page relies on it's presence, I'd strongly discourage you from remove it or you might.
|
Ask your Facebook Friends
|
I have a action that just does some db work based on the parameter passed into it, then it redirects to another page.
What should the return type be then?
Started by mrblah on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If it alway redirects, the return type might as well be RedirectToRouteResult or RedirectResult this to redirect to another controller's action :
public RedirectToRouteResult DeleteAction(long itemId) { // Do.
|
|
Instead of automatically following JavaScript redirects, can I force HtmlUnit to return the URL the JavaScript wants to redirect me to?
// context:
If there's 5 JavaScript redirects in a row, I can only see the URL of the page where it stopped - I can...
Started by Marco on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Here....
You'll need to filter all "raw" JavaScripts out using HtmlUnit and then run them with help of a JavaScript interpreter, like Rhino in the javax.script API .
Unfortunately, HtmlUnit is a Java based HTML parser, not a Java based JavaScript interpreter .
|
|
I'm migrating a ASP classic site to ASP.net MVC.
Is there a way to redirect the old traffic to the new one?
Example: how to go from:
www.mydomain.com/viewpage.asp?pageid=1234
to:
www.mydomain.com/page/1234
Started by Eduardo Molteni on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
A permanent redirect' Context.Response.Redirect("/page/" + getPageIDFromPath(fullOriginalpath)) EndIt appears you may have to use response.redirect in the 404 error page and map the query string input to the required new page....
|
|
I have a Perl script that uses WWW::Mechanize to read from a file and perform some automated tasks on a website. However, the website uses a 302 redirect after every time I request a certain page. I don't want to be redirected (the page that it redirects...
Started by rfusca on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
You can use $agent->max_redirect....
Of LWP::UserAgent; you can set the max_redirect or requests_redirectable options in the constructor as you would with LWP::UserAgent.
redirect(0) - it clearly doesn't follow redirects.
|
|
We have several pages of our site indexed using old non-SEO friendly URLS such as http://www.domain.com/DocumentDetails.aspx?id=555 . Recently we implemented routing that uses slugs stored in the database and looks up the slug to forward you to the right...
Started by JCdowney on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Add a CustomRouteHandler for your old page that can do the 301 to your new URL:
//look up new url.
|
|
I am redesigning a site in ASP.NET MVC and as a consequence every page will have a new URL. I'm going to implement 301 permanent redirects from the old pages to the new. I'm wondering if doing this for thousands of pages all at once will have a negative...
Started by solidbeats on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
It is ....
So better than 300 redirects.
This is from 2006 but still valid.
Perhaps making a clean break is an option SEO/Search guy) on SEO advice: discussing 302 redirects .
It is hard to judge how these redirects will impact SEO.
|
|
I want to redirect the user to another page to fill out a captcha but i would like to keep the post data. When/if the user succeeds i like to add an captchaPass=true and would like access the post data and continue processing. Right now i am using redirects...
Started by acidzombie24 on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Using ASP.NET it's probably easier to have the captcha written to the same page with the form fields hidden, but you can do cross-page ....
Sure, just write the form data out to the captcha page in hidden elements with the additional.
|