• Hi,

    I’ve added a plugin called Disqus that modifies the permalink structure by adding “/comment-page-X” after the post. Now google webmaster gives me a lot of errors.

    I’ve been reading and I understood that I need a rewrite script. I tried to do it myself but it didn’t work, because I didn’t properly understand the syntax of the rewrite engine.

    Could you please help me with the rewrite code for redirecting(301 Redirect for google webmaster) a link like this one:

    http://site.com/2011(year)/11(monthnum)/11(day)/the-post(post name)/comment-page-X(a number starting from 1)

    to this form:

    http://site.com/2011(year)/the-post(post name)/comment-page-X(a number starting from 1)

    I’m sorry for my bad english, but if you don’t understand something please tell me and I’ll try tot explain better.

    Many thanks,

    Nihilistar

The topic ‘Rewrite rule – disqus plugin’ is closed to new replies.