Forums

Little tip to avoid nervous breakdown with pages (2 posts)

  1. lstelie
    Member
    Posted 7 years ago #

    In case this could help… and more if this could prevent some nervous breakdown to dumb guys like me...
    If you have a static php page for classical static stuff (like about.php for example) and you want to take benefit of the new 1 .3 page feature.. be aware to delete from the serveur your php page, because if you don’t a page with the same name will not work.
    It seems obvious but it took me several night to understand this.
    I had an about.php file and I wanted to use a 1.3 page so I wrote the content in a page.. and impossible to make it work.
    The .htaccess file was ok .. if I did index.php?pagename=about it worked but doing /about it didn't ..
    I checked everything once, twice, three tiumes.. more times.. until I realized that the about.php file was screwing up the stuff.
    So avoid to have a 1.3 page with the same name that a php file in your directory
    Luc

  2. error
    Member
    Posted 7 years ago #

    Here's another tip for eliminating headaches: Make sure the server can write to your .htaccess file! This drove me nuts while I was trying to get static pages working, until I realized what the problem is. If you cannot make your .htaccess file writable by the server you will have to copy and paste the rewrite rules EVERY TIME you add or change something or your permalinks won't work.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.