Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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!

share|improve this question

closed as too localized by toscho Jul 6 '12 at 20:06

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

3 Answers

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

share|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

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.

share|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

-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.

share|improve this answer

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