We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30176
    • 99 Posts
    Hi,

    I am having a problem with SEO pages coming from Ditto and Reflect, or what might be called child pages. Main pages are rewriting and working beautifully. I am on IIS 6 with Ionics Rewrite Filter. I would appreciate any help as I am reaching beyond what I have done.

    Right now with the problem the page calls look like this:

    From Ditto
    http://www.mysite.org/modx/textiles.html?start=3

    From Reflect
    http://www.mysite.org/modx/51.html?wp_month=12&wp_year=2009&wp_day=false&wp_start=0


    My Ditto looks like:

    [[Ditto? &parents=`2` &display=`3` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`1` &tagData=`documentTags` &style=`.contentclass` &orderBy=`menuindex ASC` ]]
    
    Showing [+start+] - [+stop+] of [+total+] Articles
    [+previous+] [+pages+] [+next+] 


    Reflect code is
    [!Reflect?config=`wordpress` &targetID=`51` e"tDocuments=`1` &dittoSnippetParameters=`parents:2` &id=`wp`!]


    And my Filter is (Modx is in the /Modx/ directory):
    RewriteEngine on
    StatusUrl /iirfStatus
    
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{QUERY_STRING} ^$
    
    RewriteRule ^/modx/(.*)$ /modx/index.php?q=$1 [L,QSA]
    




    I setup rewrite on IIS with Ionics Rewrite Filter http://iirf.codeplex.com/Thread/View.aspx?ThreadId=65475

    Also one note, I had added to my rewrite filter
    RewriteRule ^/modx/manager/.* - [L]
    RewriteRule ^/modx/assets/.* - [L]
    

    Everything worked as above, but it killed Modx’s Manager. And I guess I thought it was suppose to prevent rewriting in the /manager files.

    Thanks
      "Remember what Bilbo used to say: It's a dangerous business, Frodo, going out your door. You step onto the road, and if you don't keep your feet, there's no knowing where you might be swept off to."
      -J.R.R. Tolkien from The Lord of the Rings