Permanent Redirect on iWS 4.1?

I would like to know if there is a way to set a permanent (301) redirect for a URL. We are redesigning the file layout of our website and we want to force the search engines to re-index the pages based upon the new locations. I was told that in order for this, we need to set the 301 redirect, not the 302 (temporary) redirect.
Attempts to access a URL set in the URL Forwarding section returns a 302 response code. The entry in the obj.conf looks like this:
NameTrans fn="redirect" from="/somepath" url="http://www.myurl.com"
Thanks.

It is likely that you could create a SAF to change a 302 to a 301 for 4.1.
WS 6.x makes the changing from a 302 to a 301 much easier.
That aside - I have yet to see any credible information from Google (or any other search engine) indicating that a 301 is preferred over a 302. I have seen much speculation in online forums, but Google's pages never explicitely state this preference. The closest they come is:
http://www.google.com/webmasters/3.html#A2
"2. You continue listing an 'old' version of my site.
"If we continue to list an 'old' version of your site (i.e. we continue to list www.my123site.org despite the fact that your site now lives at www.my456site.org ) you need to update the links that are pointing to the sites. Since our robots jump from page to page via hyperlinks, someone must still be linking to the defunct page. Once others correct their links, we can too. Once your new site is live, you may wish to place a permanent redirect (using a "301" code in HTTP headers) on your old site to inform visitors and search engines that your site has moved.
"One way to determine who is linking to the dead site is to try a link search. You can find instructions on how to do this on our features page. Please note that this process does not work for all of the sites in our index."
Speaking from personal experience (I have shuffled domains around several times) I can guarantee that Google's spider is capable of following a 302 redirect just as well as a 301, and that Google is smart enough to eventually drop the old URL from their index when they get a 302 as a reply each time they visit it.

