WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blog Address and "ugly" permalinks (5 posts)

  1. jenriquez
    Member
    Posted 7 years ago #

    Hi everyone,

    This is a problem that I haven't been able to find an answer to. I have wordpress set up in john.lazernetwork.com/wordpress/ but I set the actual blog to john.lazernetwork.com/blog.php. Because I don't have .htaccess support (yet), I'm stuck to using the "ugly" style permalinks (i.e. ?p=123). Also, I'm coding independently of the themes.

    This set up works, in a way. The blog loads and the content loads, but the css link gets broken, or more directly, the styles don't load. What am I doing wrong?

    Also, is there a way to use permalinks without .htaccess? My server is on a Mac.

    Thanks,
    John

    P.S. Here's the link. Click on the previous/next link at the bottom to see what I mean.

  2. Samuel B
    moderator
    Posted 7 years ago #

    This should work for you:
    http://codex.wordpress.org/Using_Permalinks#Using_Permalinks_Without_mod_rewrite

    Read the whole page for more ideas.

  3. jenriquez
    Member
    Posted 7 years ago #

    Thanks, samboll, but I've tried that and it only works on Windows.

    Update: I was able to fix the css by linking it to an absolute url. I'm satisfied for now, but is there another way I could do this?

  4. moshu
    Member
    Posted 7 years ago #

    Many things will not work ever if you use a file with a different name than index. Why do you need WP in a directory called "sordpress" and then a file called "blog.php"?
    Wouldn't your life be simpler by renaming the wordpress directory to blog?

  5. jenriquez
    Member
    Posted 7 years ago #

    @moshu: just in case I ever need to create another file, like a second blog or a content switch, then the blog will still be the same but the file calling the functions will be different. it's a matter of consistency within my website structure.

    update 2: because i have no htaccess, the css is calling up a file in the wrong directory. I can get this fixed soon.

Topic Closed

This topic has been closed to new replies.

About this Topic