Support » Plugin: WP Staging - DB & File Duplicator & Migration » Permalinks in Apache

  • Below is my .htaccess file for use Custom Permalinks in apache server:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /dev/
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /dev/index.php [L]
    </IfModule>
    # END WordPress

    Change “/dev” to the subfolder you staging site is using.

    Now I can use my sataging site with buddypress.

    Congratulations. Great plugin!!

Viewing 1 replies (of 1 total)
  • @rykite

    (@adaptdesigns)

    Perfect this is just what I needed – Bravo!

    After copying your code to the .htaccess file, the site navigation was not working. But that was just because I didn’t realize that I still needed to go Settings>Permalinks> and enable Post name .

    Thanks again

    Ryan

Viewing 1 replies (of 1 total)
  • The topic ‘Permalinks in Apache’ is closed to new replies.