Jump to content

oymediasolutions

New Members
  • Posts

    4
  • Joined

  • Last visited

Posts posted by oymediasolutions

  1. The main issue this hataccess file is causing is that, when i click on the header menu items, it redirecting me back to the home page instead of navigating to the page i click on.

    http://jeevanjyothitrust.org ( only the aboutus page is opening as i can see that page aboutus.php is mentioned on the htaccess file)

  2. Thank you @MadTechie and @requinix for responding. 

    Here are few points i like to mentions:

    1. The domain is an addon domain, but the site is not a Wordpress site.

    2. I am editing the .htacess file in cpannel using the c-pannel editor.

    3. To be sure i completely removed the addon domain and again added it, But as soon as the addon domain folder gets created, even the htaccess file is getting created automatically (not yet added the website content).

    4. My original website content doesn't have htaccess file.

    5. I even changed the permission of the file but still has not effect.

  3. Hi,

    I have the htaccess file with the below details in it.

    <FilesMatch ".(py|exe|php)$">
     Order allow,deny
     Deny from all
    </FilesMatch>
    <FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php)$">
     Order allow,deny
     Allow from all
    </FilesMatch>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

     

    And when i modify the file and save it, i get the the message "successfully saved". But when i refresh the page , again the file loads the old content as before.

    I dont know the reason, and additionally when i delete the file, it automatically reappears. ( this is not a wordpress website)

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.