• Resolved kevyntd

    (@kevyntd)


    Hi!

    I’m doing a project and I need to put an HTML page that pulls JavaScript and CSS into it. I have access to FTP, but when I put the page inside I can not access the page because of permalinks.
    How can I put an HTML page within my server and find that page working later?

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    What server are you using btw?

    Try creating a new folder and .htaccess

    Thread Starter kevyntd

    (@kevyntd)

    As I needed it for tomorrow I started researching how to change the .htaccess, and found the answer after much wandering, we locate where the .htacess first, and as I was using BitNami, the .htacess was in a different place. But I could find!
    So I had to find this:

    <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 put this code before:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} ^/REPLACE WITH SUB DIRECTORY NAME/(.*)$ [OR]
    RewriteCond %{REQUEST_URI} ^/REPLACE WITH SECOND SUBDIRECTORY NAME/(.*)$ [OR]
    RewriteRule ^.*$ - [L]
    </IfModule>

    And problems solved!
    Let this topic in the right place, I looked at many, many places here, but none gave me the answer I needed!

    Answer found here:
    https://stackoverflow.com/questions/5754548/non-wordpress-files-in-wordpress-installation-directory

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘New Page HTML’ is closed to new replies.