title: The links on my php page do not work
body: <p>I have a website that used html pages, but I recently changed their extensions from .html to .php, but now only the site's home page comes up when I navigate to the website. When I click on other page links throughout the site I am getting this error:</p>
  
  <p>The requested URL /3elements review/submit was not found on this server.</p>
  
  <p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p>
  
  <p>I took out the .php extension from all of the website's links, however, when the pages had .html extensions that was acceptable, and all of the links worked fine. Now that the pages have .php extensions, links do not work.</p>
  
  <p>Any insight would be fantastic.</p>
  
  <p>Here is code from one of the pages.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;meta http-equiv="x-ua-compatible" content="IE=10"&gt;
  &lt;head&gt;
  &lt;title&gt;3Elements Review || A Literary Journal - FAQ&lt;/title&gt;
  &lt;meta name="description" content="Here you can find the answers to some of 3Elements' most frequently asked questions." /&gt;
  &lt;meta name="keywords" content="literary journals, literary magazines, poetry, fiction contests, places to submit poetry, places to submit fiction, top literary magazines, online literary journals, literature, writing calls, short stories online, stories, story collections, short story, writing prompts, writing contests, submit, visit, usage rights, 3elements review, three, 3, 3e, element, read, free, elements, review, literary, 3elementsreview" /&gt;
  &lt;meta http-equiv="Page-Enter" content="blendTrans(duration=0)" /&gt;
  &lt;meta http-equiv="Page-Exit" content="blendTrans(duration=0)" /&gt;
  &lt;meta name="robots" content="index, follow" /&gt;
  &lt;meta name="googlebot" content="code" /&gt;
  &lt;meta name="googlebot" content="noodp" /&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;meta name="revisit-after" content="1 day" /&gt;
  &lt;meta http-equiv="window-target" content="_top" /&gt;
  &lt;meta name="author" content="3Elements Review" /&gt;
  &lt;link rev="made" href="info@3elementsreview.com" /&gt;
  &lt;meta name="copyright" content="2013" /&gt;
  &lt;meta name="distribution" content="global" /&gt;
  &lt;meta name="distribution" content="web" /&gt;
  &lt;meta http-equiv="content-language" content="en" /&gt;
  &lt;meta property="og:locality" content="Chicago" /&gt;
  &lt;meta property="og:region" content="IL" /&gt;
  &lt;meta property="og:postal-code" content="60657" /&gt;
  &lt;meta property="og:country-name" content="USA" /&gt;
  &lt;meta property="og:title" content="Frequently Asked Questions" /&gt;
  &lt;meta property="og:description" content="Here you can find the answers to some of 3Elements' most frequently asked questions." /&gt;
  &lt;meta property="og:type" content="website" /&gt;
  &lt;meta property="og:url" content="http://www.3elementsreview.com/faq" /&gt;
  &lt;meta property="og:image" content="http://www.3elementsreview.com/images/favi.ico" /&gt;
  &lt;meta property="og:image:type" content="image/ico" /&gt;
  &lt;meta property="og:site_name" content="3Elements Review" /&gt;
  &lt;meta property="fb:app_id" content="165239120323115" /&gt;
  &lt;meta property="og:image:width" content="200" /&gt;
  &lt;meta property="og:image:height" content="200" /&gt;
  &lt;link rel="shortcut icon" href="images/favi.ico" /&gt;
  &lt;link href="css/pages.css" rel="stylesheet"&gt;
  &lt;link href="css/faq.css" rel="stylesheet"&gt;
  &lt;link href="css/page-transitions.css" rel="stylesheet"&gt;
  &lt;link href="css/footer.css" rel="stylesheet"&gt;
  &lt;link href="css/responsive-mobile.css" rel="stylesheet"&gt;
  &lt;link href="css/responsive-tablet.css" rel="stylesheet"&gt;
  &lt;link href="css/responsive-1025-1500px.css" rel="stylesheet"&gt;
  &lt;link rel="stylesheet" href="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css"&gt;
  &lt;link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css"&gt;
  &lt;meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"&gt;
  &lt;script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"&gt;&lt;/script&gt;
  &lt;script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.0/jquery.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/modernizr.custom.28468.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript" src="js/page-functions.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;div id="main-image2"&gt;&lt;/div&gt;
  
  &lt;!----------------------------MOBILE NAVIGATION MENU-----------------------------------&gt;
  &lt;div class="mobile-nav-container"&gt;
  &lt;div id="main-logo-mobile"&gt;&lt;a href="/"&gt;&lt;img src="images/home.svg" width="32px" alt="3Elements Review, a literary journal based in Chicago, Illinois. This button will lead you back to the home page." border="none" id="main-logo-mobile"&gt;&lt;/a&gt;&lt;/div&gt;
  &lt;button class="open-menu"&gt;&lt;img src="images/menu-button.svg"&gt;&lt;/button&gt;
  &lt;button class="open-menu-small"&gt;&lt;img src="images/menu-button-small.svg"&gt;&lt;/button&gt;
  &lt;nav class="nav-menu"&gt;
  &lt;ul class="nav-menu"&gt;
  &lt;li class="mb-nav"&gt;&lt;a href="current-journal"&gt;CURRENT JOURNAL&lt;/a&gt;&lt;/li&gt;
  &lt;li class="mb-nav"&gt;&lt;a href="subscribe"&gt;SUBSCRIBE&lt;/a&gt;&lt;/li&gt;
  &lt;li class="mb-nav"&gt;&lt;a href="submit"&gt;SUBMIT MATERIAL&lt;/a&gt;&lt;/li&gt;
  &lt;li class="mb-nav"&gt;&lt;a href="submission-guidelines"&gt;SUBMISSION GUIDELINES&lt;/a&gt;&lt;/li&gt;
  &lt;li class="mb-nav"&gt;&lt;a href="http://3elementsreview.blogspot.com"&gt;3E BLOG&lt;/a&gt;&lt;/li&gt;
  &lt;li class="mb-nav"&gt;&lt;a href="past-journals"&gt;PAST JOURNALS&lt;/a&gt;&lt;/li&gt;
  &lt;li class="mb-nav"&gt;&lt;a href="about-3elements"&gt;ABOUT 3ELEMENTS&lt;/a&gt;&lt;/li&gt;
  &lt;li class="mb-nav"&gt;&lt;a href="the-editors"&gt;THE EDITORS&lt;/a&gt;&lt;/li&gt;
  &lt;li class="mb-nav"&gt;&lt;a href="contact"&gt;CONTACT&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/nav&gt;
  &lt;/div&gt;&lt;!----------------------MOBILE NAV CONTAINER  END-------------------------------&gt;
  
  
  &lt;h1 class="image-header"&gt;Answers to popular questions&lt;/h1&gt;
  &lt;div id="main-logo"&gt;&lt;a href="/"&gt;&lt;img src="images/logo.svg" width="100%" alt="3Elements Review, a literary journal based in Chicago, Illinois. This is our magazine's logo." border="none" id="main-logo"&gt;&lt;/a&gt;&lt;/div&gt;
  &lt;h2 class="image-sub-head"&gt;&lt;/h2&gt;
  
  &lt;nav class="container"&gt;
  &lt;ul&gt;
  &lt;li class="home-btn"&gt;&lt;a href="/"&gt;&lt;img src="images/home.svg" width="37px" alt="3Elements Review, a literary journal based in Chicago, Illinois." border="none" id="home-btn"&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="current" style="background-color:#313131;"&gt;&lt;a href="current-journal" class="current"&gt;CURRENT JOURNAL&lt;span class="sub-nav"&gt;Our latest and greatest!&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="submit" style="background-color:#404040;"&gt;&lt;a href="submit" class="current"&gt;SUBMIT&lt;span class="sub-nav"&gt;Your writing&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="guidelines" style="background-color:#505050;"&gt;&lt;a href="submission-guidelines" class="current"&gt;SUBMISSION GUIDELINES&lt;span class="sub-nav"&gt;Everything you need to know is here&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="blog" style="background-color:#4b4b4b;"&gt;&lt;a href="http://3elementsreview.blogspot.com" class="current"&gt;BLOG&lt;span class="sub-nav"&gt;Just a blog&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="past" style="background-color:#404040;"&gt;&lt;a href="past-journals" class="current"&gt;PAST JOURNALS&lt;span class="sub-nav"&gt;Browse our issue archives&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li class="about" style="background-color:#313131;"&gt;&lt;a href="about-3elements" class="current"&gt;ABOUT 3E&lt;span class="sub-nav"&gt;What we're about&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/nav&gt;
  &lt;/div&gt;&lt;!-----------------------------MAIN IMAGE  END-----------------------------------&gt;
  
  
  &lt;div id="container"&gt;&lt;!------------------------CONTAINER THAT SURROUNDS ALL CONTENT BELOW THE NAVIGATION BAR-------------------------------&gt;
  
  
  &lt;script&gt;
  $(document).ready(function() {
  $('li.answer, li.answer2, li.answer3, li.answer4, li.answer5, li.answer6, li.answer7, li.answer8, li.answer9, li.answer10, li.answer11').hide();
  });
  &lt;/script&gt;
  
  &lt;script&gt;
  $(document).ready(function() {
          $('li.plus-sign').click(function() {
          $('li.answer').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign2').click(function() {
          $('li.answer2').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign3').click(function() {
          $('li.answer3').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign4').click(function() {
          $('li.answer4').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign5').click(function() {
          $('li.answer5').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign6').click(function() {
          $('li.answer6').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign7').click(function() {
          $('li.answer7').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign8').click(function() {
          $('li.answer8').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign9').click(function() {
          $('li.answer9').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign10').click(function() {
          $('li.answer10').slideToggle('slow,easeInBounce');
  });
  });
  $(document).ready(function() {
          $('li.plus-sign11').click(function() {
          $('li.answer11').slideToggle('slow,easeInBounce');
  });
  });
  &lt;/script&gt;
  
  
  &lt;header&gt;
  &lt;h1 class="page-headline"&gt;FAQ&lt;/h1&gt;
  &lt;h2 class="sub-head"&gt;View the answers to some of our most popular questions.&lt;/h2&gt;
  &lt;/header&gt;
  
  &lt;section class="faq"&gt;
  &lt;article&gt;
  
  &lt;ul class="question"&gt;&lt;li class="plus-sign"&gt;+&lt;/li&gt;What is &lt;em&gt;3Elements Review&lt;/em&gt;?&lt;/ul&gt;
  &lt;li class="answer"&gt;We are a literary journal founded in 2013 by dedicated writers such as yourself!&lt;/li&gt;
  
  &lt;ul class="question2"&gt;&lt;li class="plus-sign2"&gt;+&lt;/li&gt;When are submissions due?&lt;/ul&gt;
  &lt;li class="answer2"&gt;December 1, March 1, June 1, and September 1, unless otherwise noted.&lt;/li&gt;
  
  &lt;ul class="question3"&gt;&lt;li class="plus-sign3"&gt;+&lt;/li&gt;How can I check the status of my submission?&lt;/ul&gt;
  &lt;li class="answer3"&gt;You can check the status of your submission by clicking &lt;a href="https://3elementsreview.submittable.com/login?ReturnUrl=%2Fuser%2Fsubmissions" style="color:#d34f00;" onMouseover="this.style.color='#ff7e00'" onMouseout="this.style.color='#d34f00'" target="_blank"&gt;here.&lt;/a&gt;&lt;/li&gt;
  
  &lt;ul class="question4"&gt;&lt;li class="plus-sign4"&gt;+&lt;/li&gt;Are there any submission or reading fees?&lt;/ul&gt;
  &lt;li class="answer4"&gt;No. We don't believe writers should have to pay to share their writing with the world.&lt;/li&gt;
  
  &lt;ul class="question5"&gt;&lt;li class="plus-sign5"&gt;+&lt;/li&gt;Is there a minimum word count for story submissions?&lt;/ul&gt;
  &lt;li class="answer5"&gt;Yes. The minimum word count is 500, the maximum word count is 3,500.&lt;/li&gt;
  
  &lt;ul class="question6"&gt;&lt;li class="plus-sign6"&gt;+&lt;/li&gt;How many pieces of literature can I submit?&lt;/ul&gt;
  &lt;li class="answer6"&gt;You're limited to three fiction pieces, and no more than five poems per submission period. Art and photography are not capped.&lt;/li&gt;
  
  &lt;ul class="question7"&gt;&lt;li class="plus-sign7"&gt;+&lt;/li&gt;Are simultaneous submissions allowed?&lt;/ul&gt;
  &lt;li class="answer7"&gt;Of course! We only ask that you withdraw your submission from &lt;em&gt;3Elements Review&lt;/em&gt; after your piece is accepted elsewhere.&lt;/li&gt;
  
  &lt;ul class="question8"&gt;&lt;li class="plus-sign8"&gt;+&lt;/li&gt;Am I required to include artwork or photography with my fiction or poetry submission?&lt;/ul&gt;
  &lt;li class="answer8"&gt;No. Artwork and photography is only required when you are submitting to those specific categories.&lt;/li&gt;
  
  &lt;ul class="question9"&gt;&lt;li class="plus-sign9"&gt;+&lt;/li&gt;Do I have to use the actual words in my story, poem, artwork or photography?&lt;/ul&gt;
  &lt;li class="answer9"&gt;Yes! This is the most important part, however, you can &lt;em&gt;use&lt;/em&gt; the elements in any way you please. Art and photography only requires the use of one out of the three elements &amp;mdash; in this case, the words do not need to be written, only depicted.&lt;/li&gt;
  
  &lt;ul class="question10"&gt;&lt;li class="plus-sign10"&gt;+&lt;/li&gt;Does &lt;em&gt;3Elements Review&lt;/em&gt; pay its writers or artists?&lt;/ul&gt;
  &lt;li class="answer10"&gt;Unfortunately, not at this time.&lt;/li&gt;
  
  &lt;ul class="question11"&gt;&lt;li class="plus-sign11"&gt;+&lt;/li&gt;What should I include in my bio?&lt;/ul&gt;
  &lt;li class="answer11"&gt;It really is up to you. We just want to know a little about your writing background. If your piece is accepted for publication, this is what readers will learn about you.&lt;/li&gt;
  &lt;/article&gt;
  
  &lt;/section&gt;
  
  
  &lt;footer class="bottom-footer"&gt;
  &lt;div id="nav-arrow"&gt;&lt;img src="images/nav-arrow.svg" width="35%"&gt;&lt;br&gt;&lt;span class="arrow-text" style="width:100px; color:#f8f4ec; font-family:myriad pro, arial, sans-serif; font-size:1.25em;"&gt;Back to top&lt;/span&gt;&lt;/div&gt;
  
  &lt;section class="footer-section"&gt;
  &lt;ul&gt;
      &lt;li&gt;&lt;a href="faq" style="color:#ff6000; text-decoration:underline;"&gt;FAQ&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="terms-of-use"&gt;TERMS&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="usage-rights"&gt;USAGE RIGHTS&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="privacy-policy"&gt;PRIVACY POLICY&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="contact"&gt;CONTACT&lt;/a&gt;&lt;/li&gt;
      &lt;li&gt;&lt;a href="the-editors"&gt;MEET THE STAFF&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  
  &lt;h3 class="subscribe-footer"&gt;&lt;a href="subscribe"&gt;Subscribe to our newsletter&lt;/a&gt;&lt;/h3&gt;
  &lt;div id="social-links-container"&gt;
  &lt;ul class="social" style="height:40px;"&gt;
  &lt;li&gt;&lt;a href="https://twitter.com/3ElementsReview" title="Follow @3ElementsReview" target="_blank"&gt;&lt;img src="images/twitter.svg" width="25%" alt="If you like our literary journal, follow 3Elements Review on Twitter" border="none"&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://www.facebook.com/pages/3Elements-Review/165239120323115" title="Like us on Facebook" target="_blank"&gt;&lt;img src="images/facebook.svg" width="25%" alt="If you find our literary journal interesting, like 3Elements Review on Facebook" border="none"&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="https://plus.google.com/102175306984563852786" rel="publisher" title="+1 our page on Google+" target="_blank"&gt;&lt;img src="images/google-plus.svg" width="25%" alt="Recommend our literary journal 3Elements Review on Google+" border="none"&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;li&gt;&lt;a href="http://www.stumbleupon.com/stumbler/3elementsreview" title="Come say hello!" target="_blank"&gt;&lt;img src="images/stumble.svg" width="25%" alt="If you like our literary journal, you can find our 3Elements Review page on StumbleUpon" border="none"&gt;&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;
  &lt;/div&gt;&lt;!---------------SOCIAL LINKS CONTAINER  END--------------------&gt;
  
  &lt;h1 class="site-design"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;copy;&amp;nbsp;&lt;script type="text/javascript"&gt;
      var dteNow = new Date();
      var intYear = dteNow.getFullYear();
      document.write(intYear);
  &lt;/script&gt; 3Elements Literary Review, Chicago, IL&amp;nbsp;&amp;nbsp;&lt;a href="http://www.marlonfowler.com" target="_blank"&gt;Site design by Marlon Fowler&lt;/a&gt;&lt;/h1&gt;
  
  &lt;/section&gt;
  &lt;/footer&gt;
  &lt;/div&gt;&lt;!------------------------CONTAINER THAT SURROUNDS ALL CONTENT BELOW THE NAVIGATION BAR  END-------------------------------&gt;
  
  
  &lt;!---------------------------------START OF GOOGLE RICH SNIPPETS DATA--------------------------------------------&gt;
  &lt;div itemprop="location"&gt;
    &lt;span itemscope itemtype="http://schema.org/Place"&gt;
      &lt;div itemprop="geo"&gt;
        &lt;span itemscope itemtype="http://schema.org/GeoCoordinates"&gt;
          &lt;span property="latitude" content="41.943681"&gt;&lt;/span&gt;
          &lt;span property="longitude" content="87.640844"&gt;&lt;/span&gt;
        &lt;/span&gt;
      &lt;/div&gt;
    &lt;/span&gt;
  &lt;/div&gt;                 
  &lt;!---------------------------------END OF GOOGLE RICH SNIPPETS DATA--------------------------------------------&gt;
  
  
  &lt;script&gt;&lt;!-------------------------------------------------CONTROLS FOOTER BUTTON THAT AUTOMATICALLY SCROLLS PAGE BACK TO THE TOP---------------------------------------&gt;
  $("#nav-arrow").click(function() {
      $('html, body').animate({scrollTop: 0}, 300);
  });
  &lt;/script&gt;
  
  &lt;script&gt;
  var sc_project=9065934; 
  var sc_invisible=1; 
  var sc_security="66a37db6"; 
  var scJsHost = (("https:" == document.location.protocol) ?
  "https://secure." : "http://www.");
  document.write("&lt;sc"+"ript type='text/javascript' src='" +
  scJsHost+
  "statcounter.com/counter/counter.js'&gt;&lt;/"+"script&gt;");
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>----------.HTACCESS FILE--------------</p>
  
  <pre><code>ErrorDocument 404 /page-not-found.php
  
  ErrorDocument 403 /access-denied.php
  
  SetEnv TZ America/Chicago
  
  IndexIgnore *
  
  Options +MultiViews
  
  &lt;FilesMatch "\.(ttf|otf|eot|woff)$"&gt;
      &lt;IfModule mod_headers.c&gt;
          Header set Access-Control-Allow-Origin "*"
      &lt;/IfModule&gt;
  &lt;/FilesMatch&gt;
  
  
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^([^\.]+)$ $1.php [NC,L]
  </code></pre>
  
  <p>It appears this answer from another thread specific to godaddy works. Not even the accepted answer, but an additional comment.</p>
  
  <p><a href="https://stackoverflow.com/questions/4687208/using-htaccess-to-make-all-html-pages-to-run-as-php-files">Using .htaccess to make all .html pages to run as .php files?</a></p>
  
  <pre><code>Options +ExecCGI
  AddType application/x-httpd-php .php .html
  AddHandler x-httpd-php5 .php .html
  </code></pre>