I have my site in this url which has the content I want to put here. The second link is a CNAME located in the same server as URL 1 that points to another server (the real one).

But just the homepage is shown, when you click a link, a 404 is shown.

UPDATE : When configuring the default "p?123" option it works.

My .htaccess, the server has mod_rewrite activated

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

How can I solve this? Thanks!

link|improve this question

25% accept rate
feedback

3 Answers

This is seemed to .htaccess issue. Have you moved your .htaccess file? Also make sure RewriteBase is ok in htaccess..?

link|improve this answer
thanks, but as I wrote, I did that but I don't want a default structure I want friendly URL's and I also copy the .htaccess file from the other server... – jepser Aug 3 '11 at 0:06
can you post your htaccess code here.. that will give some more depth to understand problem.. – Rajeev Vyas Aug 3 '11 at 10:51
done in the original question! thanks, – jepser Aug 4 '11 at 16:14
feedback

You can solve this issue in two steps

Step 1:

Settings -> Permalinks -> Common settings -> Default -> Save changes

Step 2:

Settings -> Permalinks -> Common settings -> select your desired structure or give custom permalink structure -> Save changes

Thats it. Problem solved.

link|improve this answer
thanks, but as I wrote, I did that but I don't want a default structure I want friendly URL's and I also copy the .htaccess file from the other server – jepser Aug 3 '11 at 0:06
feedback

-Try re-saving your permalink structure at Admin panel>>>Settings>>>Permalinks. WordPress either creates/amends the .htaccess file for you or provides you with the correct block of code to manually add to your .htaccess file.

Documentation: http://codex.wordpress.org/Using_Permalinks

-If that does not resolve the issue, since 404 is failure to communicate with the server, it could be configuration issue - it could be memory issue - it could be optimization issue... - try checking the server error log or php error log.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.