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:
RequiredFields notes ... (1997)
supressing math results (1997)
Entry point? Security w/ dbase helper? (1997)
adding up in a db (1997)
osx 10.3,webcat,permissions (2004)
Multi Actions (1999)
Need correct syntax for writing to header2 (1999)
WebCat2b12 - nesting [tags] (1997)
Tcp Connect and the disappearing page (2000)
Quit revisited (1997)
[BoldWords] WebCat.acgib15Mac (1997)
WebMerchant Problem (1999)
[ShowNext] (1997)
Configuring E-mail (1997)
Showing Results Alphabetically in Columns (top to bottom) (2002)
Re:Emailer setup (1997)
Parameter Problem ATTN: Ken Grome (1998)
WebCat2: Master Counter snippet (1997)
Cancel Subscription (1996)
Adding up weights (1998)