• Resolved jab-creations

    (@jab-creations)


    I’ve already had a different blog for years now and I’d like to rename the WordPress index.php file when I move the blog to a different directory to the file name of existing blog’s file name. I can not have the blog use the file name index.php as that is the frame for my site’s music player as well. I have been in the control panel –> settings though I’m not sure of what I exactly need to do?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Can I make a slightly different suggestion?

    instead of renaming index.php and potentially causing lots of trickle-down errors… why not just use .htaccess to specify a different default file for your blog folder?

    in a new .htaccess file in that folder, or in the one created by wordpress put:

    DirectoryIndex frames.php

    That way, when you load yoursite.com/folder/ the file frames.php will be used instead of index.php, to load your framesets.

    This also lets you change your mind about frames down the track, with minimal effort… and without causing 404s from google links.

    Thread Starter jab-creations

    (@jab-creations)

    Changing a URL is BAD!

    Let me set the record straight: WordPress is a third party module, not a container. It is only being used as part of my site, not as my site.

    Off topic!

    ok, what the hell are you rambling on about?

    presumably the URL to your frameset is yoursite.com/blog/

    you would never have a link somewhere to yoursite.com/blog/index.php, right? If you do, then that’s really your own fault.

    changing the default page to another filename doesn’t change yoursite.com/blog/ which is the link you should be using everywhere to load your framesets.

    Let ME set the record straight.

    when you enter the URL yoursite.com/blog/ whether it loads index.php or yomomma.php behind the scenes doesn’t make a difference to anyone.

    Thread Starter jab-creations

    (@jab-creations)

    You just don’t comprehend SEO otherwise you’d actually be trying to help me instead of telling me to do things that are counter-productive to my goal.

    Existing Blog…
    .com/path/file-news.php

    Existing Frame
    .com/path/

    After I changed the blog address the only problem I have now is that there is a trailing slash automatically being inserted.

    Existing Blog…
    .com/path/file-news.php

    WordPress Blog…
    .com/path/file-news.php/

    How do I stop WordPress from adding a trailing slash?

    Thread Starter jab-creations

    (@jab-creations)

    Forget it, manually added catenations! It would have made too much sense to add a function to opt in to a trailing slash or opt out. So much for module grace.

    Thread Starter jab-creations

    (@jab-creations)

    Marking Resolved: This bug requires a hack!

    This bug should be marked as a high priority as new versions of WordPress are released fairly frequently.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Change WordPress file from index.php to blog.php?’ is closed to new replies.