Ok I did forced fu's on, now i have for the agenda page: http://www.aquariusagenieuw.com/2AAA0320-8355-11E2-A97E50465D06EA7A And not http://www.aquariusagenieuw.com/agenda/agenda
Op maandag 18 maart 2013 22:23:34 UTC+1 schreef Chris Kent het volgende: > > Also, worth doing an updateapp to rebuild-site to flush out any cached > webskins after making changes that Justin has suggested to force switching > on the FU's > > On Monday, 18 March 2013 21:15:53 UTC, Justin Carter wrote: >> >> If hitting /agenda/agenda works then your Apache rewrite is working :) >> >> If FarCry isn't generating friendly URLs with skin:genericnav or >> fapi.getLink() then you'll need to force friendly URLs to turn on. See the >> link I posted in a previous message, in the troubleshooting section at the >> bottom of that wiki page there are instructions how to do it :) >> On 19/03/2013 8:00 AM, "Marco van den Oever" <[email protected]> >> wrote: >> >>> For example I have a URL for the Agenda page: >>> index.cfm?objectid=2AAA0320-8355-11E2-A97E50465D06EA7A >>> it is not rewritten into /agenda/agenda >>> >>> I have used the wiki example code and the rewriting on the server is on >>> >>> when I try the URL /agenda/agenda it does work >>> When I try the pingFU test it says page not found. >>> >>> Op zondag 17 maart 2013 22:22:18 UTC+1 schreef Justin Carter het >>> volgende: >>>> >>>> Your hosts file entry won't have any effect on the rewrite working or >>>> not working - if you can browse to the site at all then your hosts file is >>>> fine. Hosts file entries simply show your PC look look up the IP address >>>> of >>>> a host name, out doesn't do any "redirection". >>>> >>>> Can you paste some example URLs that work, and some that don't? It >>>> doesn't matter that I won't be able to browse to them, I just need to see >>>> the examples to work out what is going on. >>>> >>>> Cheers, >>>> Justin >>>> On 18/03/2013 7:50 AM, "Marco van den Oever" <[email protected]> >>>> wrote: >>>> >>>>> Thanks Justin, updateapp had no effect, but when adding pingFU like >>>>> www.xxxxxxx.com/pingFU it gives me a page not found..... >>>>> Has it to do that i am viewing the site using a windows hosts file >>>>> redirection to view the website? >>>>> >>>>> Op zondag 17 maart 2013 21:22:28 UTC+1 schreef Justin Carter het >>>>> volgende: >>>>>> >>>>>> Did you updateapp after putting the rewrite in place? If that still >>>>>> doesn't work, you can force the friendly URLs to always turn on, look in >>>>>> the troubleshooting section at the bottom of this page where it talks >>>>>> about >>>>>> testing with pingfu: https://farcry.jira.com/wiki/**d** >>>>>> isplay/FCDEV50/Friendly+URLs<https://farcry.jira.com/wiki/display/FCDEV50/Friendly+URLs> >>>>>> >>>>>> Cheers, >>>>>> Justin >>>>>> On 18/03/2013 7:09 AM, "Marco van den Oever" <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Then again.... the simple rewrite was working out so why does the >>>>>>> rewrite from the wiki not? Guess i still need some help.... >>>>>>> >>>>>>> Op zondag 17 maart 2013 21:07:08 UTC+1 schreef Marco van den Oever >>>>>>> het volgende: >>>>>>>> >>>>>>>> Mmm testing the fu's by manually entering the fu is correctly >>>>>>>> displaying the fu, so assume i have to check my host for the rewrite >>>>>>>> issue... >>>>>>>> >>>>>>>> Op zondag 17 maart 2013 17:37:21 UTC+1 schreef Marco van den Oever >>>>>>>> het volgende: >>>>>>>>> >>>>>>>>> So a little update.... My host have tested the rewrite and this >>>>>>>>> rewrite is going fine: >>>>>>>>> >>>>>>>>> ##### APACHE MOD_REWRITE SYNTAX >>>>>>>>> RewriteEngine On >>>>>>>>> RewriteRule ^testpage\.html$ welcome.html >>>>>>>>> >>>>>>>>> When testing this rewrite myself, code from wiki: >>>>>>>>> >>>>>>>>> ##### APACHE MOD_REWRITE SYNTAX >>>>>>>>> RewriteEngine On >>>>>>>>> RewriteCond %{REQUEST_URI} !(^/farcry|^/webtop|^/flex2gat****** >>>>>>>>> eway|^/flashservices|^/CFIDE)(******$|/) >>>>>>>>> RewriteRule ^([a-zA-Z0-9\/\-\%:\[\]\{\}\|\******;\<\>\?\,\*\!\@\#\$\ >>>>>>>>> \(\)\^_`~]*)$ /index.cfm?furl=$1 [L,PT,QSA] >>>>>>>>> >>>>>>>>> It's not working although I have various pages set with fu's. >>>>>>>>> Also I notice that the full domain www.mytestsite.com is giving a >>>>>>>>> "page not found". >>>>>>>>> >>>>>>>>> I am using a domain that is locally set in my windows hosts file. >>>>>>>>> >>>>>>>>> Any idea's? >>>>>>>>> >>>>>>>>> Op vrijdag 15 maart 2013 22:56:37 UTC+1 schreef Marco van den >>>>>>>>> Oever het volgende: >>>>>>>>>> >>>>>>>>>> That seems not to hard at all :) I'll go and set it up, thanks! >>>>>>>>>> >>>>>>>>>> Op vrijdag 15 maart 2013 22:36:20 UTC+1 schreef Justin Carter het >>>>>>>>>> volgende: >>>>>>>>>>> >>>>>>>>>>> Oh and in this case your objectid to pass in to getLink() will >>>>>>>>>>> be newsitem.objectid >>>>>>>>>>> On 16/03/2013 8:26 AM, "Marco van den Oever" < >>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>> >>>>>>>>>>>> Ok awesome that works great on the 301 redirection :) >>>>>>>>>>>> >>>>>>>>>>>> So what you are saying about application.fapi.getLink(), in >>>>>>>>>>>> fact I can use FU's? Like: >>>>>>>>>>>> >>>>>>>>>>>> <cflocation url="#application.fapi.**getLink**** >>>>>>>>>>>> (objectid=categorie)#" statuscode="301" addtoken="false"> >>>>>>>>>>>> >>>>>>>>>>>> I have tried this and it's sending me to >>>>>>>>>>>> index.cfm?objectid=XXXXXXXXX >>>>>>>>>>>> >>>>>>>>>>>> I do have created a FU for it. >>>>>>>>>>>> >>>>>>>>>>>> Guess I still don't understand how to run FU's, got to check >>>>>>>>>>>> some config setting somewhere like use the FU's? Or still also >>>>>>>>>>>> need Apache >>>>>>>>>>>> to rewrite? >>>>>>>>>>>> >>>>>>>>>>>> Thanks. >>>>>>>>>>>> >>>>>>>>>>>> Op vrijdag 15 maart 2013 21:25:29 UTC+1 schreef Justin Carter >>>>>>>>>>>> het volgende: >>>>>>>>>>>>> >>>>>>>>>>>>> The easiest way to see the 301 is to use the Network tab in >>>>>>>>>>>>> Firebug / Chrome Web Inspector. Turn on "persist", clear the log, >>>>>>>>>>>>> hit the >>>>>>>>>>>>> URL that you're testing, and at the top of the list you should >>>>>>>>>>>>> see a 301 >>>>>>>>>>>>> for the old URL followed by a 200 for the URL that it redirected >>>>>>>>>>>>> to. >>>>>>>>>>>>> (Remember to turn off persist again also) >>>>>>>>>>>>> >>>>>>>>>>>>> BTW, if your site is using friendly URLs then instead of >>>>>>>>>>>>> redirecting to index.cfm with an objectid, you could call >>>>>>>>>>>>> application.fapi.getLink() which will return the friendly URL. >>>>>>>>>>>>> >>>>>>>>>>>>> Cheers, >>>>>>>>>>>>> Justin >>>>>>>>>>>>> On 16/03/2013 12:45 AM, "Marco van den Oever" < >>>>>>>>>>>>> [email protected]> wrote: >>>>>>>>>>>>> >>>>>>>>>>>>>> In addition.... I have tried, without success, several things >>>>>>>>>>>>>> to check if the headers are set correctly with 301 code, how do >>>>>>>>>>>>>> you check >>>>>>>>>>>>>> that? >>>>>>>>>>>>>> With this code I have tried a cgi dump to check te referrer >>>>>>>>>>>>>> etc, but can't see any 301 header info, is that even possible >>>>>>>>>>>>>> after a >>>>>>>>>>>>>> cflocation? >>>>>>>>>>>>>> >>>>>>>>>>>>>> Op vrijdag 15 maart 2013 14:43:07 UTC+1 schreef Marco van den >>>>>>>>>>>>>> Oever het volgende: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> I guess Justin his answer pretty much covered this >>>>>>>>>>>>>>> 'problem', it's not working as my old URL contains "." in it. >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> So I have chosen not to use Apache for rewriting as I have >>>>>>>>>>>>>>> no experience with it and have read here and there that you >>>>>>>>>>>>>>> really should >>>>>>>>>>>>>>> know what you are doing with it, no time to study! >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Just to be sure, I am very scared of using new URLs, this is >>>>>>>>>>>>>>> my code: >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> <!--- redirect old url's to new ones ---> >>>>>>>>>>>>>>> <cfif isdefined('url.newsid')> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> <!--- get related news item ---> >>>>>>>>>>>>>>> <cfquery name="newsitem" datasource="aquariusagenieuw"> >>>>>>>>>>>>>>> SELECT ObjectID FROM dmnews >>>>>>>>>>>>>>> WHERE oldid = <cfqueryparam cfsqltype="cf_sql_varchar" value >>>>>>>>>>>>>>> ="#url.newsid#"> >>>>>>>>>>>>>>> </cfquery> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> <!--- go to new url ---> >>>>>>>>>>>>>>> <cflocation url="index.cfm?objectid=#**newsi******** >>>>>>>>>>>>>>> tem.ObjectID#" statuscode="301" addtoken="false"> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> </cfif> >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Is this satisfying google and other search engines rules? >>>>>>>>>>>>>>> >>>>>>>>>>>>>>> Op vrijdag 8 maart 2013 14:38:37 UTC+1 schreef Marco van den >>>>>>>>>>>>>>> Oever het volgende: >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I am testing to use the Farcry FU's, have created a >>>>>>>>>>>>>>>> friendly URL for a navigation node but when I go to the >>>>>>>>>>>>>>>> website it's not >>>>>>>>>>>>>>>> using a FU. >>>>>>>>>>>>>>>> So do I have to set something up in Apache? >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> I want to avoid Apache as I am not experienced in handling >>>>>>>>>>>>>>>> rewrites in there. >>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> Op donderdag 7 maart 2013 00:04:58 UTC+1 schreef Marco van >>>>>>>>>>>>>>>> den Oever het volgende: >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> Hi all, I'm changing website url's from old to Farcry >>>>>>>>>>>>>>>>> url's, I am not really sure to use FU's, it seems hard to set >>>>>>>>>>>>>>>>> up and is it >>>>>>>>>>>>>>>>> really better for search results? >>>>>>>>>>>>>>>>> Also should I use 301 redirect in the Apache server or can >>>>>>>>>>>>>>>>> I just create my own cfml redirection code and place it in my >>>>>>>>>>>>>>>>> header? >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>>> All together there are up to almost 1000 url's, so whats >>>>>>>>>>>>>>>>> the best approach... >>>>>>>>>>>>>>>>> >>>>>>>>>>>>>>>> -- >>>>>>>>>>>>>> You received this message cos you are subscribed to >>>>>>>>>>>>>> "farcry-dev" Google group. >>>>>>>>>>>>>> To post, email: [email protected] >>>>>>>>>>>>>> To unsubscribe, email: farcry-dev+...@**googlegroups.**co**** >>>>>>>>>>>>>> m >>>>>>>>>>>>>> For more options: http://groups.google.com/**group****** >>>>>>>>>>>>>> /farcry-dev <http://groups.google.com/group/farcry-dev> >>>>>>>>>>>>>> ------------------------------********-- >>>>>>>>>>>>>> Follow us on Twitter: http://twitter.com/farcry >>>>>>>>>>>>>> --- >>>>>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>>>>> Google Groups "farcry-dev" group. >>>>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from >>>>>>>>>>>>>> it, send an email to farcry-dev+...@**googlegroups.**co****m. >>>>>>>>>>>>>> For more options, visit https://groups.google.com/**grou***** >>>>>>>>>>>>>> *ps/opt_out <https://groups.google.com/groups/opt_out>. >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>>> >>>>>>>>>>>>> -- >>>>>>>>>>>> You received this message cos you are subscribed to >>>>>>>>>>>> "farcry-dev" Google group. >>>>>>>>>>>> To post, email: [email protected] >>>>>>>>>>>> To unsubscribe, email: farcry-dev+...@googlegroups.**co****m >>>>>>>>>>>> For more options: http://groups.google.com/**group**** >>>>>>>>>>>> /farcry-dev <http://groups.google.com/group/farcry-dev> >>>>>>>>>>>> ------------------------------******-- >>>>>>>>>>>> Follow us on Twitter: http://twitter.com/farcry >>>>>>>>>>>> --- >>>>>>>>>>>> You received this message because you are subscribed to the >>>>>>>>>>>> Google Groups "farcry-dev" group. >>>>>>>>>>>> To unsubscribe from this group and stop receiving emails from >>>>>>>>>>>> it, send an email to farcry-dev+...@googlegroups.**co****m. >>>>>>>>>>>> For more options, visit https://groups.google.com/**grou**** >>>>>>>>>>>> ps/opt_out <https://groups.google.com/groups/opt_out>. >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> -- >>>>>>> You received this message cos you are subscribed to "farcry-dev" >>>>>>> Google group. >>>>>>> To post, email: [email protected] >>>>>>> To unsubscribe, email: farcry-dev+...@**googlegroups.**com >>>>>>> For more options: >>>>>>> http://groups.google.com/**group**/farcry-dev<http://groups.google.com/group/farcry-dev> >>>>>>> ------------------------------****-- >>>>>>> Follow us on Twitter: http://twitter.com/farcry >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "farcry-dev" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to farcry-dev+...@**googlegroups.**com. >>>>>>> For more options, visit >>>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out> >>>>>>> . >>>>>>> >>>>>>> >>>>>>> >>>>>> -- >>>>> You received this message cos you are subscribed to "farcry-dev" >>>>> Google group. >>>>> To post, email: [email protected] >>>>> To unsubscribe, email: farcry-dev+...@**googlegroups.com >>>>> For more options: >>>>> http://groups.google.com/**group/farcry-dev<http://groups.google.com/group/farcry-dev> >>>>> ------------------------------**-- >>>>> Follow us on Twitter: http://twitter.com/farcry >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "farcry-dev" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to farcry-dev+...@**googlegroups.com. >>>>> For more options, visit >>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>>>> . >>>>> >>>>> >>>>> >>>> -- >>> You received this message cos you are subscribed to "farcry-dev" Google >>> group. >>> To post, email: [email protected] >>> To unsubscribe, email: [email protected] >>> For more options: http://groups.google.com/group/farcry-dev >>> -------------------------------- >>> Follow us on Twitter: http://twitter.com/farcry >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "farcry-dev" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry --- You received this message because you are subscribed to the Google Groups "farcry-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