Similar Messages

  • "My Adobe" site is permanently redirected to "Adobe ID" site. There is no way to retrieve serial numbers for CS 5.5 products and below.

    How can I get my serial number for CS 5.5 Master Collection and CS 5.5 Captivate? This was retrievable only a few days ago using the "My Adobe" site at (adobe.com/account.html)
    The My Adobe URL (adobe.com/account.html) has a permanent redirect to the new Adobe ID URL (accounts.adobe.com/) Just a few days ago, Adobe "My Products and Services" contained my collection of serials.Users now cannot access this URL at adobe.com/account/my-products-services.html with the redirect in place.
    The new Adobe ID site "My Products" at (accounts.adobe.com/products) reports "You have no registered products." We need the "My Adobe" classic site back to access our registered serials.
    Adobe should update their help documentation that references the old link (adobe.com/account.html) as well. Here are a couple of examples:
    Where is My Adobe account info | How to sign in/out « Caveat Lector
    Serial number, Redemption, and Product codes | Student & Teacher Editions

    https://accounts.adobe.com/products shows all my products with their serial numbers back to 2005 when I first registered PSE2.0 that came bundled with my camera, and the two example pages with old links properly redirect to the Plans page and all I have to do is click View all products and again I will see my list back to 2005.
    So things are working just fine for me.  If it says you have no products, maybe there are changes still percolating through the server network that aren’t in place from where you’re surfing from, or maybe you have multiple AdobeIDs and are signed into the one that doesn’t have products registered to it.
    In other words, things appear to be working just fine with my AdobeID using either the old links or the new links and so I’d reword the request to be that you want the new site to work properly.   The old site did have another layout that required clicking into each product to see the serial number whereas the new site list everything on one page without clicking into anything.  I prefer the new way.

  • The apple events webpage has a permanent redirection to the 9.9.2014 Live. Why ?

    The apple events webpage has a permanent redirection to the 9.9.2014 Live ! I want to watch the video of the keynote but all we have is a permanent redirection to http://www.apple.com/live/2014-sept-event/ when i want to go to http://www.apple.com/apple-events.
    Why ?

    Lammy ~ Welcome to the Support Communities.
    LammySushi wrote:
    Why ?
    I don't know, but here are a couple of alternative ways to watch the video:
    On Apple's YouTube channel:
    Apple - September Event 2014
    On iTunes:
    Apple Keynotes (HD)

  • How to send a *permanent* redirect?

    According to the specs, response.sendRedirect() sends a temporary redirect. I would like the same functionality as sendRedirect() but return a permanent redirect (301) status code instead. What would be the proper way to do this from my servlet?
    THanks

    Thanks for the reply, sebcarpe22.
    I wanted to follow-up yesterday, but apparently the forum's login server was acting up so I couldn't log in.
    With Tomcat, your approach works. I tried a sendError instead of setStatus:
    response.setHeader ("Location", newURI);
    response.sendError (HttpServletResponse.SC_MOVED_PERMANENTLY);For some reason, when I tried this on Apache Web Server + Tomcat, it didn't like it. Instead, I had to modify it to:
    response.setHeader ("Location", fullyQualifiedURL);
    ...I'll keep playing around with this, and thanks again for your response.

  • How to create HTTP 301 redirect from UCM 7.5.2

    Is it possible to send a HTTP response with a permanent redirect from a UCM/Stellent website? We're using version 7.5.2 with iDoc script.
    We can use the iDoc function setHttpHeader() to send the Location HTTP header, but how to send the HTTP response code 301, to signal the permanent redirect to the browser?

    Hi Rob,
    If you are using IIS there is a config variable that allows you do this. First create a virtual directory in IIS point to <install dir>\Inetpub\wwwroot directory.
    and then do the below steps
    a.     Login to Content Server
    b.     Click on Administration Admin Server
    c.     Click on Content Server instance name(button)
    d.     Click on General Configuration
    e.     Update SSWebFilterIgnoreList configuration variable
    f.     SSWebFilterIgnoreList=virtualDirectory There should not be any spaces
    g.     Click on save
    h.     Restart Content Server
    Let me if this is what you are looking for.
    regards,
    deepak

  • Is it possible to custom redirect a particular page?

    I know in Firefox there is an addon that allows you to do this, but I hate firefox.
    I am wondering if there is a way to customize a permanent redirect at a particular web address.
    Anyone?

    I know of no such thing for Firefox or any other browser. Redirects are controlled by the web server, not the user. Even if you could do this, there would be no point in doing it.
    Mulder

  • Redirecting to www

    Hi,
    We have a code snippet that does a permanent redirect from domain.com to www.domain.com.  We place this code in onSessionStart and onRequestStart functions in Application.cfc  (let's just assume that there is a reason why we place it in both functions).
    So the code has been working until last week when we moved from CF8 to CF9 (with Windows Server 2008).  Suddenly, instead of redirecting from http://domain.com/index.cfm to http://www.domain.com/index.cfm, the code redirects to http://www.domain.com/index.cfm,http://www.domain.com/index.cfm (yes, repeated with a comma).
    After many testings, we finally figured out that this problem only occurs because we put the code in both onSessionStart and onRequestStart.  Somehow, both redirections get triggered though I don't quite understand how.  My understanding is that if a user types in domain.com in the beginning, onSessionStart will redirect him/her to www.domain.com.  The redirection code in onRequestStart should only get triggered if a user types in domain.com in the middle of his/her session.
    Any idea why?  It worked fine in CF8 but not in CF9.
    Thank you in advance!
    <cffunction name="onSessionStart" returnType="void" output="true">
        <cfif cgi.server_name neq 'www.domain.com'>
            <cfheader statuscode="301" statustext="Moved permanently">
            <cfset strNewURL = "http://www.domain.com" & cgi.path_info>
            <cfheader name="Location" value="#strNewURL#">
        </cfif>    
    </cffunction>
    <cffunction name="onRequestStart" returnType="boolean" output="true"> 
        <cfargument name="thePage" type="string" required="true">
        <cfif cgi.SERVER_NAME neq 'www.domain.com'>
            <cfheader statuscode="301" statustext="Moved permanently">
            <cfset strNewURL = "http://www.domain.com" & cgi.path_info>
            <cfheader name="Location" value="#strNewURL#">
        </cfif>    
        <!--- This is to expire session so we can run the code again immediately (from rickosborne.org)--->
        <cfset ServerName=LCase(CGI.SERVER_NAME)>
        <cfset structClear(Session)>
        <cfloop condition="listLen(ServerName,'.') gte 2">
            <cfloop list="CFID,CFTOKEN,CFMAGIC,SESSIONID,JSESSIONID" index="CookieName">
                <cfcookie expires="NOW" name="#CookieName#" domain=".#ServerName#">
                <cfcookie expires="NOW" name="#CookieName#" domain="#ServerName#">
                <cfcookie expires="NOW" name="#CookieName#">
            </cfloop>
            <cfset ServerName=listRest(ServerName,".")>
        </cfloop>
        <cfreturn true>
    </cffunction>

    1.  The reason we put it at the beginning of onSessionStart is because onSessionStart has a number of instantiations (components and session variables).  So I thought if I just put the code only in onRequestStart, we would be 'wasting' those instantiations (ie. someone goes to domain.com, goes thorough all of onSessionStart function only to be thrown to www.domain.com with its own onSessionStart).
    All the more reason to get this sorted out before CF gets involved, I'd say.  It takes about 30sec to sort this out on IIS.
      But I am curious to know why the code is not working as I expected.  Is it the way onSessionStart work or the way cfheader work?
    I had a closer look at your code, and a bell started ringing.  I have some vague recollection that I found that when one uses <cfheader> to add the same header value multiple times, CF compiles it into one name/value pair, as a comma-delimited list.  I did raise this on some forum somewhere, but I cannot find it with Google.  You can probably test this by checking what's in the headers with an HTTP sniffer.
    I suspect what's happening is that for a given request, all of onApplicationStart(), onSessionStart() and onRequestStart() (if applicable) will be processed, so you're actually adding the header twice, because both onSessionStart() and onRequestStart() are running.  You might be able to mitigate this by:
    a) using <cflocation> instead of two <cfheader> lines.  I mean... why aren't you use using <cflocation> anyhow?
    b) sticking a <cfabort> after the <cfheader> tags, in both cases.
    But, really... use the web server to do a job that is actually intended for the web server to be doing.  This is a square peg / round hole situation you're trying to get working here.
    Adam

  • Application.cfm /cflocation and redirection of changed link

    I have a link on my site http://www.mysite.com/ssl/oldpage.cfm that I have renamed to http://www.mysite.com/ssl/newpage.cfm.
    Many of my users have the old page bookmarked etc..................
    Is there a way to put code in the application.cfm that says if user trys to go to old page automatically redirect them to the new page?

    Not in the application CFC.
    But there is a great place to put code like that in most web server configurations.
    If not that, then the next level would be defining the "missing template handler" in the ColdFusion administrator.
    Finally, if you can't do either or those, keep the old file, but replace all of it's code with a <cfheader...> redirect (or a <cflocation...> permanent redirect if you are on a new version of ColdFusion.
    But, really, this is a web server level task and that is the best place to put this if you have contorl of yours.

  • 301 redirect - best way?

    i've been reading about 301 redirects which talk about modifying either .htaccess or httpd.conf but none of the suggestions i've found are working... my goal: if someone enters example.com, i want the server to change the url to www.example.com
    i've read server admin does not do 301 permanent redirects. does anyone know the best way to do this? thanks.

    Hi Scott,
    I recommend not doing major edits to the config files in the /etc/apache2/sites directory. These are sometimes 'auto-cleaned' of custom edits by Server Admin when editing and committing through it (very annoying). Here's what I did that works well for me and has not been auto-cleaned so far:
    1) Make a dir /etc/apache2/users
    2) Make new files in that dir that have names based on your server's web users, e.g. myuser.conf (should not be system users, and not have their web directories in the /Library/Webserver area, IMHO).
    3) Add *Include "/etc/apache2/users/myuser.conf"* to the end of and inside of the <VirtualHost> directive in your site config file in question from /etc/apache2/sites dir.
    4) Add all your custom edits to the user file you need, in this case the 301 redirect (see below for my favorite add-www-301 redirect). If using BBEdit, make sure to re-lock the files when done, but you can leave them open.
    5) In Terminal run +apachectl -t+ to make sure you have no syntax errors in your config edited files, or the Apache will crash when you try to restart it, taking your sites off-line.
    5) Open /var/log/apache2/error_log, with +tail -F -n 50 /var/log/apache2/error_log+ or in Console on the server.
    5) Then, in Server Admin under Web -> Sites, make a trivial change and reverse it (like checking then un-checking a box) as this allows you to gracefully restart Apache without screwing up the Webcache feature (see Web PDF docs about not using +apachectl graceful+ ).
    6) Go back to your Apache error log and make sure Apache did not crash. If it did, reverse your edits and restart Apache again.
    Here is my favorite add-www-301 redirect:
    <IfModule mod_rewrite.c>
    RewriteEngine On
    # Google canonical redirect
    RewriteCond %{HTTP_HOST} ^\[^\.\]+\.....?$ \[NC\]
    RewriteCond %{HTTPS} !^on$ \[NC\]
    RewriteRule ^(.*)$ http://www.%{HTTP_HOST}$1 \[R=301,L\]
    RewriteCond %{HTTP_HOST} ^\\[^\.\\]+\.....?$ \[NC\]
    RewriteCond %{HTTPS} ^on$ \[NC\]
    RewriteRule ^(.*)$ https://www.%{HTTP_HOST}$1 \[R=301,L\]
    </IfModule>
    As opposed to other redirects that state the name of the domain, this will cover sites that have multiple domains assigned to them and up to four letters in the TLD (like .info). Also, it handles https redirects as well. Always adding (or removing) the www is important to keep your sites page ranking in Google from being diluted by the non www use (or use) of the base domain. You may already know this, of course.
    The new book http://buildingfindablewebsites.com/ explains this well, though its mod_rewrite solution in limited. Caveat: HTTPS part may not work well with older browsers that do not support HTTP 1.1.
    Larry

  • Redirecting, But Not Redirecting

    Hello I have redirected my podcast for good two months now to my new webhost with the
    <itunes:new-feed-url>http://www.myfeedurl.com/rss.xml</itunes:new-feed-url> tag
    but the itunes page is not being redirected BUT, my new podcast is being downloaded in iTunes itself.  As not sure how to go about fixing this I thought I ask here if anybody can give their insight. Also I have one more questiob about the tag above. Will iTunes switch the RSS Feed from the old one feed to the new feed permanently after some time and the I don't have access to the old host anymore? This was never really answer in anything I have readed.

    If you have entered the redirection tag correctly everyone who subscribes will be automatically and permanently redirected to the new feed as soon as they check the feed, and the Store will redirect the next time it checks the feed, which can take a couple of days.
    I can't comment any further than that without being able to examine the evidence: would you like to post the URLs of both feed and of the Store page (you can find the latter by right-clicking on the podcast image and choosing 'Copy URL').

  • "Canonical Issue" and 301 Redirecting?

    Hi.
    A SEO optimisation company has pointed out that our site
    doesn't have a 301
    Redirect which they state is required to avoid a "canonical
    issue" with the
    http://domain.com and
    http://www.domain.com addresses
    for our site. Out
    host allows both to act as the address for the site but the
    SEO company are
    suggesting that this could lead to "duplicate penalties" with
    Google?
    I've never heard of this, can anyone shed any light on it, or
    confirm/contest what the SEO are telling us?
    If it is so bad, why is our host allowing it?
    Thanks
    Regards
    Nath

    Michael, will a .htaccess file work on a Windows server?
    If not, is there a Windows alternative? I've uploaded the
    following
    .htaccess file to my Windows server but my SEO is still
    telling me that
    there is a problem:
    <IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteCond %{HTTP_HOST} !^domain\.co.uk$ [NC]
    RewriteRule .*
    http://www.domain.co.uk
    [L,R=301]
    </IfModule>
    Appreciate the assistance, thanks.
    Nath.
    "Michael Fesser" <[email protected]> wrote in message
    news:[email protected]..
    > .oO(gareth)
    >
    >>At the worst, the search engines can see it as two
    different sites, ie
    >>with
    >>the same content at two different addresses, and will
    slap a duplicate
    >>content penalty on you. Doesn't happen to everyone,
    but can happen.
    >
    > And it can become even worse if you don't watch your
    links:
    >
    >
    http://example.com/
    >
    http://www.example.com/
    >
    http://example.com/index.html
    >
    http://www.example.com/index.html
    >
    > Four different URLs, but in fact (usually) the same
    resource. For SEO
    > and cache-friendlyness that's a really bad thing.
    >
    >>The solution is to either change the httpd.conf file
    (for apache) to do a
    >>permanent redirect from domainname.com to
    www.domainname, or if you don't
    >>have access to your server configuration, create a
    .htaccess file in the
    >>root directory of your site containing:
    >
    > Personally I prefer the version without the leading
    'www' (for nicer,
    > shorter URLs), but YMMV.
    >
    >><IfModule mod_rewrite.c>
    >>RewriteEngine on
    >>RewriteCond %{HTTP_HOST} !^example\.com$ [NC]
    >>RewriteRule .*
    http://example.com/ [L,R=301]
    >></IfModule>
    >
    > Just for the records my general version, also taking
    into account the
    > URL path, not only the host name:
    >
    > RewriteCond %{HTTP_HOST} ^www\.(.*)$
    > RewriteRule (.*)
    http://%1/$1 [R=301,L]
    >
    > So
    >
    >
    http://www.example.com/foo/bar
    will become
    http://example.com/foo/bar
    >
    > Micha

  • Why isn't aren't my meta data changes not being saved

    I've tried to make several of my albums on iTunes a compilation, the changes seem to be saved, but a minute later they revert.  What gives.

    How did you carry out the redirection? The correct way is to add the 'itunes:new-feed-URL' tag to the original feed, containing the URL of the new feed. If that's what you did do move to the Feedburner feed this is permanent until you add the same tag to the Feedburner feed redirecting back to the original feed.
    Similarly if you used a server redirect, depending on how it was done, if it was a permanent redirect iTunes is stuck on the Feedburner URL.
    You are going to need to reconstitute the Feedburner feeed at the same URL and add the redirection tag as instructed here:
    http://www.wilmut.webspace.virginmedia.com/notes/podcast.html#move
    Failing that, you can try emailing them at podcasts 'at' apple.com - give them the iTunes Store URL you posted above - and ask them to move the Store to the podbean feed.

  • Where to Notify About 301 Change After Conversion to HTTPS

    Hello,
    My website has an approved Podcast channel. Recently for security and other reasons, we have changed the whole website to HTTPS (managed Rackspace), 301 redirection is working fine plus I can manually Edit the XML file to reflect the changes (changes has been deployed 72 hours ago). Support from Rackspace has suggested me to officially notify for the change over email. I will be much helped if any link or email is provided to help me to notify about the change.
    (I am not adding the URL here because it is working with 301 and may be, the question will look like a promotive post.)
    Thanks in advance,
    Abhishek

    You don't have to notify anyone regarding Tunes and the iTunes Store. Once the redirect is in place the Store will update and go to the new feed when it next checks the feed - usually within a couple of days. Subscribers will see the change pretty well immediately.
    If you are going to use a 301 you should also add the 'itunes:new-feed-url' tag to the new feed so that iTunes and the Store will permanently redirect to the new feed and not be dependent on the 301.
    Full details on this page: http://wilmut.uk/move
    However https may not be advisable. It certainly used to be the case that the Store would not handle https - I don't know for certain whether it can now do so, though I've seen some evidence that it can - so you should check this with the 301 (which you can presumably remove) before adding the tag.

  • Problems with Podcasts in iTunes and Podcast App

    We're receiving a number of reports from people that our podcasts play for a minute or so and then loop back to the beginning. We're getting the report from multiple users, for different podcast episodes and occurring at different times within each episode.
    We've seen it happen once or twice ourselves, but it is very difficult to reproduce. Unfortunately we've received enough complaints that I know this is a real problem that a lot of people are having. They're even leaving negative comments for us in the iTunes store because of it.
    Because we've been having trouble reproducing the problem, it's hard to zero in on what's happening. All the complaints I've seen so far seem to be from people using iOS devices and listening through iTunes or the Podcast app.
    Is anyone else experiencing these complaints?
    The podcast in question is "BackStory with the American History Guys".
    Thanks.

    You are using Feedpoxy for your media files; your latest episode file has a 301 ('moved permanently) redirect to
    http://media.blubrry.com/backstory/backstoryradio.org/files/2012/10/Been-There-D one-That_-Historical-Reenactments.mp3
    This then has a 302 redirect to
    http://backstoryradio.org/files/2012/10/Been-There-Done-That_-Historical-Reenact ments.mp3
    This sort of thing is asking for trouble with podcasts, and may not be helping, however it does play OK in iTunes: the fact that the issue seems confined to iOS devices, and from your description, suggests that it is the dreaded 'byte-range requests' problem. The iPhone plays podcasts by using 'byte-range requests', which means calling for part of the file at a time rather than the whole thing. Unfortunately some servers don't support this, and there were an increasing number of complaints that podcasts which worked elsewhere weren't working on an iPhone.
    A Terminal test for this suggests that your server is indeed not accepting byte-range requests: I'm afraid that the only ways out of this are a) ask the people running your server to enable it, or b) find another hosting service and make sure before committing that they can handle this.
    To test for this on a Mac, open Terminal and enter curl -I -r 200-300  followed by a space and the full URL of your media file. Success is indicated by lines in the response similar to this:
    Accept-Ranges: bytes
    Content-Length: 101
    Content-Range: bytes 200-300/46077596
    This was not in the response to your file.
    (Caveat: if you are going to use Terminal, stick to entering exactly what is specified. Don't improvise: you can do a lot of damage very easily. This test is quite safe.)

  • Regarding Planning User Login Screen

    Hi ALL
    I have a client request to perform following task
    If a user logs in and opens report X and user works on that form and then logs off and logs in later then planning applicaiton is automatically redirecting to the previous web form user have opened.
    So now my client requires user to be redirected to default page.How this can be achieved.
    In the forums I have seen John has suggested to modify 'MRU_SCREEN_PROPS' to redirect for one time purpose but here I need a permanent solution I have tried following ways
    I have seen tables where the applicaiton has deployed i.e relational database
    Table i have reffered is HSP_USER_PREFS there I have manually modifed the column 'MRU_SCREEN_PROPS' to the default login page of the planning application but it over writes when logs off and logs in
    So is there any procedure to permanently redirect my user to one login page.
    Thanks,
    Ram.

    John/Rinku,
    Thanks for your reply actually my requirement was go to home page whenever user logs out and logs in to planning from workspace. Currently If a user opens a data form and then logs out and logs in then user is redirected to form which was opened last time.
    Rinku has given right answer.
    Thanks for help.
    John/Rinku,
    I have other question my client wants to look at application description in the workspace home page currently I have my application name in workspace homepage I have to change it such that it would display description.
    EG: currently by application name is "BUDGET" description is "Planning Application for Company" on the workspace page I have to change from application name to description.
    Thanks,
    Ram.

Maybe you are looking for