Is it possible to rewrite the page url if your page link is for example localhost/wordpress/?p=123 ? Instead of post_name.php?.... (So the first option of permalinks and not post_name.

  • I don't understand this question, and besides there are countless posts here and elsewhere about permalinks and rewrite rules. What have you done to try to solve this yourself? – s_ha_dum Mar 24 '14 at 15:50
  • if you don't have pretty permalinks enabled, requests for anything outside WordPress index.php is handled by your server and completely bypasses WordPress. – Milo Mar 24 '14 at 15:52
  • @s_ha_dum I've tried rewriting it but the question should be alright? I've searched around and about it, all i've came across was post_name being enabled. @Milo Submit this as answer as this answered my question. Also thank you! – David H Mar 24 '14 at 16:17

The reason this was not working is due to Localhost you apparently can't do this without having a online wordpress site. Locally this is not possible.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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