Forum Moderators: phranque
I have reason to believe that the method in which the pages are named is causing Google not to index the site - I faced this before with a site that had periods in the URLs.
the current URL structure looks like this : site.com/index.cfm?fuseaction=information.whatisVOIP
Is there a way that I can have page names be displayed as site.com/voip.cfm using URL rewriting or some other technique?
OR even to replace the period between information.whatisVOIP with a hyphen?
Thanks for any pointers!
If you are using the latest version (4.0 or 4.1), you can change the dot to hyphen by opening "fusebox4.runtime.cfmx.cfm" file and editting line 185-195 from:
<!--- set the myFusebox.originalCircuit, myFusebox.originalFuseaction --->
<cfif ListLen(attributes.fuseaction, '.') EQ 2>
<cfscript>
myFusebox.thisCircuit = ListFirst(attributes.fuseaction, '.');
myFusebox.thisFuseaction = ListLast(attributes.fuseaction, '.');
myFusebox.originalCircuit = myFusebox.thisCircuit;
myFusebox.originalFuseaction = myFusebox.thisFuseaction;
</cfscript>
<cfelse>
<cfthrow type="fusebox.malformedFuseaction" message="malformed Fuseaction" detail="You specified a malformed Fuseaction of #attributes.fuseaction#. A fully qualified Fuseaction must be in the form [Circuit].[Fuseaction].">
</cfif>
to:
<!--- set the myFusebox.originalCircuit, myFusebox.originalFuseaction --->
<cfif ListLen(attributes.fuseaction, '-') EQ 2>
<cfscript>
myFusebox.thisCircuit = ListFirst(attributes.fuseaction, '-');
myFusebox.thisFuseaction = ListLast(attributes.fuseaction, '-');
myFusebox.originalCircuit = myFusebox.thisCircuit;
myFusebox.originalFuseaction = myFusebox.thisFuseaction;
</cfscript>
<cfelse>
<cfthrow type="fusebox.malformedFuseaction" message="malformed Fuseaction" detail="You specified a malformed Fuseaction of #attributes.fuseaction#. A fully qualified Fuseaction must be in the form [Circuit].[Fuseaction].">
</cfif>
Keep in mind that depending on who wrote the app, this may cause problems. If the app was written the right way, it will not break it, but if some I-know-everything guy decided to take shortcuts here and there (by parsing out the URL in the code he wrote), this may be a problem for you...