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

  1. jenriquez
    Posted 9 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.


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

  2. Samuel B

    Posted 9 years ago #

    This should work for you:

    Read the whole page for more ideas.

  3. jenriquez
    Posted 9 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
    Posted 9 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
    Posted 9 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