WordPress Landing Pages
[resolved] What the heck? (5 posts)

  1. Davidsdesk
    Posted 3 years ago #

    Installed this plugin last night. Easy to use. Seemed to work as advertised. I was going to look at some of the pay modules this morning, but suddenly my my site was down and I had 261 redirects to the WordPress Landing Page plugin folder in my .htaccess file. Once I deleted the htaccess entries (and the plugin) everything was fine I would recommend staying away from this one.


  2. David Wells
    Plugin Author

    Posted 3 years ago #

    Hey David,

    This is strange and we'd like to help you fix this issue.

    Our plugin only writes 1 line to the htaccess file using wp core rewrite rules:

    on line 95 of module.post-type.php:
    add_rewrite_rule("$slug/([^/]*)?", $this_path.'modules/module.redirect.php?permalink_name=$1','top');

    Are you using any other plugins that modify your htaccess file?

  3. Davidsdesk
    Posted 3 years ago #

    Thanks for the quick reply.

    I reactivated WP Landing Pages and it seems to be working fine, although I am still concerned. I am running Wordfence, a security plugin that may write to the .htaccess file. I also noticed multiple visits to the landing page from Automattic Inc. immediately after publishing and before going live with my Adword campaign. This seems curious. I did not post a link on this forum.

    Any thoughts?

  4. David Wells
    Plugin Author

    Posted 3 years ago #

    Hey David,

    We use Automatics thumbnail generator to create thumbnail preview images of the landing pages.


    This would explain the traffic from Automatic =)

    Please keep us posted if you see any other htaccess issues.

  5. Davidsdesk
    Posted 3 years ago #

    Ah, that explains the Automattic visits. I'll take off my paranoid hat now. As I mentioned above, I am running Wordfence. I had been running Bullet Proof Security in the past but it was not activated.

    The following lines were repeated 261 times in my root .htaccess file. Once I removed them the site came back up.

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteRule ^group/([^/]*)? /wp-content/plugins/landing-pages/modules/module.redirect.php?permalink_name=$1 [QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Landing Pages
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic