I have my wordpress website the homepage opens fine rest all doesnt..

  • Posted on June 17, 2014
  • sriniAsked by srini

Homepage opens up rest all page give this error

Apache/2.4.6 (Ubuntu) Server at Port 80

Using Ubuntu 13.10 x64

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello there,

You’ll need a .htaccess file in order to serve the inner pages of the website.

The .htaccess is a distributed configuration file and is how Apache handles configuration changes on a per-directory basis.

WordPress uses this file to manipulate how Apache serves files from its root directory, and subdirectories thereof. Most notably, WP modifies this file to be able to handle pretty permalinks.

This page may be used to restore a corrupted .htaccess file (e.g. a misbehaving plugin).

Basic WP

  1. # BEGIN WordPress
  2. RewriteEngine On
  3. RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
  4. RewriteBase /
  5. RewriteRule ^index\.php$ - [L]
  6. RewriteCond %{REQUEST_FILENAME} !-f
  7. RewriteCond %{REQUEST_FILENAME} !-d
  8. RewriteRule . /index.php [L]
  9. # END WordPress

You can find more information here:

Hope that this helps!


Is this the one-click Wordpress app? If so, check out this tutorial for all the information:

The credentials are show in the console when you first log in: <pre> Your /wp-admin is protected by Apache using .htaccess credentials: User: admin Pass: XXXXXXXX </pre> The tutorial has an explanation of how to disable it.

I am a newbie to VPS so will need a STEP BY STEP Guide to this kindly bear with me.

Actually before this someone else had set it up. Now tell me how can I access .htaccess and what to configure in it?