Forums

File URL is all wrong has added folder? (13 posts)

  1. trool
    Member
    Posted 5 months ago #

    the file name is 'family'.. it is in a wedding reception invite.. supposed to go to the /family page..
    through my mistake the actual address is in this directory '/wordpress/family/' so when accessed the page not found message is all they get..

    I tried to put a family.php file in the wordpress directory but that does not work..they still get the page not found error message; its too late to rescind the invite.. and they all need to RSVP...
    OMG.. I need help! ( I am the mother of the groom so this looks really bad - LOL)

    any suggestions would be welcome!

  2. Rev. Voodoo
    Volunteer Moderator
    Posted 5 months ago #

    do you have another website runnign at domain.com which requires you to have wordpress running in the /wordpress directory?

    or are you trying to move WP to run from root (domain.com), to get rid of the /wordpress directory?

    If you are just trying to get rid of the /wordpress, follow either of these directions
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory#Using_a_pre-existing_subdirectory_install

    http://codex.wordpress.org/Moving_WordPress

    You can either leave WP mostly in /wordpress, and run it from domain.com, or move everything to domain.com (root)

    Either way will get rid of /wordpress

  3. trool
    Member
    Posted 5 months ago #

    thanks but the issue is I need the /wordpress to show up for only that one file.. '/family'
    the wordpress runs in the /wordpress directory but the site is root..
    when I added the link in the invite..I made an error.. and din;t see it.. all the invites are out there.. so I need the 'domain.com/wordpress/family'
    to link to the 'domain.com/family' (actual file location)I don't know how to make the file show up as 'domain.com/wordpress/family'

    can you suggest a workaround.. and thanks

  4. trool
    Member
    Posted 5 months ago #

    all files are root.. the problem is the link in the invite only.. cannot resend invite.. so need to make it work somehow... is there a way to make a redirect?

  5. Rev. Voodoo
    Volunteer Moderator
    Posted 5 months ago #

    when you say file.... I'm not sure what that means. Is family a page?

    If so, could you make a new page called wordpress, and then make the family page a child of wordpress?

    I believe that would make the url domain.com/wordpress/family

  6. trool
    Member
    Posted 5 months ago #

    I actually tried that but it changed the page name.. 'wordpress' to a number..
    first time I'd seen it change a page name and yes I meant a page.. sorry I am a designer from way back.. dreamweaver wordpress is so not the same..

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 5 months ago #

    it changes it to just a number, or to wordpress1?
    If it's adding a number to the end of wordpress, do you have another page in your trash with the name wordpress?

    If that won't work, maybe...
    http://wordpress.org/extend/plugins/redirection/

    or

    RewriteEngine On
    
    RewriteCond %{QUERY_STRING}  ^$
    RewriteRule ^wordpress/family$ /family? [R=301,NE,NC,L]

    in your .htaccess before the wordpress stuff in there?

  8. fmsink
    Member
    Posted 5 months ago #

    Problem with my URLs for links to portfolio categories.

    Portfolio URL: http://platinumimageworks.com/portfolio-3/
    then, click an image

    After clicking an image -- error URL: http://platinumimageworks.com/wordpress1/portfolio-3/scenic/

    I just launched the site on the root (with files in a folder named wordpress1).

    All other files are working except this page where I supplied an absolute link from each image in the portfolio to a specific category. I cannot locate where the link is embedded.

  9. trool
    Member
    Posted 5 months ago #

    it changes to a number only

  10. Rev. Voodoo
    Volunteer Moderator
    Posted 5 months ago #

    OK, I have no idea what is going on there... maybe because of the wordpress folder thing.

    Thos other 2 options I listed are all I can think of... trying some sort of redirect

  11. fmsink
    Member
    Posted 5 months ago #

    What do you mean, it changes to a number only

  12. fmsink
    Member
    Posted 5 months ago #

    The RewriteCond code above does not change a thing.

    NOTE: my post is a slightly different issue than first posted by trool

  13. fmsink
    Member
    Posted 5 months ago #

    The plugin Redirection does not work either. So will it work if I moved all the files into the root?

Reply

You must log in to post.

About this Topic