Re: [WebDNA] Correct 301 codes
This WebDNA talk-list message is from 2015
It keeps the original formatting.
numero = 112042
interpreted = N
texte = Thanks Donovan I=92ll take a look.Cheers=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DSteve Craig - Asylum InteractiveTel +44 1330 860550=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dhttp://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D> On 26 Jan 2015, at 14:25, Donovan Brooke
wrote:>=20> Hi Scott,>=20> Adding to the comments...> 301=92s work with the current versions of WebDNA=85. but since =Christophe is taking suggestions, that> reminds me that it would be great to use WebDNA=92s internal redirect =with an optional 301=85 something like:>=20> [redirect url=3D[url][/url]&permanent=3DT][/redirect]>=20> Or maybe:> [redirect301 url=3D[url][/url]]blah[/redirect]>=20>=20>=20> For now, perhaps an easy way to do them is to use my old function =library located here:> http://dev.euca.us/index.html?ra=3D589096&page=3Ddev>=20> I don=92t think that old link is my latest iteration of that library, =but it should work=85 just use:> [euca_301redirect goto=3D[url][/url]]>=20>=20> Sincerely,> Donovan>=20>=20>=20>=20>=20> On Jan 26, 2015, at 6:23 AM, Steve Craig wrote:>=20>> Hi>>=20>> Thanks for the reply, I have also come to this conclusion although I =can=92t seem to get it to work. I currently use this in my htaccess =file.>>=20>> RewriteEngine On=20>> RewriteRule ^([A-Za-z0-9-]+)/?$ =/our-log-cabins/default.html?permalinkvar=3D$1 [NC,L]>>=20>> This all works fine and I get the clean url=92s I need eg=85>>=20>> =http://www.forestlogcabins.com/our-log-cabins/FPL6002-10m-Sloping-Wall-BBQ=-Hut>>=20>> If I add the R=3D301 to the [NC,L] bit it seems to break the redirect =and I end up with a url that adds=20>>=20>> =http://www.forestlogcabins.com/our-log-cabins/default.html?permalinkvar=3D=FPL6002-10m-Sloping-Wall-BBQ-Hut>>=20>> I have tried it as>>=20>> [R=3D301,NC,L]>> [NC,R=3D301,L]>> [NC,L,R=3D301]>>=20>> and none of them seem to work, I must admit this is the first time I =have used mod_rewrite so I stumbling in the dark a bit.>>=20>> Cheers>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>> Steve Craig - Asylum Interactive>> Tel +44 1330 860550>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>> http://www.asylumweb.com>> Email: steve@asylumweb.com>> Skype: s.craig - iChat: steve.craig>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>=20>>=20>>=20>>> On 26 Jan 2015, at 00:45, Dan Strong wrote:>>>=20>>> I prefer to do this via .htaccess>>>=20>>> Redirect 301 oldpage.html http:// domain.com/newpage.html>>>=20>>> ------------------------------------>>> Sent from phone>>>=20>>> -Dan Strong>>> http://DanStrong.com>>>=20>>> On Jan 25, 2015 2:48 PM, "Steve Craig" wrote:>>> Hi>>>=20>>> I have gradually been re-coding my site to get rid of some url =variables and some other stuff to make it a little more google friendly.>>>=20>>> I have a page which will catch all the old site links from google =and redirect to new urls for a while however it is doing it with a 302 =code and I would prefer to give google a proper 301 Moved Permanently =code.>>>=20>>> Is this actually necessary or possible and if so how?>>>=20>>> Any help much appreciated.>>>=20>>> Cheers>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>> Steve Craig - Asylum Interactive>>> Tel +44 1330 860550>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>> http://www.asylumweb.com>>> Email: steve@asylumweb.com>>> Skype: s.craig - iChat: steve.craig>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>=20>>>=20>>>=20>>>=20>>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> Bug Reporting: support@webdna.us>>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>>=20>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us>=20
Associated Messages, from the most recent to the oldest:
Thanks Donovan I=92ll take a look.Cheers=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3DSteve Craig - Asylum InteractiveTel +44 1330 860550=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dhttp://www.asylumweb.comEmail: steve@asylumweb.comSkype: s.craig - iChat: steve.craig=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D> On 26 Jan 2015, at 14:25, Donovan Brooke wrote:>=20> Hi Scott,>=20> Adding to the comments...> 301=92s work with the current versions of WebDNA=85. but since =Christophe is taking suggestions, that> reminds me that it would be great to use WebDNA=92s internal redirect =with an optional 301=85 something like:>=20> [redirect url=3D[url][/url]&permanent=3DT][/redirect]>=20> Or maybe:> [redirect301 url=3D[url][/url]]blah[/redirect]>=20>=20>=20> For now, perhaps an easy way to do them is to use my old function =library located here:> http://dev.euca.us/index.html?ra=3D589096&page=3Ddev>=20> I don=92t think that old link is my latest iteration of that library, =but it should work=85 just use:> [euca_301redirect goto=3D[url][/url]]>=20>=20> Sincerely,> Donovan>=20>=20>=20>=20>=20> On Jan 26, 2015, at 6:23 AM, Steve Craig wrote:>=20>> Hi>>=20>> Thanks for the reply, I have also come to this conclusion although I =can=92t seem to get it to work. I currently use this in my htaccess =file.>>=20>> RewriteEngine On=20>> RewriteRule ^([A-Za-z0-9-]+)/?$ =/our-log-cabins/default.html?permalinkvar=3D$1 [NC,L]>>=20>> This all works fine and I get the clean url=92s I need eg=85>>=20>> =http://www.forestlogcabins.com/our-log-cabins/FPL6002-10m-Sloping-Wall-BBQ=-Hut>>=20>> If I add the R=3D301 to the [NC,L] bit it seems to break the redirect =and I end up with a url that adds=20>>=20>> =http://www.forestlogcabins.com/our-log-cabins/default.html?permalinkvar=3D=FPL6002-10m-Sloping-Wall-BBQ-Hut>>=20>> I have tried it as>>=20>> [R=3D301,NC,L]>> [NC,R=3D301,L]>> [NC,L,R=3D301]>>=20>> and none of them seem to work, I must admit this is the first time I =have used mod_rewrite so I stumbling in the dark a bit.>>=20>> Cheers>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>> Steve Craig - Asylum Interactive>> Tel +44 1330 860550>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>> http://www.asylumweb.com>> Email: steve@asylumweb.com>> Skype: s.craig - iChat: steve.craig>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>=20>>=20>>=20>>> On 26 Jan 2015, at 00:45, Dan Strong wrote:>>>=20>>> I prefer to do this via .htaccess>>>=20>>> Redirect 301 oldpage.html http:// domain.com/newpage.html>>>=20>>> ------------------------------------>>> Sent from phone>>>=20>>> -Dan Strong>>> http://DanStrong.com>>>=20>>> On Jan 25, 2015 2:48 PM, "Steve Craig" wrote:>>> Hi>>>=20>>> I have gradually been re-coding my site to get rid of some url =variables and some other stuff to make it a little more google friendly.>>>=20>>> I have a page which will catch all the old site links from google =and redirect to new urls for a while however it is doing it with a 302 =code and I would prefer to give google a proper 301 Moved Permanently =code.>>>=20>>> Is this actually necessary or possible and if so how?>>>=20>>> Any help much appreciated.>>>=20>>> Cheers>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>> Steve Craig - Asylum Interactive>>> Tel +44 1330 860550>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>> http://www.asylumweb.com>>> Email: steve@asylumweb.com>>> Skype: s.craig - iChat: steve.craig>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D==3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D>>>=20>>>=20>>>=20>>>=20>>> --------------------------------------------------------->>> This message is sent to you because you are subscribed to>>> the mailing list .>>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us>>> Bug Reporting: support@webdna.us>>> --------------------------------------------------------- This =message is sent to you because you are subscribed to the mailing list . =To unsubscribe, E-mail to: archives: =http://mail.webdna.us/list/talk@webdna.us Bug Reporting: =support@webdna.us>>=20>> --------------------------------------------------------->> This message is sent to you because you are subscribed to>> the mailing list .>> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us>> Bug Reporting: support@webdna.us>=20> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> Bug Reporting: support@webdna.us>=20
Steve Craig
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
removing programming logic white space (2003)
Problems when user hit back (2000)
Grep and removing text (2002)
Public beta 5 of WebCatalog 4.0 is now available (2000)
TCPConnect / Current Temperature (2004)
Error Lob.db records error message not name (1997)
[WebDNA] multi [sendmail] inside [search] (2012)
PCS Frames (1997)
Authenticate (1997)
Limiting user access to .tmpl files (1997)
How can I Add several Items into the cart at once? (1997)
[subtotal] and others (1997)
shortening the cart (1998)
[showif [getcookie otherDomain]=yes] inside a [TCP connect] will work? (2000)
Wanted: More Math Functions (or, Can You Solve This?) (1997)
TaxTotal Problem (1997)
splitting numbers in webDNA? (1997)
Searching Numbers (2004)
PCS Frames (1997)
Wanted: More Math Functions (or, Can You Solve This?) (1997)