Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7848859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T18:21:17+00:00 2026-06-02T18:21:17+00:00

I installed a Bitnami Ubuntu WordPress instance on Amazon EC2. The wordpress.conf file on

  • 0

I installed a Bitnami Ubuntu WordPress instance on Amazon EC2.

The wordpress.conf file on a Bitnami instance acts like an htaccess file.

The directory structure is as follows:

/opt/bitnami/apps/wordpress/htdocs/index.php

The wordpress.conf file contains

Alias /wordpress/ "/opt/bitnami/apps/wordpress/htdocs/"
Alias /wordpress "/opt/bitnami/apps/wordpress/htdocs"

<Directory "/opt/bitnami/apps/wordpress/htdocs">
    Options Indexes MultiViews +FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wordpress/index.php [L]
</Directory>

# Uncomment the following lines to see your application in the root
# of your URL. This is not compatible with more than one application.
#RewriteEngine On
#RewriteRule ^/$ /wordpress/ [PT]

This makes the blog appear with this URL

http://ec2instance.com/wordpress/

I would like it to be (including when viewing individual posts):

http://ec2instance.com/blog/

http://ec2instance.com/blog/post-number-1

http://ec2instance.com/blog/post-number-2

etc

Anyone know how to make this change?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T18:21:18+00:00Added an answer on June 2, 2026 at 6:21 pm

    In that file you will need to change:

    Alias /wordpress/ "/opt/bitnami/apps/wordpress/htdocs/"
    Alias /wordpress "/opt/bitnami/apps/wordpress/htdocs"
    

    to

    Alias /blog/ "/opt/bitnami/apps/wordpress/htdocs/"
    Alias /blog "/opt/bitnami/apps/wordpress/htdocs"
    

    With that change apache will serve wordpress in /blog.

    Then you need to change the rewrite rules also in that file (because the new urls will use /blog instead of /wordpress).

    RewriteBase /wordpress/
    RewriteRule . /wordpress/index.php [L]
    

    to

    RewriteBase /blog/
    RewriteRule . /blog/index.php [L]
    

    Finally you will need to modify also the wp-config.php file (in apps/wordpress/htdocs) making sure that the WP_SITEURL and WP_HOME urls points to /blog.

    define('WP_SITEURL', 'http://' . $_SERVER['HTTP_HOST'] . '/blog');
    define('WP_HOME', 'http://' . $_SERVER['HTTP_HOST'] . '/blog');
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got an instance using this AMI - ami-b7a29cc3 http://thecloudmarket.com/image/ami-b7a29cc3--bitnami-wordpress-3-3-1-1-multisite-linux-ubuntu-10-04-ebs#/details Which is a Wordpress
I have Bitnami Rails stack installed on my Mac. To better explain my problem
I installed the latest version of Wordpress and added the WP-Syntax plugin (and also
I have the Bitnami Ruby Stack with the Redmine module installed on Windows Server
Installed Magento 1.6.2.0, and noticed that the links are like http://MYSEUPERSTORE.com/ index.php /customer/account/ but
I have installed Bitnami Django Stack on my windows machine. Now I have to
So I installed Bitnami Django stack, hoping as proclaimed 'ready-to-run' versions of python and
What is the best available EC2 AMI configured with Django Stack MySql Installed and
I installed SVN on a Windows 2008 server, everything works like it should, except
Hey I use installed bitnami django 1.3.0, but whenever I add changes to urls.py

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.