Currency:
EUR | GBP | USD | BTC

Knowledge Base


Post Names in Permalinks

If you don’t want to get the standard WordPress URL https://wordpress.philippe.appboxes.co/?p=123 you have to configure Permalinks to obtain the following format for example https://wordpress.philippe.appboxes.co/sample-post/ but Rewrite Mod have to be installed on the server. This is the case on a fresh install of WordPress with Appboxes but .htaccess files are not read, the problem is the same as on LAMP servers (WordPress installation is based on a LAMP server).

As with LAMP servers, you have to create a file with new configarions lines that will overwrite Apache standard configuration, the file has to be placed in /apps/wordpress.appboxname.appboxes.co/conf.d

You can find more informations and a sample file in this post

The .htaccess is already in the wordpress directory /public_html with all the needed rewrite rules.

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

 

User Submitted - Philippe


We've setup a chat system on one of our AppBoxes so you can get status updates and hangout with other users and ourselves, feel free to ask anything and maybe the community will be able to provide further support.

Click here to sign up