Quick Nav:  Online Store   |   Login | Register

Can Virtual Path have different name?

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
Alex Ludden
<20 Posts
Posts:6


04/11/2008 12:56 PM  

Hello!

Using PageBlaster 2.2.4

I want to shorten my URLs. I did the basic Virtual path to home.aspx and the replacement rules in the example - all is fine.
I can also do other pages with no problem.

But, if I change the page name it just goes back to the home page, sometimes with an error. For example:

For Tab:
http://toursinthesmokymountains.com/Itinerary/Day1GatlinburgTN/tabid/60/language/en-US/Default.aspx

With Virtual Path: /Itinerary/Day1.aspx

Portal Rules:
Search For:
/Itinerary/Day1GatlinburgTN/tabid/60/language/en-US/Default.aspx
Replace With:
/Itinerary/Day1.aspx

I go to:
http://toursinthesmokymountains.com/Itinerary/Day1.aspx

I Get:
http://toursinthesmokymountains.com/Default.aspx?error=Object+reference+not+set+to+an+instance+of+an+object.&content=0

BUT if I change virtual path and rule to the full pagename, everything works. i.e.

http://toursinthesmokymountains.com/Itinerary/Day1GatlinburgTN.aspx

Am I doing something wrong?

Thanks!
alex

John Mitchell
Posts:3492


04/11/2008 1:04 PM  
That's strange. What version of DNN are you running? Are you using human friendly Urls that were added to DNN recently?

Maybe it's the number on the end of the page name. Can you try changing it to DayOne.aspx and see what happens?
Alex Ludden
<20 Posts
Posts:6


04/16/2008 1:04 PM  

Hello John,

I am using DNN 4.8.1 and Pageblaster 2.2.4 - with the DLL that works on GoDaddy. I have the default Friendly URLS on. Is Human Friendly a different setting?

I have tried all different combinations - no numbers, top level rather than one menu-level down, same name but shorter, different name altogether. None work unless I use the exact page name. So for now I renamed all the pages to a shorter version, but would like to get this working if possible. I like my menu items to be a little more descriptive.

Another issue I need to resolve is that now I have mydomain.com/home.aspx , mydomain.com/default.aspx and the full tab path all pointing to my home page. Google doesn't like that, so how can I resolve it?

Also, I sent you a couple of emails but haven't gotten a response. I bought two copies of 2.2.4 after you said on a post of 2/13/08 that we shouldn't wait until version 3 was out - "If you purchase now you can get the upgrade for free. ".  How can I get the upgrade? I need the one with the dll that works in GoDaddy. Can you email it to me?

Thanks!
alex

John Mitchell
Posts:3492


04/16/2008 2:14 PM  

urlFormat="HumanFriendly" is a setting for the UrlRewrite module in web.config

    < friendlyUrl defaultProvider="DNNFriendlyUrl">
      < providers>
        < clear />
        < add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke" includePageName="True" regexMatch="[^a-zA-Z0-9 _\-]" urlFormat="HumanFriendly" />
      < /providers>
    < /friendlyUrl>

You should not need Human Friendly Urls on though, I was just wondering if that was why the virtual path worked with the real page name.

You may need to switch the order of PageBlaster and UrlRewrite in the web.config httpModules section.

To redirect different page names that point to the same domain you will need PB3

I have created a price rule for PB3 in my store so that if you go there now you should see the free upgrade (as long as you purchased 2.2.4 on or after 2/1/2008)

I'm going to have to figure out what black hole is sucking up my e-mails because I have been missing several lately.

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >PageBlaster > Can Virtual Path have different name?



ActiveForums 3.7
Powered by: Snapsis Software