Question

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

  • Posted on June 17, 2014
  • sriniAsked by srini

http://162.243.210.177/

Homepage opens up rest all page give this error

Apache/2.4.6 (Ubuntu) Server at 162.243.210.177 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:

https://wordpress.org/support/article/htaccess/

Hope that this helps!

Hi,

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

https://www.digitalocean.com/community/tutorials/one-click-install-wordpress-on-ubuntu-14-04-with-digitalocean

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?