Forums

[resolved] Giving WP it's own directory = simple url (7 posts)

  1. ronchicago
    Member
    Posted 4 years ago #

    I have a non-wp html menu page that resides here = domain.com/home/menu.htm (there is a link on menu page that goes to wp-blog and that url = domain.com/blog/index.php

    I wish to have a simple address when on menu = domain.com (like apple.com, wordpress.com)

    I have read this = http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
    but not sure if this applies.

    note: i have complete access to shell, etc. on linux, apache, cpanel, and a good ftp client

    does anyone have a simple url on their first page?

  2. themesbycal
    Member
    Posted 4 years ago #

    Okay, I'd like to help but could you elaborate...

    1. What do you mean by menu page?

    2. What do you mean by simple url?

    thanks

  3. ronchicago
    Member
    Posted 4 years ago #

    how do i say this differently. the "menu" page is not a part of wordpress. it is a static html page on my site. it is the page you go to when you dial up domain.com

    i have it there because i don't want a blog page, complete with sidebars, etc., as the opener. the menu page is a "splash" page. there is a link to my wp blog on this page. is this better?

    a non simple url shows path and file name = domain.com/blog/index.php

    wordpress.org has a simple url, you only begin to see paths when you dip into site.

  4. ronchicago
    Member
    Posted 4 years ago #

    research on the forum suggests that mod-rewrite, in addition to making permalinks possible also is needed to accomplish what i am looking for. i haven't used mod-rewrite as of yet, it just sits there doing its thing.

    i don't know if mod-rewrite addresses my issue.

  5. ronchicago
    Member
    Posted 4 years ago #

    ok, someone knowledgeable of this at my isp - maybe - has responded, though he makes no mention of mod-rewrite here.

    ****

    In order to accomplish what you are requesting, you will need to change the document root of your domain to point to /home/blog/public_html/home/ and add the menu_1.htm as an allowed index file in the httpd.conf file or you can create a .htaccess file under the domain to allow domain indexing of this. Would you like me to add menu_1.htm in your httpd.conf file?

    ****
    this is a level or two up on my server side knowledge and i don't know if it is best practice. anyone?

  6. ronchicago
    Member
    Posted 4 years ago #

    do not mean to bump. any experience here?

    i will instruct my isp to allow a custom index file and see what happens...

    i won't mess with the htaccess suggestion as i still have updating permalink issues because i can't update my htaccess though everything seems to be working.

  7. ronchicago
    Member
    Posted 4 years ago #

    after weeks of research on htaccess, mod-rewrite, server configuration, talking to my isp who taught me how to move files via ssh, and nothing working, it came down to this...

    note: my home page = menu1.htm

    1) asked isp to make menu1.htm a default file.

    2) opened dreamweaver and on the local site i moved "menu1.htm" out of "home" and placed it where default "index.html" sits. dreamweaver asked if i wanted to update links and i said yes.

    3) uploaded "menu1.htm" to server. i changed "index.html" to "index-old.html"

    that's it. took about ten minutes.

    also this process taught me to validate this page.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags