• hello everyone,i have a currently working wp site.. i need to know how to access a page inside my .com but not related to the wp itself…

    what i mean is i want to access a “custom page” ( this page wont have any wp related stuff in it just a plain html or php with hello world in it ) so lets say wwww.mysitename.com/myhelloworld.html page, i try it like that but i get a 404 error page not found,,, the page is uploaded into the server and i am using correct name and everything, since it is a page i made outside the wp environment it does not appear in the “Pages” Section of the wp-admin, can someone provide a work around for this ?

    i want to do it like that because i need a completely blank page with no wp in it, in my .com

    also, i currently have a copy of my site working on wamp, locally, and im able to do myipaddress/mywebsite/myurl.php and i can access it correctly

Viewing 8 replies - 1 through 8 (of 8 total)
  • It usually is rather complicated to have .html pages outside your WordPress installation.

    Another approach would be to have the page within WordPress, and then hide everything via CSS within a child theme or within a custom CSS plugin

    On the server side make sure that the page has the “644” permission. Or if the page is just newly created then wait until servers propagate another update on your page or domain.

    Thread Starter nonaxanon

    (@nonaxanon)

    On the server side make sure that the page has the “644” permission. Or if the page is just newly created then wait until servers propagate another update on your page or domain.

    totally lost there mate,i did wait 24 hours, still cant get into page but dunno anything about permission 644

    …..edit #3 , figured out file permission duhh, trying it now

    Thread Starter nonaxanon

    (@nonaxanon)

    got the 644, but page wont display, so end up in making a child theme with nothing from the parent and use my own css ?

    I’m lost too with regard lordzden comment, and I almost know what I’m doing ;|

    By default, WordPress simply does not let you “get into” .html pages outside the WordPress installation. Like I wrote above, it’s complicated to make happen.

    You want a totally blank page?, I wouldn’t know why but it’s no matter.

    1. Make a new page in WordPress
    2. Note the page ID (hover over it’s edit link and see the number at the end of the line in the browser status bar) For example let’s say the ID is 321
    3. Install one of the custom css plugins noted above
    4. try the following css in the plugin
    body.page-id-321{display:none;}

    You want it to have html code ? … Put following code in the WordPress text editor for the page:

    <div class="display-me">
    <p>Hello World!</p>
    </div>

    then use the following custom css in the plugin:

    body.page-id-321 {display:none;}
    body.page-id-321 .display-me {display:block;}
    Thread Starter nonaxanon

    (@nonaxanon)

    what he was saying above is the file permission you have when right click on the FTP file in ur FTP client, i set it at 644 but still no go..

    @st. Even i see your approach, and might up ending doing just that, the thing is im being lazy, and ive got an already made page working, i thought i could just do mysite.com/mypage.html or php ( whatever it is ) turns out its not possible. ty for your help, i ll look into this matter in a few hours and report back

    Here’s the other possibility

    Redirection plugin basically just creates .htaccess rules, I think. The complicated bit I mentioned above is to write the .htaccess yourself. IOW, Force apache to serve the request without passing it to WordPress.

    Thread Starter nonaxanon

    (@nonaxanon)

    @st.Even, man i owe you 6 beers

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘problem with a page’ is closed to new replies.