Quick Nav:  Online Store   |   Login | Register

301 Help!!!

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.
Page 2 of 3<< < 123 > >>
AuthorMessages
John Mitchell
Posts:3276


06/24/2008 3:30 PM  
Ok, since it didn't work, it is actually better to have the UrlRewriter at the top of the list, so go ahead and switch that back.

The new solution I am working on is to have the url be captured before DNN tries to Rewrite it (or send it to login).

You won't lose any rankings right away, because it is doing a temporarily moved 302 redirect right now.

I'll work on this new solution and try to get you something by tomorrow, or the next day.

For now, if you want to make the old urls pull up the new content (in effect making it look like it didn't move), you could do that with the SiteUrls.config file.

Add the Rewriter Rules like this:
LookFor: /Products/ThermalProcessing/RotaryCoolers/tabid/29/
SendTo: ~/ProductsandServices/ProductLine/ThermalProcessing/tabid/88/Default.aspx
steph balza
<50 Posts
Posts:46


06/24/2008 3:49 PM  
I will go ahead and add these to the siteurls.config - is this the same as a 301 redirect? Should I remove all of the rules I created in the PageBlaster.PortalRulesΎ].config?
John Mitchell
Posts:3276


06/24/2008 4:01 PM  
No, it is not a redirect. It is a rewrite. The original Url will still be in the address bar like it never moved.
No need to remove the other rules yet.
steph balza
<50 Posts
Posts:46


06/26/2008 1:07 PM  
Hi John, I just wanted to follow up with this and see how progress is going.
John Mitchell
Posts:3276


06/26/2008 1:17 PM  
I've hit a couple hurdles, but it is progressing. I should have something later today or tomorrow.
John Mitchell
Posts:3276


06/27/2008 8:07 AM  
Hi Steph,
I have a working solution, but I still need to work on the interface for entering the new Rules.
To get you going now I'll update your config file manually.
Would you attach your ResourceLocationTable.config file for me?
It is located in DesktopModules/Snapsis/PageBlaster/Config folder.
steph balza
<50 Posts
Posts:46


06/27/2008 8:11 AM  

Hi John, I attached it here in a zip file.


Attachment: 1627112013458.zip

steph balza
<50 Posts
Posts:46


06/27/2008 11:14 AM  
John, you were replying to my forum post on dotnetnuke. I have been playing around all and done a bunch of testing by removing modules from the home page and it was just as sloow. So just for the heck of it I went into my web.config and commented out page blaster and my scriptresources went down to 500ms and 32ms and the webresources went down to 31ms. These were each originally 21s. I am wondering what page blaster does that makes them take so long to load? Right now on my site I don't have my friendly urls & redirects working as well as compressing my site because PB is disabled. We are running dnn 4.5.5.
John Mitchell
Posts:3276


06/27/2008 11:31 AM  
That's interesting, I don't know why they would take so long unless it is something slow with the filesystem.
PageBlaster saves tem as a Static File that is compressed and optimized, and also puts them into memory cache.

You can exclude them from PageBlaster. There is an exclude already setup in the PageBlaster.config file that you just need to uncomment.
steph balza
<50 Posts
Posts:46


06/27/2008 1:02 PM  

You are correct I was able to add the following to the pageblaster.config and I enabled PB in the web.config. and it is pretty fast now.

excludePaths
            path pattern="(\.asmx|\.asxh|\.axd|rss|fck|admin|install|thumb|wizard|cart)" excludeFrom="All" /

John Mitchell
Posts:3276


06/27/2008 1:33 PM  

Ok, but I would only exclude WebResource and ScriptResource instead of all .axd files.

I have attached a ew PageBlaster DLL, along withe the two config files.

If you replace all these on your server it should do a 301 redirect without having to be logged in now.


Attachment: 1627334733729.zip

steph balza
<50 Posts
Posts:46


06/27/2008 1:52 PM  

Hi John, I just replaced all 3 files with yours. I added my 301 rules to the PageBlaster.PortalRulesΎ].config and then tested it out. Now it just redirects to the home page sometimes and others the log in page yet instead of the actual page...

John Mitchell
Posts:3276


06/27/2008 1:58 PM  
Hi Steph,
You don't need the 301 rules in the PortalRules config file any longer. I moved them all to the ResourceLocationTable.config file.
I don't know if that is what causing it not to work, but lets try it without the rules in the PortalRules.config file.
Also try restarting the application just to make sure.
steph balza
<50 Posts
Posts:46


06/27/2008 2:07 PM  
I just took out the portal rules and restarted the application under host on my site. I just tested it and it still goes to the login page. Here is the url it is returning on the logon page:
http://www.feeco.com/Host/Search%20Admin/tabid/29/ctl/Login/portalid/0/Default.aspx?returnurl=%2fProducts%2fThermalProcessing%2fRotaryCoolers%2ftabid%2f29%2fDefault.aspx

John Mitchell
Posts:3276


06/27/2008 2:13 PM  

Try switching the position of the UrlRewriter in web.config again.

steph balza
<50 Posts
Posts:46


06/27/2008 2:23 PM  
I switched the urlrewriter under page blaster in the web.config file. Now the redirects are working, but the url isn't renamed correctly. ex. in the search engines I click on the link:
http://www.feeco.com/Products/ThermalProcessing/RotaryCoolers/tabid/29/Default.aspx
this goes to the rotary cooler page now but the url isn't correct, it should be:
http://www.feeco.com/ProductsandServices/ProductLine/ThermalProcessing/tabid/88/RotaryCoolers.aspx

I will download msn messenger
John Mitchell
Posts:3276


07/01/2008 9:10 AM  

I have attached a new DLL with more trace logging so we can figure out what is going on.

 

steph balza
<50 Posts
Posts:46


07/01/2008 9:20 AM  

here it is


Attachment: 171201415371.zip

John Mitchell
Posts:3276


07/01/2008 9:59 AM  

Ok, another try on logging. New DLL attached.


Attachment: 171592364654.zip

steph balza
<50 Posts
Posts:46


07/01/2008 10:06 AM  

new zip file attached


Attachment: 17165197458.zip

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Page 2 of 3<< < 123 > >>




ActiveForums 3.7
Powered by: Snapsis Software